gecko/gfx/layers/d3d9
Tor Arvid Lund 471e8c6b58 Bug 948765 - Simplify (and fix issue) with CanvasLayerD3D9. r=nical
There seemed to be some duplication of code in the UpdateSurface method,
as well as an issue with updating that caused some reftests to fail.

In this patch, I remove the mSurface member variable from
CanvasLayerD3D9.h, and instead call mDrawTarget->Snapshot() as needed.

I also reuse the code to draw into the D3DLOCKED_RECT so that we don't
duplicate that portion anymore. It seems now to be more similar to the way
CanvasLayerD3D10 works.

The reftests now pass.
2014-02-12 10:07:47 -05:00
..
CanvasLayerD3D9.cpp Bug 948765 - Simplify (and fix issue) with CanvasLayerD3D9. r=nical 2014-02-12 10:07:47 -05:00
CanvasLayerD3D9.h Bug 948765 - Simplify (and fix issue) with CanvasLayerD3D9. r=nical 2014-02-12 10:07:47 -05:00
ColorLayerD3D9.cpp Bug 952977: Convert GetEffectiveTransform to gfx::Matrix4x4 r=nical 2014-01-24 17:49:19 -08:00
ColorLayerD3D9.h Bug 784739 - Switch from NULL to nullptr in gfx/layers/d3d9/; r=ehsan 2013-07-20 11:48:55 +03:00
CompositorD3D9.cpp Bug 957560 - Fix some issues with CairoTextureClientD3D9 and DataTextureSourceD3D. r=Bas 2014-02-11 17:13:14 +01:00
CompositorD3D9.h Bug 963821 - Port FPS counter to the Compositor API. r=bas 2014-02-10 17:14:11 -05:00
ContainerLayerD3D9.cpp Bug 952977: Perform some cleanup r=nical 2014-01-27 15:25:19 -05:00
ContainerLayerD3D9.h Bug 952977: Convert ComputeEffectiveTransforms to gfx::Matrix4x4 r=nical 2014-01-27 10:28:04 -05:00
DeviceManagerD3D9.cpp Bug 952977: Perform some cleanup r=nical 2014-01-27 15:25:19 -05:00
DeviceManagerD3D9.h Bug 944087. Missing comment change addressing reviewer comment. r=Bas DONTBUILD (comment only) 2014-01-28 21:44:15 +13:00
genshaders.sh
ImageLayerD3D9.cpp Bug 962784 - Convert ImageTypes.h to typed enums - r=jrmuizel 2014-01-30 17:58:49 -05:00
ImageLayerD3D9.h Bug 950677 - Change gfxIntSize to gfx::IntSize in DirectX files. r=nical 2013-12-20 11:46:29 -05:00
LayerManagerD3D9.cpp Bug 952977: Convert ComputeEffectiveTransforms to gfx::Matrix4x4 r=nical 2014-01-27 10:28:04 -05:00
LayerManagerD3D9.h Bug 944087. Fix main thread unlocking and tidy up. r=Bas 2014-01-27 17:10:40 +13:00
LayerManagerD3D9Shaders.h Bug 940959 - Compiled shaders. r=generated code 2013-11-21 17:42:10 +01:00
LayerManagerD3D9Shaders.hlsl Bug 940959 - Use alpha textures for YCbCr planes with D3D9. r=nrc 2013-11-21 17:40:55 +01:00
Nv3DVUtils.cpp Bug 784739 - Switch from NULL to nullptr in gfx/layers/d3d9/; r=ehsan 2013-07-20 11:48:55 +03:00
Nv3DVUtils.h
ReadbackLayerD3D9.h Bug 784739 - Switch from NULL to nullptr in gfx/layers/d3d9/; r=ehsan 2013-07-20 11:48:55 +03:00
TextureD3D9.cpp Bug 957560 - Fix some issues with CairoTextureClientD3D9 and DataTextureSourceD3D. r=Bas 2014-02-11 17:13:14 +01:00
TextureD3D9.h Bug 965096 - Use image surfaces for ARGB content with non-deprecated textures. r=BenWa 2014-02-07 14:30:01 +01:00
ThebesLayerD3D9.cpp Bug 959448 - Convert most of LayersTypes.h to typed enums - r=nrc 2014-01-23 13:26:41 -05:00
ThebesLayerD3D9.h Bug 959448 - Convert most of LayersTypes.h to typed enums - r=nrc 2014-01-23 13:26:41 -05:00