gecko-dev/gfx/layers
Glenn Watson 31585fc1e6 Bug 1608717 - Support per-tile clip (valid) region for native compositor implementations. r=sotaro,mstange
For Draw (non-native) and CA modes, we include the per-tile
valid rect in the clip rect from the surface.

For DC (non-virtual) mode, a per-tile clip rect is set on the
visual for each tile, separate from the overall clip rect that
is set on the surface visual.

For DC (virtual) mode, the Trim API is used to remove pixels
in the virtual tile area that are outside the valid / clipped
region.

Note: Although the valid rect is now applied in the native
compositors, it's currently only based on the overall picture
cache bounding rect. Thus, with this patch there isn't any
noticeable performance improvement. Once this lands and is
working correctly, the follow up patch to calculate a smaller
valid region per-tile is a small amount of work.

Differential Revision: https://phabricator.services.mozilla.com/D61424

--HG--
extra : moz-landing-system : lando
2020-02-12 04:27:15 +00:00
..
apz Bug 1599795 - Rename BrowserChild::GetRemoteDocumentRect to GetTopLevelViewportVisibleRectInBrowserCoords. r=emilio 2020-02-11 03:35:56 +00:00
basic Bug 1605934 - Use nested namespaces r=sg 2020-01-18 13:48:34 +00:00
client Bug 1609996 - Remove mozilla::Swap in favor of std::swap. r=froydnj 2020-01-20 16:17:06 +00:00
composite Bug 1605777 - Clear WrappingTextureSourceYCbCrBasic::mTexture correctly r=nical 2020-01-23 11:11:46 +00:00
d3d11 Bug 1612665 - Backout Bug 1596630 r=nical 2020-02-05 09:39:28 +00:00
ipc Backed out changeset a91870b97f09 (bug 1611886) for xpcshell failures at test_browserid_identity.js. CLOSED TREE 2020-02-11 09:03:03 +02:00
layerviewer Bug 1596911 - Add missing license headers on the new managed extensions r=Gijs,MattN 2019-11-26 15:00:00 +00:00
mlgpu Bug 1573710 - Trigger composite after SetParent() r=Gankro 2019-11-01 11:01:34 +00:00
opengl Bug 1613358 [Wayland] Implement WaylandDMABUFSurfaceImage dmabuf image, r=sotaro 2020-02-06 15:15:02 +00:00
protobuf
wr Bug 1613143. Don't allow an empty transaction to succeed with webrender if we haven't sent a display list to the parent. r=mattwoodrow 2020-02-12 01:40:51 +00:00
AnimationHelper.cpp Bug 1613490 - Cleanup usage of ReferenceBox. r=miko 2020-02-07 13:34:42 +00:00
AnimationHelper.h Bug 1591629 - Split TransformData into 2 parts - transform data and motion path data. r=hiro 2020-01-08 09:02:36 +00:00
AnimationInfo.cpp Bug 1610388 - Remove nsAutoPtr usage from gfx/. r=mattwoodrow 2020-01-21 01:25:28 +00:00
AnimationInfo.h Bug 1610388 - Remove nsAutoPtr usage from gfx/. r=mattwoodrow 2020-01-21 01:25:28 +00:00
AsyncCanvasRenderer.cpp Bug 1477756 - Initial out-of-process WebGL implementation. r=mccr8,handyman 2020-01-08 22:19:14 +00:00
AsyncCanvasRenderer.h Bug 1598998 - Fix CanvasContextType::ImageBitmap handling r=nical 2020-01-08 01:12:50 +00:00
AtomicRefCountedWithFinalize.h
AxisPhysicsModel.cpp Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
AxisPhysicsModel.h Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
AxisPhysicsMSDModel.cpp Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
AxisPhysicsMSDModel.h Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
BSPTree.cpp
BSPTree.h Bug 1609996 - Reorder some includes affected by the previous patches. r=froydnj 2020-01-20 16:19:48 +00:00
BufferTexture.cpp Bug 1609996 - Reorder some includes affected by the previous patches. r=froydnj 2020-01-20 16:19:48 +00:00
BufferTexture.h Bug 1600595: Part 2 - Change BufferTexture to allow any IShmemAllocator owner r=mattwoodrow 2020-01-04 19:35:38 +00:00
CanvasDrawEventRecorder.cpp Bug 1585073: In CanvasEventRingBuffer, check stream is good before waiting for space or data. r=jrmuizel 2019-10-31 13:44:32 +00:00
CanvasDrawEventRecorder.h Bug 1570358: Check validity of enums before playing back Moz2D RecordedEvents. r=jrmuizel 2019-08-05 13:08:30 +00:00
CanvasRenderer.cpp Bug 1477756 - Initial out-of-process WebGL implementation. r=mccr8,handyman 2020-01-08 22:19:14 +00:00
CanvasRenderer.h Bug 1477756 - Initial out-of-process WebGL implementation. r=mccr8,handyman 2020-01-08 22:19:14 +00:00
CanvasTranslator.cpp Bug 1582372 Part 1: Ensure recorded texture SurfaceDescriptor is not in map for compositor when texture dies. r=mattwoodrow 2019-10-22 20:52:51 +00:00
CanvasTranslator.h Bug 1575874 - Fix ESlint failure a=me on a CLOSED TREE 2019-09-10 14:14:20 +03:00
CompositionRecorder.cpp Bug 1581240 - Return collected frames from the composition recorder as data URIs r=mstange 2019-11-07 22:34:37 +00:00
CompositionRecorder.h Bug 1581240 - Return collected frames from the composition recorder as data URIs r=mstange 2019-11-07 22:34:37 +00:00
Compositor.cpp Bug 1574745 - Move ShouldRecordFrames() from BasicCompositor to Compositor because CompositorOGL will need it. r=mattwoodrow 2019-08-30 19:52:15 +00:00
Compositor.h Bug 1592044 - Reduce the frequency of IOSurface and framebuffer creation and destruction with the help of a surface pool. r=jgilbert 2019-12-18 21:01:51 +00:00
CompositorTypes.h Bug 1570879 - Fix high contrast theme handling with DirectComposition and WebRender r=nical 2019-10-08 10:07:47 +00:00
CopyableCanvasRenderer.cpp Bug 1477756 - Initial out-of-process WebGL implementation. r=mccr8,handyman 2020-01-08 22:19:14 +00:00
CopyableCanvasRenderer.h Bug 1477756 - Initial out-of-process WebGL implementation. r=mccr8,handyman 2020-01-08 22:19:14 +00:00
D3D9SurfaceImage.cpp Bug 1543359 - P7. Plumb YUV Color Range info in Windows' Image types. r=mattwoodrow 2019-07-26 08:45:30 +00:00
D3D9SurfaceImage.h Bug 1557257 - Rename KnowsCompositor* aForwarder to aKnowsCompositor r=nical 2019-06-07 12:27:05 +00:00
D3D11ShareHandleImage.cpp Bug 1600595: Part 4 - Make D3D11ShareHandleImage use CreateBGRA8DataSourceSurfaceForD3D11Texture r=mattwoodrow 2020-01-04 19:37:01 +00:00
D3D11ShareHandleImage.h Bug 1543359 - P7. Plumb YUV Color Range info in Windows' Image types. r=mattwoodrow 2019-07-26 08:45:30 +00:00
D3D11YCbCrImage.cpp Bug 1543359 - P7. Plumb YUV Color Range info in Windows' Image types. r=mattwoodrow 2019-07-26 08:45:30 +00:00
D3D11YCbCrImage.h Bug 1543359 - P7. Plumb YUV Color Range info in Windows' Image types. r=mattwoodrow 2019-07-26 08:45:30 +00:00
DirectedGraph.h
DirectionUtils.h
Effects.cpp
Effects.h Bug 1543359 - P9. Add YUV range information to NV12Effect and YCbCrEffect. r=mattwoodrow 2019-07-26 08:45:26 +00:00
FrameMetrics.cpp Bug 1602421 - Remove some useless includes. r=jfkthame 2019-12-09 14:53:50 +00:00
FrameMetrics.h Bug 1602421 - Remove some useless includes. r=jfkthame 2019-12-09 14:53:50 +00:00
GLImages.cpp Bug 1538969 - Report an opaque surface format for AndroidSurfaceTextureData when it's being used for an opaque video. r=jya 2019-04-10 08:08:22 +00:00
GLImages.h Bug 1509316 - p1: move composite listening out of VideoData/VideoSink. r=jya,mattwoodrow 2019-10-09 23:08:12 +00:00
GPUVideoImage.h Bug 1577336: Part 5 - Create IGPUVideoSurfaceManager for shared parts of RemoteDecoderManagerChild r=mattwoodrow 2019-11-20 21:33:59 +00:00
ImageContainer.cpp Bug 1605934 - Use nested namespaces r=sg 2020-01-18 13:48:34 +00:00
ImageContainer.h Bug 1613358 [Wayland] Implement WaylandDMABUFSurfaceImage dmabuf image, r=sotaro 2020-02-06 15:15:02 +00:00
ImageDataSerializer.cpp Bug 1543359 - P6. Add backend for color range information. r=mattwoodrow. 2019-07-26 08:45:31 +00:00
ImageDataSerializer.h Bug 1543359 - P6. Add backend for color range information. r=mattwoodrow. 2019-07-26 08:45:31 +00:00
ImageLayers.cpp
ImageLayers.h Bug 1610388 - Remove nsAutoPtr usage from gfx/. r=mattwoodrow 2020-01-21 01:25:28 +00:00
ImageTypes.h Bug 1613358 [Wayland] Implement WaylandDMABUFSurfaceImage dmabuf image, r=sotaro 2020-02-06 15:15:02 +00:00
IMFYCbCrImage.cpp Bug 1557257 - Rename KnowsCompositor* aForwarder to aKnowsCompositor r=nical 2019-06-07 12:27:05 +00:00
IMFYCbCrImage.h Bug 1557257 - Rename KnowsCompositor* aForwarder to aKnowsCompositor r=nical 2019-06-07 12:27:05 +00:00
IPDLActor.h Bug 1540581 - P6. Tidy some C++ declarations in gfx/. r=gerald,jrmuizel 2019-04-11 12:36:51 +00:00
LayerAttributes.h Bug 1585806 - Make SideBits an enum class, add casting where necessary. r=botond 2019-11-16 20:59:34 +00:00
LayerMetricsWrapper.h Bug 1599795 - Change the remote document rect to size in gfx. r=emilio 2020-02-11 03:57:14 +00:00
Layers.cpp Bug 1599795 - Change the remote document rect to size in gfx. r=emilio 2020-02-11 03:57:14 +00:00
Layers.h Bug 1599795 - Change the remote document rect to size in gfx. r=emilio 2020-02-11 03:57:14 +00:00
LayerScope.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in accessible/, browser/, caps/, chrome/, devtools/, docshell/, editor/, extensions/, gfx/, hal/, image/, intl/, ipc/, js/, layout/, and media/ r=Ehsan 2019-12-06 09:16:44 +00:00
LayerScope.h Bug 1540581 - P6. Tidy some C++ declarations in gfx/. r=gerald,jrmuizel 2019-04-11 12:36:51 +00:00
LayersHelpers.cpp
LayersHelpers.h
LayersLogging.cpp Bug 1604800 Part 1: Add a new WRAP_AND_RECORD SurfaceType for SourceSurfaceWrapAndRecord. r=jrmuizel 2020-01-22 21:21:08 +00:00
LayersLogging.h
LayerSorter.cpp
LayerSorter.h
LayersTypes.cpp Bug 1594145 - Add gfx telemetry scalars to geckoview_streaming. r=Dexter,jnicol 2019-11-26 19:42:06 +00:00
LayersTypes.h Bug 1602317 - Remove some useless includes. r=heycam 2019-12-09 12:52:53 +00:00
LayerTreeInvalidation.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-06-08 08:26:37 +00:00
LayerTreeInvalidation.h Bug 1540581 - P6. Tidy some C++ declarations in gfx/. r=gerald,jrmuizel 2019-04-11 12:36:51 +00:00
LayerUserData.h Bug 1540581 - P6. Tidy some C++ declarations in gfx/. r=gerald,jrmuizel 2019-04-11 12:36:51 +00:00
MacIOSurfaceHelpers.cpp Bug 1543359 - P12. Fix colorspace rendering with IOSurface and basic compositor. r=mattwoodrow 2019-07-26 08:45:40 +00:00
MacIOSurfaceHelpers.h
MacIOSurfaceImage.cpp Bug 1557257 - Rename KnowsCompositor* aForwarder to aKnowsCompositor r=nical 2019-06-07 12:27:05 +00:00
MacIOSurfaceImage.h Bug 1557257 - Rename KnowsCompositor* aForwarder to aKnowsCompositor r=nical 2019-06-07 12:27:05 +00:00
MemoryPressureObserver.cpp
MemoryPressureObserver.h
moz.build Bug 1613358 [Wayland] Implement WaylandDMABUFSurfaceImage dmabuf image, r=sotaro 2020-02-06 15:15:02 +00:00
NativeLayer.h Bug 1608717 - Support per-tile clip (valid) region for native compositor implementations. r=sotaro,mstange 2020-02-12 04:27:15 +00:00
NativeLayerCA.h Bug 1608717 - Support per-tile clip (valid) region for native compositor implementations. r=sotaro,mstange 2020-02-12 04:27:15 +00:00
NativeLayerCA.mm Bug 1608717 - Support per-tile clip (valid) region for native compositor implementations. r=sotaro,mstange 2020-02-12 04:27:15 +00:00
OOPCanvasRenderer.h Bug 1477756 - Client-side bindings mirror for precise CC, and merge similar codepaths. r=handyman 2020-01-08 22:19:16 +00:00
PaintThread.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in accessible/, browser/, caps/, chrome/, devtools/, docshell/, editor/, extensions/, gfx/, hal/, image/, intl/, ipc/, js/, layout/, and media/ r=Ehsan 2019-12-06 09:16:44 +00:00
PaintThread.h
PersistentBufferProvider.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-11-26 14:35:02 +00:00
PersistentBufferProvider.h Bug 1592213: Allow up to 2 more textures in PersistentBufferProviderShared when webrender enabled. r=nical 2019-10-30 10:05:59 +00:00
ProfilerScreenshots.cpp Bug 1593803 - rename NS_DispatchToBackgroundThread to NS_DispatchBackgroundTask; r=KrisWright 2019-11-05 21:19:18 +00:00
ProfilerScreenshots.h Bug 1450059 - part 2 - move ProfilerScreenshots over to the background thread; r=gregtatum 2019-09-25 12:59:24 +00:00
ReadbackLayer.h Bug 1610388 - Remove nsAutoPtr usage from gfx/. r=mattwoodrow 2020-01-21 01:25:28 +00:00
ReadbackProcessor.cpp
ReadbackProcessor.h
RecordedCanvasEventImpl.h Bug 1575828: Ensure that CanvasChild::GetDataSurface is called on the main thread. r=jrmuizel 2019-09-10 02:06:46 +00:00
RenderTrace.cpp Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
RenderTrace.h Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
RepaintRequest.h
RotatedBuffer.cpp Bug 1609996 - Reorder some includes affected by the previous patches. r=froydnj 2020-01-20 16:19:48 +00:00
RotatedBuffer.h
ScrollableLayerGuid.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2020-01-09 21:50:11 +00:00
ShareableCanvasRenderer.cpp Bug 1477756 - Initial out-of-process WebGL implementation. r=mccr8,handyman 2020-01-08 22:19:14 +00:00
ShareableCanvasRenderer.h
SourceSurfaceSharedData.cpp Bug 1612589 - Improve image memory reporting even further. r=tnikkel 2020-02-05 22:22:13 +00:00
SourceSurfaceSharedData.h Bug 1612589 - Improve image memory reporting even further. r=tnikkel 2020-02-05 22:22:13 +00:00
SourceSurfaceVolatileData.cpp Bug 1612589 - Improve image memory reporting even further. r=tnikkel 2020-02-05 22:22:13 +00:00
SourceSurfaceVolatileData.h Bug 1612589 - Improve image memory reporting even further. r=tnikkel 2020-02-05 22:22:13 +00:00
SurfacePool.h Bug 1592044 - Reduce the frequency of IOSurface and framebuffer creation and destruction with the help of a surface pool. r=jgilbert 2019-12-18 21:01:51 +00:00
SurfacePoolCA.h Bug 1592038 - Share depth buffers across IOSurface framebuffers with the same size. r=jgilbert 2019-12-19 02:55:15 +00:00
SurfacePoolCA.mm Bug 1592038 - Allow sharing depth and stencil buffers between multiple MozFramebuffers. r=jgilbert 2019-12-19 03:26:19 +00:00
SyncObject.cpp
SyncObject.h Bug 1540581 - P6. Tidy some C++ declarations in gfx/. r=gerald,jrmuizel 2019-04-11 12:36:51 +00:00
TextureDIB.cpp Bug 1435586 - Use static gfxPlatform methods directly instead of requiring initialization. r=kats 2019-06-05 12:40:26 -04:00
TextureDIB.h Bug 1540581 - P6. Tidy some C++ declarations in gfx/. r=gerald,jrmuizel 2019-04-11 12:36:51 +00:00
TextureSourceProvider.cpp
TextureSourceProvider.h Bug 1557105 - Handle non-webrender widget case during enabling WebRender at ImageBridge r=nical 2019-06-10 12:36:14 +00:00
TextureSync.cpp
TextureSync.h
TextureWrapperImage.cpp Bug 1557257 - Rename KnowsCompositor* aForwarder to aKnowsCompositor r=nical 2019-06-07 12:27:05 +00:00
TextureWrapperImage.h Bug 1557257 - Rename KnowsCompositor* aForwarder to aKnowsCompositor r=nical 2019-06-07 12:27:05 +00:00
TiledLayerBuffer.h
TransactionIdAllocator.h Bug 1540581 - P6. Tidy some C++ declarations in gfx/. r=gerald,jrmuizel 2019-04-11 12:36:51 +00:00
TreeTraversal.h Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan 2019-04-05 21:41:42 +00:00
UpdateImageHelper.h
WaylandDMABUFSurfaceImage.cpp Bug 1613358 [Wayland] Implement WaylandDMABUFSurfaceImage dmabuf image, r=sotaro 2020-02-06 15:15:02 +00:00
WaylandDMABUFSurfaceImage.h Bug 1613358 [Wayland] Implement WaylandDMABUFSurfaceImage dmabuf image, r=sotaro 2020-02-06 15:15:02 +00:00
ZoomConstraints.h