mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 01:08:39 +09:00
Issue #80- De-unify gfx/layers
Excludes layers/ipc/CompositorBridgeParent and CrossProcessCompositorBridgeParent because the latter purposely uses functions implemented in the former. See also code comment in CrossProcessCompositorBridgeParent.cpp Note: likely dead code for us anyway; likely not worth investing in to solve.
This commit is contained in:
parent
cdd925c155
commit
b8d9e7b8c0
15 changed files with 61 additions and 29 deletions
|
|
@ -13,6 +13,8 @@
|
|||
#include "mozilla/layers/TextureClient.h"
|
||||
#include "d3d9.h"
|
||||
|
||||
using namespace mozilla::gfx;
|
||||
|
||||
namespace mozilla {
|
||||
namespace layers {
|
||||
|
||||
|
|
@ -67,10 +69,10 @@ struct AutoLockTexture
|
|||
static already_AddRefed<IDirect3DTexture9>
|
||||
InitTextures(IDirect3DDevice9* aDevice,
|
||||
const IntSize &aSize,
|
||||
_D3DFORMAT aFormat,
|
||||
RefPtr<IDirect3DSurface9>& aSurface,
|
||||
HANDLE& aHandle,
|
||||
D3DLOCKED_RECT& aLockedRect)
|
||||
_D3DFORMAT aFormat,
|
||||
RefPtr<IDirect3DSurface9>& aSurface,
|
||||
HANDLE& aHandle,
|
||||
D3DLOCKED_RECT& aLockedRect)
|
||||
{
|
||||
if (!aDevice) {
|
||||
return nullptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue