gecko-dev/gfx/layers
Emilio Cobos Álvarez 38b10eafda Bug 1824236 - Stop using XUL layout for scrollbars. r=jwatt
This rewrites scrollbar layout to work with regular reflow rather than
box layout.

Overall it's about the same amount of code (mostly because
nsScrollbarFrame::Reflow is sorta hand-rolled), but it cleans up a bit
and it is progress towards removing XUL layout altogether, without
getting into much deeper refactoring.

This also blocks some other performance improvements and refactorings I
want to make in this code.

We make some assumptions to simplify the code that to some extent were
made already before, both explicitly and by virtue of using XUL layout.

In particular, we assume that scrollbar / slider / thumb has no border or
padding and that the writing-mode is horizontal ltr.

Differential Revision: https://phabricator.services.mozilla.com/D173489
2023-03-27 20:54:53 +00:00
..
apz Bug 1824236 - Stop using XUL layout for scrollbars. r=jwatt 2023-03-27 20:54:53 +00:00
client Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium 2023-02-13 15:02:07 +00:00
composite Bug 1812498 - Destroy RenderBufferTextureHosts that use VideoBridgeParent's Shmems in VideoBridgeParent::OnChannelError() r=lsalzman 2023-03-17 00:35:03 +00:00
d3d11 Bug 1811170 - Make GpuProcessTextureId strongly-typed r=gfx-reviewers,lsalzman 2023-01-19 08:19:28 +00:00
ipc Bug 1820066 [2/3] - Allow in-process use of the compositor window r=sotaro 2023-03-27 16:54:13 +00:00
layerviewer
opengl Bug 1809026 [Linux] Implement fast DMABuf WebGL textures upload r=jgilbert 2023-02-27 11:20:09 +00:00
wr Bug 1607634 - Part 4b: Changes for not-nullable actor types being wrapped in NotNull, r=ipc-reviewers,necko-reviewers,mccr8 2023-03-20 15:40:36 +00:00
AndroidHardwareBuffer.cpp Bug 1810097 - Support AHardwareBuffer of out-of-process WebGL on Android r=lsalzman,gfx-reviewers 2023-01-27 21:35:26 +00:00
AndroidHardwareBuffer.h Bug 1810097 - Support AHardwareBuffer of out-of-process WebGL on Android r=lsalzman,gfx-reviewers 2023-01-27 21:35:26 +00:00
AnimationHelper.cpp Bug 1807685 - Rename scroll-linked (animations) to scroll-driven (excluding WPT tests). r=dholbert 2023-01-04 00:50:45 +00:00
AnimationHelper.h Bug 1807685 - Rename scroll-linked (animations) to scroll-driven (excluding WPT tests). r=dholbert 2023-01-04 00:50:45 +00:00
AnimationInfo.cpp Bug 1816915 - Clean up EffectSet APIs. r=firefox-animation-reviewers,boris 2023-02-15 20:39:16 +00:00
AnimationInfo.h Bug 1802225 - Remove unused method AnimationInfo::TransferMutatedFlagToLayer(). r=tnikkel 2022-11-29 01:52:00 +00:00
AnimationStorageData.h Bug 1807685 - Rename scroll-linked (animations) to scroll-driven (excluding WPT tests). r=dholbert 2023-01-04 00:50:45 +00:00
AtomicRefCountedWithFinalize.h
AxisPhysicsModel.cpp
AxisPhysicsModel.h
AxisPhysicsMSDModel.cpp
AxisPhysicsMSDModel.h
BSPTree.cpp Bug 1802225 - Remove the LayerPolygon typedef. r=tnikkel 2022-11-29 01:52:01 +00:00
BSPTree.h Bug 1802225 - Remove the LayerPolygon typedef. r=tnikkel 2022-11-29 01:52:01 +00:00
BufferTexture.cpp Bug 1777426 - Ensure MemoryTextureData frees memory when owned by RemoteTextureMap. r=aosmond,gfx-reviewers 2022-07-12 06:56:21 +00:00
BufferTexture.h Bug 1781064 - Get buffer size directly from BufferTextureData. r=aosmond,gfx-reviewers 2022-08-05 18:48:48 +00:00
BuildConstants.h
CanvasDrawEventRecorder.cpp
CanvasDrawEventRecorder.h
CanvasRenderer.cpp Bug 1810097 - Support AHardwareBuffer of out-of-process WebGL on Android r=lsalzman,gfx-reviewers 2023-01-27 21:35:26 +00:00
CanvasRenderer.h Bug 1805209 - Use RemoteTexture for WebGPU r=gfx-reviewers,lsalzman 2022-12-23 20:41:02 +00:00
CompositionRecorder.cpp Bug 1816559 - Remote compositor recording from GPU process r=mstange 2023-03-14 13:31:37 +00:00
CompositionRecorder.h Bug 1816559 - Remote compositor recording from GPU process r=mstange 2023-03-14 13:31:37 +00:00
Compositor.cpp Bug 1060421 - Change the type of [Int]PointTyped::[x|y] back to [Int]CoordTyped. r=botond 2022-11-04 18:29:35 +00:00
Compositor.h
CompositorAnimationStorage.cpp Bug 1807685 - Rename scroll-linked (animations) to scroll-driven (excluding WPT tests). r=dholbert 2023-01-04 00:50:45 +00:00
CompositorAnimationStorage.h Bug 1776077 - Factor out the handle of storing animated value in SampleAnimations(). r=hiro 2022-09-22 00:06:10 +00:00
CompositorTypes.cpp
CompositorTypes.h Bug 1808818 - Add RemoteTextureOwnerClient::PushDummyTexture() for handling remote texture allocation failure r=gfx-reviewers,lsalzman 2023-01-11 22:23:01 +00:00
D3D9SurfaceImage.cpp Bug 1785925 - Add LUT and Colorspace support to GLBlitHelper. r=lsalzman,media-playback-reviewers,alwu 2022-09-13 17:40:43 +00:00
D3D9SurfaceImage.h
D3D11ShareHandleImage.cpp Bug 1816482 - Add lock/sync handling to D3D11ShareHandleImage::MaybeCreateNV12ImageAndSetData() r=gfx-reviewers,lsalzman 2023-03-01 08:17:07 +00:00
D3D11ShareHandleImage.h Bug 1816482 - Add lock/sync handling to D3D11ShareHandleImage::MaybeCreateNV12ImageAndSetData() r=gfx-reviewers,lsalzman 2023-03-01 08:17:07 +00:00
D3D11TextureIMFSampleImage.cpp Bug 1785925 - Add LUT and Colorspace support to GLBlitHelper. r=lsalzman,media-playback-reviewers,alwu 2022-09-13 17:40:43 +00:00
D3D11TextureIMFSampleImage.h Bug 1785925 - Add LUT and Colorspace support to GLBlitHelper. r=lsalzman,media-playback-reviewers,alwu 2022-09-13 17:40:43 +00:00
D3D11YCbCrImage.cpp Bug 1794722 - Part 2. Remove all uses of gfxVars::UseWebRender(). r=jrmuizel,media-playback-reviewers,alwu 2022-10-28 12:36:06 +00:00
D3D11YCbCrImage.h
DcompSurfaceImage.cpp Bug 1769254 - Add TextureHost type check for using update in AsyncImagePipelineManager::UpdateImageKeys() r=gfx-reviewers,lsalzman 2022-08-16 00:29:51 +00:00
DcompSurfaceImage.h Bug 1771011 - part2 : wrap media engine's dcomp handle, and use it on our gfx pipeline in the GPU process.r=jolin,sotaro 2022-08-13 23:48:07 +00:00
DirectionUtils.h
DMABUFSurfaceImage.cpp Bug 1809026 [Linux] Move global DMABufSurface management from VideoFrameSurface to DMABUFSurfaceImage r=alwu 2023-02-27 11:20:34 +00:00
DMABUFSurfaceImage.h
Effects.cpp
Effects.h
FrameMetrics.cpp Bug 1759627 - Dump the WebRenderScrollLayerData on the compositor side. r=botond 2022-05-20 22:38:57 +00:00
FrameMetrics.h Bug 1815372 - Introduce OuterCSSPixel to represent quantities in CSS pixels of content surrounding a scroll frame. r=dlrobertson 2023-03-03 23:57:14 +00:00
GLImages.cpp Bug 1784109 - Override SurfaceTexture transform for videos on Mediatek 6735. r=gfx-reviewers,media-playback-reviewers,lsalzman,alwu 2022-09-09 14:43:21 +00:00
GLImages.h Bug 1784109 - Override SurfaceTexture transform for videos on Mediatek 6735. r=gfx-reviewers,media-playback-reviewers,lsalzman,alwu 2022-09-09 14:43:21 +00:00
GPUVideoImage.h Bug 1787561 Part 1: Make GPUVideoImage track color depth, and make RemoteImageHolder pass it through. r=media-playback-reviewers,gfx-reviewers,alwu,aosmond 2022-09-08 18:02:03 +00:00
ImageContainer.cpp Bug 1816482 - Add lock/sync handling to D3D11ShareHandleImage::MaybeCreateNV12ImageAndSetData() r=gfx-reviewers,lsalzman 2023-03-01 08:17:07 +00:00
ImageContainer.h Bug 1753373 - Upload software decoded video to NV12 for video overlay on Windows r=alwu,gfx-reviewers,bradwerth 2022-12-20 08:29:47 +00:00
ImageDataSerializer.cpp
ImageDataSerializer.h
ImageTypes.h Bug 1771011 - part2 : wrap media engine's dcomp handle, and use it on our gfx pipeline in the GPU process.r=jolin,sotaro 2022-08-13 23:48:07 +00:00
IMFYCbCrImage.cpp
IMFYCbCrImage.h
IPDLActor.h
LayersTypes.cpp Bug 1811170 - Make GpuProcessTextureId strongly-typed r=gfx-reviewers,lsalzman 2023-01-19 08:19:28 +00:00
LayersTypes.h Bug 1805851 - Add unit test for APZC::ArePointerEventsConsumable. r=dlrobertson 2023-02-13 16:26:09 +00:00
LayerUserData.h
MacIOSurfaceHelpers.cpp Bug 1765187 Part 2: Make macOS video decoder recognize and use color primaries. r=media-playback-reviewers,jgilbert,alwu 2022-10-10 20:12:59 +00:00
MacIOSurfaceHelpers.h
MacIOSurfaceImage.cpp Bug 1781122 Part 2: Make TextureHost aware of DRM Images, and set this on macOS. r=gfx-reviewers,sotaro 2022-09-07 18:51:12 +00:00
MacIOSurfaceImage.h Bug 1777264 Part 3: Make MacIOSurfaceImage report color depth accurately. r=media-playback-reviewers,alwu 2022-08-17 06:50:51 +00:00
MemoryPressureObserver.cpp
MemoryPressureObserver.h
moz.build Bug 1824069 - Make gfx/layers buildable outside of a unified build environment r=andi 2023-03-24 07:01:08 +00:00
NativeLayer.h Bug 1731136 Part 5: Make macOS native compositor and NativeLayerCA handle backdrop r=mstange 2022-06-01 19:40:04 +00:00
NativeLayerCA.h Bug 1821727: Refactor NativeLayerCA clip rect geometry calcuations. r=mstange 2023-03-10 19:23:05 +00:00
NativeLayerCA.mm Bug 1821727: Refactor NativeLayerCA clip rect geometry calcuations. r=mstange 2023-03-10 19:23:05 +00:00
NativeLayerWayland.cpp Bug 1780389 [Wayland] Implement RAII class MozContainerSurfaceLock to get&lock wl_surface of moz_container r=rmader 2022-08-16 08:46:33 +00:00
NativeLayerWayland.h
OOPCanvasRenderer.h
PersistentBufferProvider.cpp Bug 1808733 - Check for null TextureData. r=aosmond 2023-01-05 17:45:48 +00:00
PersistentBufferProvider.h Bug 1795768 - Do not use Direct2D canvas if willReadFrequently is set. r=jrmuizel 2022-12-10 04:46:28 +00:00
ProfilerScreenshots.cpp
ProfilerScreenshots.h
RecordedCanvasEventImpl.h
RemoteTextureMap.cpp Bug 1808818 - Add RemoteTextureOwnerClient::PushDummyTexture() for handling remote texture allocation failure r=gfx-reviewers,lsalzman 2023-01-11 22:23:01 +00:00
RemoteTextureMap.h Bug 1808818 - Add RemoteTextureOwnerClient::PushDummyTexture() for handling remote texture allocation failure r=gfx-reviewers,lsalzman 2023-01-11 22:23:01 +00:00
RepaintRequest.cpp
RepaintRequest.h Bug 1779909 - Skip re-snapping during pan/touch gestures or scrollbar dragging. r=botond 2022-07-21 00:02:10 +00:00
SampleTime.cpp
SampleTime.h
ScreenshotGrabber.cpp Backed out changeset 48381173c92c (bug 1780315) for causing bug 1782764. CLOSED TREE 2022-08-03 13:43:39 +03:00
ScreenshotGrabber.h Backed out changeset 48381173c92c (bug 1780315) for causing bug 1782764. CLOSED TREE 2022-08-03 13:43:39 +03:00
ScrollableLayerGuid.cpp
ScrollableLayerGuid.h
ScrollbarData.h Bug 1815372 - Introduce OuterCSSPixel to represent quantities in CSS pixels of content surrounding a scroll frame. r=dlrobertson 2023-03-03 23:57:14 +00:00
ShareableCanvasRenderer.cpp Bug 1810097 - Support AHardwareBuffer of out-of-process WebGL on Android r=lsalzman,gfx-reviewers 2023-01-27 21:35:26 +00:00
ShareableCanvasRenderer.h Bug 1776885 - Add capability of async remote texture on WebGL if CanvasRenderThread is used r=gfx-reviewers,lsalzman 2022-12-07 02:24:57 +00:00
SourceSurfaceSharedData.cpp
SourceSurfaceSharedData.h
SurfacePool.h
SurfacePoolCA.h Bug 1824069 - Make gfx/layers buildable outside of a unified build environment r=andi 2023-03-24 07:01:08 +00:00
SurfacePoolCA.mm Bug 1824069 - Make gfx/layers buildable outside of a unified build environment r=andi 2023-03-24 07:01:08 +00:00
SurfacePoolWayland.cpp
SurfacePoolWayland.h
SyncObject.cpp
SyncObject.h
TextureSourceProvider.cpp
TextureSourceProvider.h
TextureWrapperImage.cpp
TextureWrapperImage.h
TransactionIdAllocator.h
TreeTraversal.h
UpdateImageHelper.h Bug 1802225 - Remove unused aContentFlags parameter of ImageClient::UpdateImage(). r=tnikkel 2022-11-29 01:51:59 +00:00
ZoomConstraints.cpp
ZoomConstraints.h