gecko-dev/gfx/layers
Chris Pearce 09f7cde01e Bug 1451439 - Snap scroll offset to pixel boundaries before passing to WebRender. r=botond
When scrolling very slowly, sometimes some things can jump up and down, causing
flickering. This is because the scroll offset that the APZC passes to WebRender
isn't snapped to pixel boundaries; things drawn relative to that can move up or
down depending on how their boundaries round.

So round the scroll offset to device pixel boundaries before passing it to
WebRender. This eliminates the flicker in cases I've been able to reproduce.

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

--HG--
extra : moz-landing-system : lando
2018-09-27 02:54:46 +00:00
..
apz Bug 1451439 - Snap scroll offset to pixel boundaries before passing to WebRender. r=botond 2018-09-27 02:54:46 +00:00
basic Bug 1483459 - Avoid copying regions before converting them to rects throughout the gfx directory. r=sotaro 2018-08-21 14:58:47 +02:00
client Bug 1493198 - P2. Use enum for describing color depth. r=mattwoodrow 2018-09-25 20:44:55 +00:00
composite Bug 1493198 - P4. Add support for 10/12 bits YUV image to WebRender (bindings) r=mattwoodrow 2018-09-26 14:58:25 +00:00
d3d11 Bug 1493198 - P4. Add support for 10/12 bits YUV image to WebRender (bindings) r=mattwoodrow 2018-09-26 14:58:25 +00:00
ipc Merge inbound to mozilla-central. a=merge 2018-09-26 15:54:41 +03:00
layerviewer
mlgpu Bug 1493198 - P2. Use enum for describing color depth. r=mattwoodrow 2018-09-25 20:44:55 +00:00
opengl Bug 1493198 - P4. Add support for 10/12 bits YUV image to WebRender (bindings) r=mattwoodrow 2018-09-26 14:58:25 +00:00
protobuf Backed out 4 changesets (bug 525063) on request from Andi. a=backout 2018-04-13 16:01:28 +03:00
wr Merge inbound to mozilla-central. a=merge 2018-09-26 15:54:41 +03:00
AnimationHelper.cpp Bug 1482665 Part 4 - Remove nsDeviceContext::AppUnitsPerCSSPixel() and replace it with mozilla::AppUnitsPerCSSPixel(). r=dholbert 2018-08-13 14:29:30 -07:00
AnimationHelper.h Bug 1479234 - Drop GetAnimationOpacity and GetAnimationTransform ipc calls. r=boris,froydnj 2018-07-31 06:13:15 +09:00
AnimationInfo.cpp Bug 1476773 - Drop AnimationInfo::HasOpacityAnimation and Layer::HasOpacityAnimation. r=kats 2018-07-19 05:48:07 +09:00
AnimationInfo.h Bug 1476773 - Drop AnimationInfo::HasOpacityAnimation and Layer::HasOpacityAnimation. r=kats 2018-07-19 05:48:07 +09:00
AsyncCanvasRenderer.cpp
AsyncCanvasRenderer.h
AtomicRefCountedWithFinalize.h Bug 1453795 - GFX - Initialize member fields in classes/ structures. r=nical 2018-06-16 17:42:33 +03:00
AxisPhysicsModel.cpp
AxisPhysicsModel.h
AxisPhysicsMSDModel.cpp
AxisPhysicsMSDModel.h
BSPTree.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
BSPTree.h Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
BufferTexture.cpp Bug 1493198 - P2. Use enum for describing color depth. r=mattwoodrow 2018-09-25 20:44:55 +00:00
BufferTexture.h Bug 1493198 - P2. Use enum for describing color depth. r=mattwoodrow 2018-09-25 20:44:55 +00:00
CanvasRenderer.cpp
CanvasRenderer.h Bug 1460496 - Remove WebRenderCanvasRendererSync r=nical 2018-05-14 10:25:47 +09:00
Compositor.cpp Bug 1477678 - Remove useless Compositor::SetDispAcquireFence. r=kats 2018-07-23 13:06:24 +00:00
Compositor.h Bug 1477678 - Remove useless Compositor::SetDispAcquireFence. r=kats 2018-07-23 13:06:24 +00:00
CompositorTypes.h Backed out 10 changesets (bug 1265824) for causing reftests failures on global-composite-operation.html. CLOSED TREE 2018-07-23 19:36:37 +03:00
CopyableCanvasRenderer.cpp
CopyableCanvasRenderer.h
D3D9SurfaceImage.cpp
D3D9SurfaceImage.h
D3D11ShareHandleImage.cpp Bug 1467055 - Do not reuse D3D11Textures when CompositorDevice or ContentDevice is updated r=nical 2018-06-13 06:45:52 -07:00
D3D11ShareHandleImage.h Bug 1467055 - Do not reuse D3D11Textures when CompositorDevice or ContentDevice is updated r=nical 2018-06-13 06:45:52 -07:00
D3D11YCbCrImage.cpp Bug 1493198 - P2. Use enum for describing color depth. r=mattwoodrow 2018-09-25 20:44:55 +00:00
D3D11YCbCrImage.h Bug 1493198 - P2. Use enum for describing color depth. r=mattwoodrow 2018-09-25 20:44:55 +00:00
DirectedGraph.h
DirectionUtils.h
Effects.cpp
Effects.h Bug 1493198 - P2. Use enum for describing color depth. r=mattwoodrow 2018-09-25 20:44:55 +00:00
FrameMetrics.cpp Bug 1473699 - Async-scroll the layout viewport even if it's smaller than the visual viewport. r=botond 2018-07-22 01:59:37 -04:00
FrameMetrics.h Bug 1477335 - Replace reference member AsyncPanZoomController::mFrameMetrics with getter functions which return mScrollMetadata.mMetrics. r=botond 2018-07-27 14:58:46 -04:00
GLImages.cpp
GLImages.h
GPUVideoImage.h Bug 1493590 - Fix crash in GPUVideoImage::GetData. r=mattwoodrow 2018-09-24 17:11:00 -04:00
ImageContainer.cpp Bug 1245400 - P4. Remove no longer used class member. r=nical 2018-08-22 17:26:37 +02:00
ImageContainer.h Bug 1493198 - P2. Use enum for describing color depth. r=mattwoodrow 2018-09-25 20:44:55 +00:00
ImageDataSerializer.cpp Bug 1493198 - P2. Use enum for describing color depth. r=mattwoodrow 2018-09-25 20:44:55 +00:00
ImageDataSerializer.h Bug 1493198 - P2. Use enum for describing color depth. r=mattwoodrow 2018-09-25 20:44:55 +00:00
ImageLayers.cpp Backed out 4 changesets (bug 1418816) for reftest perma failure bugs/289480.html a=backout 2018-09-19 20:59:37 +01:00
ImageLayers.h Backed out 4 changesets (bug 1418816) for reftest perma failure bugs/289480.html a=backout 2018-09-19 20:59:37 +01:00
ImageTypes.h
IMFYCbCrImage.cpp Bug 1470386 - Recycle TextureClient at IMFYCbCrImage r=mattwoodrow 2018-06-28 12:56:36 +09:00
IMFYCbCrImage.h Bug 1470386 - Recycle TextureClient at IMFYCbCrImage r=mattwoodrow 2018-06-28 12:56:36 +09:00
IPDLActor.h
LayerAttributes.h Bug 1455182 - Additional cleanup to nsDisplayOwnLayer and ScrollbarData. r=botond 2018-05-25 07:20:39 +02:00
LayerMetricsWrapper.h Bug 1454485 - Stop passing around the scroll view and container direction since it's already in the scrollbar data. r=botond 2018-04-17 15:04:34 -04:00
Layers.cpp Backed out 4 changesets (bug 1418816) for reftest perma failure bugs/289480.html a=backout 2018-09-19 20:59:37 +01:00
Layers.h Bug 1488980 - Implement StartFrameTimeRecording for WebRender. r=mstange 2018-09-08 18:41:34 +00:00
LayerScope.cpp Backed out 10 changesets (bug 1478815) for reftest failures on /reftests/layers/forced-bg-color-outside-visible-region.html. CLOSED TREE 2018-08-07 20:57:27 +03:00
LayerScope.h
LayersHelpers.cpp
LayersHelpers.h
LayersLogging.cpp Bug 1475024 - Add Stringify overloads for RectAbsolute. r=bas 2018-07-13 09:51:43 -04:00
LayersLogging.h Bug 1475024 - Add Stringify overloads for RectAbsolute. r=bas 2018-07-13 09:51:43 -04:00
LayerSorter.cpp Bug 1483459 - Avoid copying regions before converting them to rects throughout the gfx directory. r=sotaro 2018-08-21 14:58:47 +02:00
LayerSorter.h
LayersTypes.cpp
LayersTypes.h Bug 1478016 - Add a strongly-typed LayersObserverEpoch type. r=mattwoodrow 2018-07-30 09:24:50 -04:00
LayerTreeInvalidation.cpp Bug 1472733 - Improve IntRect overflow handling when calculating layer invalidation area and visible region r=mattwoodrow 2018-08-30 00:59:28 +00:00
LayerTreeInvalidation.h
LayerUserData.h
MacIOSurfaceHelpers.cpp
MacIOSurfaceHelpers.h
MacIOSurfaceImage.cpp
MacIOSurfaceImage.h
MemoryPressureObserver.cpp Bug 1482795 - Fix the gfx memory pressure observer. r=sotaro 2018-08-14 21:10:11 +02:00
MemoryPressureObserver.h Bug 1482109 - Add a generic MemoryPressureObserver. r=sotaro 2018-08-10 17:15:02 +02:00
moz.build Bug 1492930 - Part 1. Expose composition of shared surfaces cache to allow memory reporting. r=nical 2018-09-25 09:13:51 -04:00
PaintThread.cpp Bug 1440937 - Change PaintTask to be a UniquePtr. r=mattwoodrow 2018-09-12 10:28:59 -05:00
PaintThread.h Bug 1440937 - Change PaintTask to be a UniquePtr. r=mattwoodrow 2018-09-12 10:28:59 -05:00
PersistentBufferProvider.cpp
PersistentBufferProvider.h
ProfilerScreenshots.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
ProfilerScreenshots.h Bug 1444430 - Add a ProfilerScreenshots class which can be used to submit DataSourceSurfaces to the profiler. r=jrmuizel 2018-03-26 23:08:33 -04:00
ReadbackLayer.h
ReadbackProcessor.cpp
ReadbackProcessor.h
RenderTrace.cpp
RenderTrace.h
RotatedBuffer.cpp Backed out 10 changesets (bug 1478815) for reftest failures on /reftests/layers/forced-bg-color-outside-visible-region.html. CLOSED TREE 2018-08-07 20:57:27 +03:00
RotatedBuffer.h Backed out 10 changesets (bug 1478815) for reftest failures on /reftests/layers/forced-bg-color-outside-visible-region.html. CLOSED TREE 2018-08-07 20:57:27 +03:00
ShareableCanvasRenderer.cpp Bug 1482109 - Fix unified build related issues. r=rhunt 2018-08-10 17:15:23 +02:00
ShareableCanvasRenderer.h Bug 1482109 - Fix unified build related issues. r=rhunt 2018-08-10 17:15:23 +02:00
SourceSurfaceSharedData.cpp Bug 1492930 - Part 2. Expose the external image ID for surfaces' memory reporting. r=nical 2018-09-25 09:13:51 -04:00
SourceSurfaceSharedData.h Bug 1492930 - Part 2. Expose the external image ID for surfaces' memory reporting. r=nical 2018-09-25 09:13:51 -04:00
SourceSurfaceVolatileData.cpp Bug 1492930 - Part 2. Expose the external image ID for surfaces' memory reporting. r=nical 2018-09-25 09:13:51 -04:00
SourceSurfaceVolatileData.h Bug 1492930 - Part 2. Expose the external image ID for surfaces' memory reporting. r=nical 2018-09-25 09:13:51 -04:00
SyncObject.cpp
SyncObject.h
TextureDIB.cpp
TextureDIB.h
TextureSourceProvider.cpp Bug 1483533 - Undo deferment of glDeleteTextures r=jrmuizel 2018-09-25 13:38:42 +00:00
TextureSourceProvider.h Bug 1483533 - Undo deferment of glDeleteTextures r=jrmuizel 2018-09-25 13:38:42 +00:00
TextureSync.cpp Backed out 10 changesets (bug 1478815) for reftest failures on /reftests/layers/forced-bg-color-outside-visible-region.html. CLOSED TREE 2018-08-07 20:57:27 +03:00
TextureSync.h Backed out 10 changesets (bug 1265824) for causing reftests failures on global-composite-operation.html. CLOSED TREE 2018-07-23 19:36:37 +03:00
TextureWrapperImage.cpp
TextureWrapperImage.h
TiledLayerBuffer.h Bug 1461786 - Rename references to tile positions to tile coords. r=nical 2018-04-20 09:42:35 -05:00
TransactionIdAllocator.h Bug 1455691 - Make the transaction id a struct instead of a uint64_t. r=mattwoodrow 2018-04-20 15:13:06 -04:00
TreeTraversal.h
UpdateImageHelper.h