diff options
author | Moonchild <moonchild@palemoon.org> | 2020-05-15 11:04:41 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-05-20 13:55:50 +0000 |
commit | 3e82ac05b113eee4a08510600dd02c7c695f0b88 (patch) | |
tree | 59e64d3a3f595ef284818bbf7c708260e929f799 /gfx/layers/IMFYCbCrImage.cpp | |
parent | 3ab7bd811f8f901806e51c046b6f032c260dc64a (diff) | |
download | UXP-3e82ac05b113eee4a08510600dd02c7c695f0b88.tar UXP-3e82ac05b113eee4a08510600dd02c7c695f0b88.tar.gz UXP-3e82ac05b113eee4a08510600dd02c7c695f0b88.tar.lz UXP-3e82ac05b113eee4a08510600dd02c7c695f0b88.tar.xz UXP-3e82ac05b113eee4a08510600dd02c7c695f0b88.zip |
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.
Diffstat (limited to 'gfx/layers/IMFYCbCrImage.cpp')
-rw-r--r-- | gfx/layers/IMFYCbCrImage.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gfx/layers/IMFYCbCrImage.cpp b/gfx/layers/IMFYCbCrImage.cpp index d5943b030..6740fdbe0 100644 --- a/gfx/layers/IMFYCbCrImage.cpp +++ b/gfx/layers/IMFYCbCrImage.cpp @@ -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; |