gecko-dev/gfx/layers
Kartikaya Gupta fa397ea897 Bug 1304689 - Ensure frame reconstructions don't clobber a 'stronger' scroll origin with a 'weaker' one. r=tnikkel
If, within a single refresh driver tick, the scroll position is updated by JS
explicitly, and then subsequently also updated by a frame reconstruction, the
scroll origin from the former (nsGkAtoms::other) can get clobbered by the latter
(to nsGkAtoms::restore). The restore scroll origin is "weaker" in that it can
be ignored by the APZ code in some circumstances. This is undesirable because
it means the JS scroll update also gets ignored. This patch ensures that when
setting the scroll origin we don't do this clobbering of stronger origins with
weaker origins.

MozReview-Commit-ID: DA4EHp1Debu

--HG--
extra : rebase_source : 99fd1f91698a605792b2a622450f1ff31bc89101
2016-10-11 09:36:22 -04:00
..
apz Bug 1304689 - Ensure frame reconstructions don't clobber a 'stronger' scroll origin with a 'weaker' one. r=tnikkel 2016-10-11 09:36:22 -04:00
basic Bug 1304999 - Add nullptr check of YCbCr to rgb surface r=jrmuizel 2016-10-02 23:37:53 -07:00
client Bug 1088300 - Don't attempt to paint a ClientLayerManager if IPC is down (take two). r=dvander 2016-10-12 14:23:32 +02:00
composite Bug 1309443 - Add more updating mNeedsFullUpdate r=nical 2016-10-12 22:19:32 -07:00
d3d9 Bug 1305378 - Check texture is valid before creating a render target, r=mattwoodrow,mtseng 2016-09-30 17:35:35 +08:00
d3d11 Backed out changeset 3855dd4690ab (bug 1292923) for conflicts with m-c 2016-10-06 15:18:20 +02:00
ipc Bug 1260517 - Check HasShadowManager in the ShadowLayerForwarder::EndTransaction. r=nical 2016-10-12 03:04:00 +02:00
layerviewer
opengl Bug 1286412 - Add compositor support for triangle layers (for OpenGL backend) r=jrmuizel 2016-10-07 10:58:13 -07:00
protobuf
AsyncCanvasRenderer.cpp Bug 1296731: Add parameter to GetAlignedStride and check for overflow. r=bas 2016-08-25 13:57:39 -04:00
AsyncCanvasRenderer.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
AtomicRefCountedWithFinalize.h merge mozilla-inbound to mozilla-central a=merge 2016-07-20 11:20:15 +02:00
AxisPhysicsMSDModel.cpp Bug 1249040 - Allow wheel scrolls to accumulate in the presence of scroll snapping. r=kats 2016-04-07 17:41:55 -04:00
AxisPhysicsMSDModel.h Bug 1249040 - Allow wheel scrolls to accumulate in the presence of scroll snapping. r=kats 2016-04-07 17:41:55 -04:00
AxisPhysicsModel.cpp
AxisPhysicsModel.h
BSPTree.cpp Bug 1286412 - Implement polygon clipping and triangulation. r=kip 2016-10-03 16:35:52 -07:00
BSPTree.h Bug 1286412 - Implement polygon clipping and triangulation. r=kip 2016-10-03 16:35:52 -07:00
BufferTexture.cpp Bug 1306521 - Handle VP9 colorspace BT.709 on BasicCompositor r=nical,jwwang,jya,jrmuizel 2016-10-11 19:46:28 -07:00
BufferTexture.h Bug 1306521 - Handle VP9 colorspace BT.709 on BasicCompositor r=nical,jwwang,jya,jrmuizel 2016-10-11 19:46:28 -07:00
BufferUnrotate.cpp
BufferUnrotate.h
Compositor.cpp Bug 1286412 - Add compositor support for triangle layers (for OpenGL backend) r=jrmuizel 2016-10-07 10:58:13 -07:00
Compositor.h Bug 1286412 - Add compositor support for triangle layers (for OpenGL backend) r=jrmuizel 2016-10-07 10:58:13 -07:00
CompositorTypes.h Bug 1252835 - Make TextureHost recycling implicit r=nical 2016-06-15 04:28:10 -07:00
CopyableCanvasLayer.cpp Bug 1296731: Add parameter to GetAlignedStride and check for overflow. r=bas 2016-08-25 13:57:39 -04:00
CopyableCanvasLayer.h Bug 1289816 - Simplify CopyableCanvasLayer::UpdateTarget and remove unnecessary copies. r=jnicol 2016-07-29 20:19:28 +02:00
D3D9SurfaceImage.cpp Bug 1281456 - Decouple TextureForwarder and CompositableForwarder. r=gw280 2016-09-27 16:22:20 +13:00
D3D9SurfaceImage.h Bug 1281456 - Decouple TextureForwarder and CompositableForwarder. r=gw280 2016-09-27 16:22:20 +13:00
D3D11ShareHandleImage.cpp Bug 1281456 - Decouple TextureForwarder and CompositableForwarder. r=gw280 2016-09-27 16:22:20 +13:00
D3D11ShareHandleImage.h Bug 1281456 - Decouple TextureForwarder and CompositableForwarder. r=gw280 2016-09-27 16:22:20 +13:00
DirectedGraph.h
Effects.cpp Bug 1277862, part 2 - Rename Moz2D's Filter to SamplingFilter in the rest of gfx/. r=Bas 2016-05-25 17:01:18 +01:00
Effects.h Bug 1277862, part 2 - Rename Moz2D's Filter to SamplingFilter in the rest of gfx/. r=Bas 2016-05-25 17:01:18 +01:00
FrameMetrics.cpp Bug 1267470 - Move more fields from FrameMetrics to ScrollMetadata. r=kats 2016-04-27 16:06:34 -04:00
FrameMetrics.h Bug 1286179 - For APZ repaint requests that are triggered by main-thread updates, don't attempt to re-scroll the main thread. r=tnikkel 2016-08-18 17:00:42 -04:00
GLImages.cpp Bug 1245959 - Remove MOZ_CRASH from GLImage::GetAsSourceSurface. r=nical 2016-10-11 15:01:08 -04:00
GLImages.h Bug 1272877 - Allow access to derived Image classes; r=sotaro 2016-08-23 15:44:40 +08:00
GPUVideoImage.h Bug 1281456 - Decouple TextureForwarder and CompositableForwarder. r=gw280 2016-09-27 16:22:20 +13:00
GrallocImages.cpp Bug 1305655 - Decouple Gonk TextureForwarder and CompositableForwarder (followup bug 1281456) r=nical 2016-09-28 07:04:13 +02:00
GrallocImages.h Bug 1305655 - Decouple Gonk TextureForwarder and CompositableForwarder (followup bug 1281456) r=nical 2016-09-28 07:04:13 +02:00
IMFYCbCrImage.cpp Bug 1300682 - Part 2: Allow using the compositor device for IMFYCbCrImage. r=dvander 2016-10-07 21:13:32 +13:00
IMFYCbCrImage.h Bug 1281456 - Decouple TextureForwarder and CompositableForwarder. r=gw280 2016-09-27 16:22:20 +13:00
IPDLActor.h Remove the ChildActor helper class. (bug 1303426 part 3, r=nical) 2016-09-21 22:40:20 -07:00
ImageContainer.cpp Bug 1305361 - Rebuild IPDL actors on ImageContainer once we've recovered from a GPU process crash. r=dvander 2016-10-03 21:20:42 +13:00
ImageContainer.h Bug 1306521 - Handle VP9 colorspace BT.709 on BasicCompositor r=nical,jwwang,jya,jrmuizel 2016-10-11 19:46:28 -07:00
ImageDataSerializer.cpp Bug 1306521 - Handle VP9 colorspace BT.709 on BasicCompositor r=nical,jwwang,jya,jrmuizel 2016-10-11 19:46:28 -07:00
ImageDataSerializer.h Bug 1306521 - Handle VP9 colorspace BT.709 on BasicCompositor r=nical,jwwang,jya,jrmuizel 2016-10-11 19:46:28 -07:00
ImageLayers.cpp Bug 1303897 - Part 1: Use TextureForwarder for Image::GetTextureClient. r=nical 2016-09-23 09:43:11 +12:00
ImageLayers.h Bug 1303897 - Part 1: Use TextureForwarder for Image::GetTextureClient. r=nical 2016-09-23 09:43:11 +12:00
ImageTypes.h Bug 1306521 - Handle VP9 colorspace BT.709 on BasicCompositor r=nical,jwwang,jya,jrmuizel 2016-10-11 19:46:28 -07:00
LayerMetricsWrapper.h Bug 1120059 - Remove unnecessary MOZ_EXPLICIT_CONVERSION macros. r=jwalden 2016-07-13 15:07:52 -07:00
LayerScope.cpp Bug 1293117 (part 4) - Change many NS_IMETHODIMP occurrences to NS_IMETHOD. r=froydnj. 2016-08-08 10:54:47 +10:00
LayerScope.h Bug 1255907 - Fix unification build issues in APZ & Layers. r=kats 2016-03-14 11:39:12 -04:00
LayerSorter.cpp Bug 1301027 - Remove the matrix * point operator and replace it with TransformPoint methods. r=Bas 2016-09-08 18:26:03 +02:00
LayerSorter.h
LayerTreeInvalidation.cpp Bug 1251615 - Disallow Copy/Assignment to LayerProperties. r=mstange 2016-09-07 15:21:20 -04:00
LayerTreeInvalidation.h Bug 1251615 - Disallow Copy/Assignment to LayerProperties. r=mstange 2016-09-07 15:21:20 -04:00
LayerUserData.h
Layers.cpp Bug 1227233: Increase scope of TreeTraversal.h to by-value traversal r=botond 2016-09-22 12:31:26 -04:00
Layers.h Backed out changeset e0d755ab4cbd (bug 1302380) for timeouts reftest with e10s invariable-declaration-XX.html on Linux 32 bit. r=backout 2016-09-16 18:55:44 +02:00
LayersLogging.cpp Bug 1277862, part 2 - Rename Moz2D's Filter to SamplingFilter in the rest of gfx/. r=Bas 2016-05-25 17:01:18 +01:00
LayersLogging.h Bug 1262807 - Add logging support for TiledRegion classes. r=mstange 2016-06-20 14:50:04 -04:00
LayersTypes.cpp
LayersTypes.h Bug 1101628 - Add additional HitResult types to reflect the different event regions. r=botond 2016-06-01 15:48:05 -04:00
MacIOSurfaceHelpers.cpp Bug 1273823 - Optimize CreateSourceSurfaceFromLockedMacIOSurface() r=nical 2016-09-05 17:59:58 -07:00
MacIOSurfaceHelpers.h
MacIOSurfaceImage.cpp Bug 1281456 - Decouple TextureForwarder and CompositableForwarder. r=gw280 2016-09-27 16:22:20 +13:00
MacIOSurfaceImage.h Bug 1281456 - Decouple TextureForwarder and CompositableForwarder. r=gw280 2016-09-27 16:22:20 +13:00
PersistentBufferProvider.cpp Bug 1305897 - Move ActiveResourceTracker onto ShadowLayerForwarder, since it's not used anywhere else. r=nical 2016-10-03 21:20:13 +13:00
PersistentBufferProvider.h Bug 1305897 - Move ActiveResourceTracker onto ShadowLayerForwarder, since it's not used anywhere else. r=nical 2016-10-03 21:20:13 +13:00
ReadbackLayer.h
ReadbackProcessor.cpp Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
ReadbackProcessor.h
RenderTrace.cpp Bug 1227231: Use generic tree traversal algorithms for loops over Layer trees. r=botond 2016-03-10 01:20:40 -08:00
RenderTrace.h
RotatedBuffer.cpp Bug 1297568 - Downgrade buffer creation failures if we're a reasonable size, and never assert r=dvander 2016-10-03 20:18:45 -04:00
RotatedBuffer.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
TextureDIB.cpp Bug 1281456 - Decouple TextureForwarder and CompositableForwarder. r=gw280 2016-09-27 16:22:20 +13:00
TextureDIB.h Bug 1281456 - Decouple TextureForwarder and CompositableForwarder. r=gw280 2016-09-27 16:22:20 +13:00
TextureWrapperImage.cpp Bug 1281456 - Decouple TextureForwarder and CompositableForwarder. r=gw280 2016-09-27 16:22:20 +13:00
TextureWrapperImage.h Bug 1281456 - Decouple TextureForwarder and CompositableForwarder. r=gw280 2016-09-27 16:22:20 +13:00
TiledLayerBuffer.h Bug 1295274 - Fix gfxVars namespace r=nical 2016-08-16 13:07:24 +02:00
TransactionIdAllocator.h Bug 1264409 - Make last transaction ID available via nsIDOMWindowUtils, and pass transaction ID through MozAfterPaint. r=mattwoodrow,mrbkap 2016-04-13 16:59:15 -04:00
TreeTraversal.h Bug 1227233: Increase scope of TreeTraversal.h to by-value traversal r=botond 2016-09-22 12:31:26 -04:00
moz.build Bug 1300682 - Part 3: Split KnowsCompositor into a standalone header. r=nical 2016-10-07 21:13:32 +13:00