gecko/gfx/layers
Tor Arvid Lund b1c632ce74 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
..
basic Bug 948765 - Implement BasicImageLayer::Paint. r=nical 2014-02-12 10:07:47 -05:00
client Bug 948765 - Port CopyableCanvasLayer to Moz2D. r=nical 2014-02-12 10:07:46 -05:00
composite Bug 963821 - Port FPS counter to the Compositor API. r=bas 2014-02-10 17:14:11 -05:00
d3d9 Bug 948765 - Simplify (and fix issue) with CanvasLayerD3D9. r=nical 2014-02-12 10:07:47 -05:00
d3d10 Bug 948765 - Port CopyableCanvasLayer to Moz2D. r=nical 2014-02-12 10:07:46 -05:00
d3d11 Bug 957560 - Fix some issues with CairoTextureClientD3D9 and DataTextureSourceD3D. r=Bas 2014-02-11 17:13:14 +01:00
ipc Bug 970070 - Update the last-dispatched-paint metrics when we get a scroll update from layout. r=botond 2014-02-12 09:04:38 -05:00
opengl Bug 963821 - Port FPS counter to the Compositor API. r=bas 2014-02-10 17:14:11 -05:00
AtomicRefCountedWithFinalize.h Bug 897452 - Part 15 - Introduce a AtomicRefCountedWithFinalize class to factor our custom-refcounting needs - r=nical 2013-12-11 20:45:11 -05:00
BufferUnrotate.cpp Bug 929439 - Include string.h for memcpy. r=bgirard 2013-10-23 16:39:00 +01:00
BufferUnrotate.h Backed out changeset 6150269410b2 (bug 921212) for bustage on a CLOSED TREE. 2013-10-18 10:21:38 -04:00
Compositor.cpp Bug 959448 - Convert most of LayersTypes.h to typed enums - r=nrc 2014-01-23 13:26:41 -05:00
Compositor.h Bug 963821 - Port FPS counter to the Compositor API. r=bas 2014-02-10 17:14:11 -05:00
CompositorTypes.h Bug 959448 - Convert most of LayersTypes.h to typed enums - r=nrc 2014-01-23 13:26:41 -05:00
CopyableCanvasLayer.cpp Bug 948765 - Port CopyableCanvasLayer to Moz2D. r=nical 2014-02-12 10:07:46 -05:00
CopyableCanvasLayer.h Bug 948765 - Port CopyableCanvasLayer to Moz2D. r=nical 2014-02-12 10:07:46 -05:00
D3D9SurfaceImage.cpp Bug 961715 - Implement D3D9SurfaceImage::GetAsSourceSurface. r=nical 2014-01-28 09:14:10 -05:00
D3D9SurfaceImage.h Bug 962784 - Convert ImageTypes.h to typed enums - r=jrmuizel 2014-01-30 17:58:49 -05:00
DirectedGraph.h
Effects.cpp Bug 936511 - Add layers.dump to dump layer tree. r=bas,nrc 2013-11-17 16:47:40 -05:00
Effects.h Bug 958375 - 8/9 - Make remaining Moz2D enums typed - r=Bas 2014-01-10 14:06:17 -05:00
FrameMetrics.h Bug 963278 - Better fix to deal with concurrent scroll updates from APZ and other places. r=tn,botond,jimm 2014-02-05 17:43:20 -05:00
genTables.py Bug 948765 - Add a LayerUtils file in gfx/layers. r=nical 2014-02-12 10:07:46 -05:00
GrallocImages.cpp Bug 962784 - Convert ImageTypes.h to typed enums - r=jrmuizel 2014-01-30 17:58:49 -05:00
GrallocImages.h Bug 961713 - Implement GrallocImage::GetAsSourceSurface. r=nical 2014-01-28 09:13:58 -05:00
ImageContainer.cpp Bug 964442 - Make CreateImage just take a plain format parameter - r=jrmuizel 2014-01-30 17:58:51 -05:00
ImageContainer.h Bug 964442 - Make CreateImage just take a plain format parameter - r=jrmuizel 2014-01-30 17:58:51 -05:00
ImageDataSerializer.cpp Bug 938970 - 5/5. Switch gfx/layers to UNIFIED_SOURCES - r=ehsan,mattwoodrow 2013-11-17 21:07:08 -05:00
ImageDataSerializer.h Bug 938591 - Use texture flags in DataTextureSource + D3D9/11 fixes. r=nrc 2014-01-07 17:20:11 +01:00
ImageLayers.cpp Bug 952977: Perform some cleanup r=nical 2014-01-27 15:25:19 -05:00
ImageLayers.h Bug 952977: Convert ComputeEffectiveTransforms to gfx::Matrix4x4 r=nical 2014-01-27 10:28:04 -05:00
ImageTypes.h Bug 962784 - Convert ImageTypes.h to typed enums - r=jrmuizel 2014-01-30 17:58:49 -05:00
Layers.cpp Bug 948765 - Port CopyableCanvasLayer to Moz2D. r=nical 2014-02-12 10:07:46 -05:00
Layers.h Bug 948765 - Port CopyableCanvasLayer to Moz2D. r=nical 2014-02-12 10:07:46 -05:00
LayerScope.cpp Bug 959114 - Remove websockify dependency from LayerScope. r=vlad, r=cku 2014-02-10 08:45:15 -05:00
LayerScope.h Bug 830881 - Port layerscope GL changes to new layers. r=vlad 2013-11-29 14:11:49 +10:00
LayersLogging.cpp Bug 952977: Perform some cleanup r=nical 2014-01-27 15:25:19 -05:00
LayersLogging.h Bug 921753 - Part 2: Move GraphicsFilters outside of gfxPattern.h so that we won't need to #include that header everywhere GraphicsFilter is needed; r=roc 2013-10-01 17:01:19 -04:00
LayerSorter.cpp Bug 952977: Convert GetTransform to gfx::Matrix4x4 r=nical 2014-01-27 10:28:47 -05:00
LayerSorter.h
LayersTypes.h Bug 959448 - Convert most of LayersTypes.h to typed enums - r=nrc 2014-01-23 13:26:41 -05:00
LayerTreeInvalidation.cpp Bug 966679 - Make LayerProperties aware of RefLayers. r=roc 2014-02-11 17:00:46 +13:00
LayerTreeInvalidation.h
LayerUtils.cpp Bug 948765 - Add a LayerUtils file in gfx/layers. r=nical 2014-02-12 10:07:46 -05:00
LayerUtils.h Bug 948765 - Add a LayerUtils file in gfx/layers. r=nical 2014-02-12 10:07:46 -05:00
MacIOSurfaceImage.cpp Bug 963491 - Implement MacIOSurface::GetAsSourceSurface. r=nical 2014-01-27 08:25:50 -05:00
MacIOSurfaceImage.h Bug 962784 - Convert ImageTypes.h to typed enums - r=jrmuizel 2014-01-30 17:58:49 -05:00
Makefile.in Bug 948765 - Add a LayerUtils file in gfx/layers. r=nical 2014-02-12 10:07:46 -05:00
moz.build Bug 948765 - Add a LayerUtils file in gfx/layers. r=nical 2014-02-12 10:07:46 -05:00
ReadbackLayer.h Bug 952977: Convert GetLocalTransform to gfx::Matrix4x4 r=nical 2014-01-27 10:28:18 -05:00
ReadbackProcessor.cpp Bug 952977: Convert CompositingRenderTargetOGL to gfx::Matrix4x4 r=nical 2014-01-27 15:25:21 -05:00
ReadbackProcessor.h
RenderTrace.cpp
RenderTrace.h
RotatedBuffer.cpp Backed out changeset 68de70a3d9f8 (bug 969591) for assertions. 2014-02-10 11:04:20 -05:00
RotatedBuffer.h Bug 959781. Ensure we are using the correct content type in BeginPaint and BorrowDrawTargetForPainting. r=mattwoodrow 2014-01-30 22:39:11 +13:00
SharedTextureImage.h Bug 962784 - Convert ImageTypes.h to typed enums - r=jrmuizel 2014-01-30 17:58:49 -05:00
TiledLayerBuffer.h bug 887819 - Investigate using the tiled layers backend, create pref to enable tiles r=BenWa 2013-09-10 14:21:37 -04:00
YCbCrImageDataSerializer.cpp Bug 966679 - Use correct texture format when coverting YCbCr image data back into an image surface. r=nical 2014-02-10 15:24:28 +13:00
YCbCrImageDataSerializer.h Bug 952769 - Add explicit strides to YCbCrImageDataSerializer. r=nical 2014-01-02 10:50:14 -05:00