gecko-dev/gfx/layers
Kartikaya Gupta 829cd9912f Bug 1465935 - Handle another edge case with hit-testing inside fixed-pos items. r=mstange
Transforms are containing blocks for fixed-pos items, so if a fixed-pos
item is inside a scrolled transform, then it should use that scrollframe
as the scroll target for hit-testing. This patch handles this case for
WebRender by stashing the appropriate ASR on the nsDisplayFixedPosition
item and using it instead of the presShell's root scrollframe in this
scenario.

The patch also adds a mochitest (which is basically a mochitested
version of the reftest in fixed-pos-scrolled-clip-3.html, with a
hit-test check to ensure that it's hitting the right scrollframe).

MozReview-Commit-ID: 7YQAeOiMMuP

--HG--
extra : rebase_source : 8d1c89d0c03c3e7d9383d0731f65a327a2c11a8d
2018-06-07 13:06:33 -04:00
..
apz Bug 1465935 - Handle another edge case with hit-testing inside fixed-pos items. r=mstange 2018-06-07 13:06:33 -04:00
basic Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
client Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
composite Bug 1466611 - Render layout viewport on APZ minimap. r=botond 2018-06-04 18:02:04 -04:00
d3d11 Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
ipc Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-05 12:33:18 +03:00
layerviewer Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
mlgpu Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
opengl Bug 1451183 - Make EGLLibrary destroyable r=jgilbert 2018-06-04 11:09:29 +09:00
protobuf Backed out 4 changesets (bug 525063) on request from Andi. a=backout 2018-04-13 16:01:28 +03:00
wr Bug 1465784 - Remove unnecessary render step with async-scene-building. r=sotaro 2018-06-06 16:45:06 -04:00
AnimationHelper.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
AnimationHelper.h Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
AnimationInfo.cpp Bug 1320608 - Add an assertion that checks AnimationInfo::GetGenerationFromFrame() receives the primary frame or the first continuation frame. r=birtles 2018-05-09 05:54:10 +09:00
AnimationInfo.h Bug 1459388 - Use the last continuation frame in case of continuation to find WebRenderAnimationData. r=kats,mattwoodrow 2018-05-07 10:50:40 +09:00
AsyncCanvasRenderer.cpp Bug 1429413 - Ensure Factory::CreateDataSourceSurface allocation failures are gracefully handled. r=bas 2018-01-11 08:26:42 -05:00
AsyncCanvasRenderer.h
AtomicRefCountedWithFinalize.h Backed out 4 changesets (bug 525063) on request from Andi. a=backout 2018-04-13 16:01:28 +03:00
AxisPhysicsMSDModel.cpp
AxisPhysicsMSDModel.h Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
AxisPhysicsModel.cpp
AxisPhysicsModel.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 1421187 - P2. Properly set bytesPerPixel in MappedYCbCrTextureData. r=mattwoodrow 2017-11-28 15:53:54 +01:00
BufferTexture.h
BufferUnrotate.cpp
BufferUnrotate.h
CanvasRenderer.cpp
CanvasRenderer.h Bug 1460496 - Remove WebRenderCanvasRendererSync r=nical 2018-05-14 10:25:47 +09:00
Compositor.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
Compositor.h Bug 1444432 - Create Compositor::BlitRenderTarget and implement it for CompositorOGL. r=jrmuizel 2018-04-12 15:28:26 -04:00
CompositorTypes.h Allocate TextureReadLock at TextureClient creation and drop file handles immediately after. (bug 1416726, r=aosmond) 2018-03-12 08:10:13 -05:00
CopyableCanvasRenderer.cpp Bug 1440993: followup: Avoid overwriting the frontbuffer variable. r=nical 2018-03-14 14:26:41 +01:00
CopyableCanvasRenderer.h
D3D9SurfaceImage.cpp Bug 1423570: Use BaseRect access methods instead of member variables in gfx/ r=bas.schouten 2017-12-19 15:48:39 -05:00
D3D9SurfaceImage.h Bug 1404997 - P5. Fix constness and remove redundant virtual keyword. r=mattwoodrow 2017-11-30 19:03:02 +01:00
D3D11ShareHandleImage.cpp Bug 1404997 - P5. Fix constness and remove redundant virtual keyword. r=mattwoodrow 2017-11-30 19:03:02 +01:00
D3D11ShareHandleImage.h Bug 1404997 - P5. Fix constness and remove redundant virtual keyword. r=mattwoodrow 2017-11-30 19:03:02 +01:00
D3D11YCbCrImage.cpp Bug 1465306 - Make D3D11YCbCrRecycleAllocator handle device reset r=nical 2018-05-31 09:35:24 +09:00
D3D11YCbCrImage.h Bug 1465306 - Make D3D11YCbCrRecycleAllocator handle device reset r=nical 2018-05-31 09:35:24 +09:00
DirectedGraph.h
DirectionUtils.h Bug 1423570: Use BaseRect access methods instead of member variables in gfx/ r=bas.schouten 2017-12-19 15:48:39 -05:00
Effects.cpp
Effects.h Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
FrameMetrics.cpp Bug 951793 - Store the overscroll behavior in ScrollMetadata and propagate it to APZ. r=mstange 2017-11-25 01:29:01 +01:00
FrameMetrics.h Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
GLImages.cpp
GLImages.h Bug 1404997 - P5. Fix constness and remove redundant virtual keyword. r=mattwoodrow 2017-11-30 19:03:02 +01:00
GPUVideoImage.h Bug 1404997 - P5. Fix constness and remove redundant virtual keyword. r=mattwoodrow 2017-11-30 19:03:02 +01:00
IMFYCbCrImage.cpp Bug 1465319 - Clean up IMFYCbCrImage r=nical 2018-06-01 19:12:10 +09:00
IMFYCbCrImage.h Bug 1404997 - P5. Fix constness and remove redundant virtual keyword. r=mattwoodrow 2017-11-30 19:03:02 +01:00
IPDLActor.h
ImageContainer.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
ImageContainer.h Bug 1404997 - P5. Fix constness and remove redundant virtual keyword. r=mattwoodrow 2017-11-30 19:03:02 +01:00
ImageDataSerializer.cpp Bug 1451297. r=nical 2018-05-22 11:25:49 -04:00
ImageDataSerializer.h Bug 1451297. r=nical 2018-05-22 11:25:49 -04:00
ImageLayers.cpp Bug 1429602: Rename BaseRect::IsZero to BaseRect::IsZeroArea. Also slip in some corrections to using BaseRect methods instead of direct member access. r=bas.schouten 2018-01-10 17:57:10 -05:00
ImageLayers.h
ImageTypes.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
LayerScope.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
LayerScope.h
LayerSorter.cpp
LayerSorter.h
LayerTreeInvalidation.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
LayerTreeInvalidation.h
LayerUserData.h
Layers.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
Layers.h Bug 1452390 - Implement paint-skipping support in WebRender. r=botond 2018-05-11 21:18:22 -04:00
LayersHelpers.cpp Bug 1423570: Use BaseRect access methods instead of member variables in gfx/ r=bas.schouten 2017-12-19 15:48:39 -05:00
LayersHelpers.h Bug 1423570: Use BaseRect access methods instead of member variables in gfx/ r=bas.schouten 2017-12-19 15:48:39 -05:00
LayersLogging.cpp Bug 1448490 - Make the layers id a struct instead of a uint64_t. r=mattwoodrow 2018-03-24 19:06:01 -04:00
LayersLogging.h Generate webrender_ffi_generated with cbindgen:0.3.3 (bug 1428142, r=nical) 2018-01-04 12:23:34 -06:00
LayersTypes.cpp Bug 1440112 - Support CompositorHitTestInfo::eRequiresTargetConfirmation with EventRegions-based hit testing. r=kats 2018-02-23 17:37:55 -05:00
LayersTypes.h Bug 1455691 - Make the transaction id a struct instead of a uint64_t. r=mattwoodrow 2018-04-20 15:13:06 -04:00
MacIOSurfaceHelpers.cpp
MacIOSurfaceHelpers.h
MacIOSurfaceImage.cpp
MacIOSurfaceImage.h Bug 1404997 - P5. Fix constness and remove redundant virtual keyword. r=mattwoodrow 2017-11-30 19:03:02 +01:00
PaintThread.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
PaintThread.h Bug 1461775 - Create paint worker threads in response to a device reset instead of preemptively. r=bas 2018-05-15 13:36:11 -05:00
PersistentBufferProvider.cpp Allocate TextureReadLock at TextureClient creation and drop file handles immediately after. (bug 1416726, r=aosmond) 2018-03-12 08:10:13 -05:00
PersistentBufferProvider.h Bug 1418791 - Explicit free the resource of PersistentBufferProviderBasic, r=sotaro 2017-11-23 16:31:55 +08:00
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 Bug 1423570: Use BaseRect access methods instead of member variables in gfx/ r=bas.schouten 2017-12-19 15:48:39 -05:00
RotatedBuffer.h Replay buffer commands on paint thread when OMTP is enabled (bug 1399692 part 7, r=bas) 2017-10-26 00:47:17 -04:00
ShareableCanvasRenderer.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
ShareableCanvasRenderer.h
SourceSurfaceSharedData.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
SourceSurfaceSharedData.h Bug 1453801 - Part 2. Ensure shared surfaces are properly released from render texture cache. r=sotaro 2018-04-23 07:57:15 -04:00
SourceSurfaceVolatileData.cpp Bug 1427639 - Part 2. Fix misleading image memory reporting on Android. r=tnikkel 2018-02-22 14:26:29 -05:00
SourceSurfaceVolatileData.h Bug 1427639 - Part 2. Fix misleading image memory reporting on Android. r=tnikkel 2018-02-22 14:26:29 -05:00
SyncObject.cpp Bug 1416164 - Replace NS_ABORT with MOZ_ASSERT_UNREACHABLE. r=froydnj 2017-10-24 23:52:56 -07:00
SyncObject.h Bug 1409176 - make SyncObjectD3D11Client become fallible. r=dvander 2017-11-06 16:07:22 +08:00
TextureDIB.cpp Bug 1445766 - Fix some non-unified build bustage in gfx/layers. r=lsalzman 2018-03-14 17:03:29 -04:00
TextureDIB.h
TextureSourceProvider.cpp
TextureSourceProvider.h
TextureWrapperImage.cpp Bug 1404997 - P5. Fix constness and remove redundant virtual keyword. r=mattwoodrow 2017-11-30 19:03:02 +01:00
TextureWrapperImage.h Bug 1404997 - P5. Fix constness and remove redundant virtual keyword. r=mattwoodrow 2017-11-30 19:03:02 +01:00
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
moz.build Bug 1461786 - Move MultiTiledContentClient to its own file. r=nical 2018-04-19 16:20:42 -05:00