gecko-dev/gfx/layers
Kartikaya Gupta c864e00967 Bug 1441324 - Move the input event messages from PAPZCTreeManager to PAPZInputBridge. r=froydnj,rhunt
This remotes the APZInputBridge interface over the PAPZInputBridge
protocol in the case of the GPU process, and makes the GPU process'
main thread act as the APZ controller thread in that process. If
there is no GPU process we continue as before and the APZInputBridge
interface implementation is the concrete APZCTreeManager instance
in the UI process.

The main changes in this patch are moving all the code associated with
these messages out of APZCTreeManager{Parent,Child} and into
APZInputBridge{Parent,Child}. APZCTreeManagerChild now returns an
APZInputBridgeChild instance via InputBridge(), instead of returning
itself. The SetControllerThread call in the GPU process is also updated.

MozReview-Commit-ID: M4AaIW1Q0h

--HG--
extra : rebase_source : e5a8f14e23be34229fe80a47f6789d19b19e0a9f
2018-03-16 16:28:19 -04:00
..
apz Bug 1441324 - Move the input event messages from PAPZCTreeManager to PAPZInputBridge. r=froydnj,rhunt 2018-03-16 16:28:19 -04:00
basic Bug 1435643 - Remove no longer needed layer flattening code. r=mstange 2018-02-12 19:03:09 +13:00
client Bug 1445766 - Fix some non-unified build bustage in gfx/layers. r=lsalzman 2018-03-14 17:03:29 -04:00
composite Bug 1443297 - Fix sizing error for HostLayerManager::mCompositorBridgeID. r=jrmuizel 2018-03-14 12:17:27 -04:00
d3d11 Bug 1444169 Fix capitalization for a few Windows files r=aklotz 2018-03-08 14:49:59 -06:00
ipc Bug 1441324 - Move the input event messages from PAPZCTreeManager to PAPZInputBridge. r=froydnj,rhunt 2018-03-16 16:28:19 -04: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 1258238 - Remove code that displays visibility visualization on the APZ minimap. r=mattwoodrow 2018-03-12 14:17:34 -04:00
opengl Bug 1440717 - Use RefPtr for CompositingRenderTargetOGL::mGL. r=Bas 2018-03-12 13:36:00 +01:00
protobuf Bug 1406231 - remove the TextLayer class, and all remaining traces of it. r=mattwoodrow 2017-12-07 17:13:05 -05:00
wr Bug 1441324 - Introduce an empty APZInputBridge protocol managed by PGPU. r=rhunt 2018-03-16 16:28:19 -04:00
AnimationHelper.cpp Bug 1430014 - Part 6: #ifdef out a bit more animation-related code. r=hiro 2018-02-01 15:04:04 +11:00
AnimationHelper.h Bug 1340005 - Part 3: Use AnimationValue on the compositor thread. r=birtles 2017-09-21 17:01:48 +08:00
AnimationInfo.cpp Bug 1436659 - Support pending playback rates on compositor animations; r=hiro 2018-02-13 15:04:18 +09:00
AnimationInfo.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07: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 Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
AtomicRefCountedWithFinalize.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
AxisPhysicsModel.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
AxisPhysicsModel.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
AxisPhysicsMSDModel.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
AxisPhysicsMSDModel.h Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
BSPTree.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
BSPTree.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
BufferTexture.cpp Bug 1421187 - P2. Properly set bytesPerPixel in MappedYCbCrTextureData. r=mattwoodrow 2017-11-28 15:53:54 +01:00
BufferTexture.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
BufferUnrotate.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
BufferUnrotate.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
CanvasRenderer.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
CanvasRenderer.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
Compositor.cpp Bug 1441916 - Introduce the notion of the APZ sampler thread. r=botond 2018-03-01 23:00:41 -05:00
Compositor.h Bug 1441916 - Introduce the notion of the APZ sampler thread. r=botond 2018-03-01 23:00:41 -05: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 Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
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 1423570: Use BaseRect access methods instead of member variables in gfx/ r=bas.schouten 2017-12-19 15:48:39 -05:00
D3D11YCbCrImage.h Bug 1404997 - P5. Fix constness and remove redundant virtual keyword. r=mattwoodrow 2017-11-30 19:03:02 +01:00
DirectedGraph.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
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 Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
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 1444481 part 1: Add some needed #includes to ComputedTimingFunction.h and FrameMetrics.h. r=xidorn 2018-03-09 11:52:02 -08:00
GLImages.cpp Bug 1412427 part 1: Add standard mode line & MPL boilerplate to a few gfx C++ files that are missing it entirely. r=jrmuizel 2017-10-27 15:55:37 -07:00
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
ImageContainer.cpp Backed out changeset 8f16d20b0a3b (bug 1433351) for build bustage on a CLOSED TREE. 2018-03-15 11:18:35 -04: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 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
ImageDataSerializer.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07: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 Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
ImageTypes.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
IMFYCbCrImage.cpp Bug 1423806 - Enable IMFYCbCrImage with WebRender r=mattwoodrow 2017-12-07 22:15:34 +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 Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
LayerAttributes.h Bug 1442767 - Rename Box to RectAbsolute (Gecko changes). r=kats 2018-03-05 18:08:18 -05:00
LayerMetricsWrapper.h Bug 1418387 - Propagate scrollbar direction for scrollbar containers to APZ. r=botond 2017-11-24 16:23:05 -05:00
Layers.cpp Bug 1443792 - Tighten the equivalence between a layer being scrollable and having an APZC. r=botond 2018-03-12 16:06:37 -04:00
Layers.h Bug 1443792 - Tighten the equivalence between a layer being scrollable and having an APZC. r=botond 2018-03-12 16:06:37 -04:00
LayerScope.cpp Bug 1423570: Use BaseRect access methods instead of member variables in gfx/ r=bas.schouten 2017-12-19 15:48:39 -05:00
LayerScope.h
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 1423570: Use BaseRect access methods instead of member variables in gfx/ r=bas.schouten 2017-12-19 15:48:39 -05:00
LayersLogging.h Generate webrender_ffi_generated with cbindgen:0.3.3 (bug 1428142, r=nical) 2018-01-04 12:23:34 -06:00
LayerSorter.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
LayerSorter.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07: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 1443292 - Move TouchBehaviorFlags from APZUtils.h to LayersTypes.h. r=botond 2018-03-14 18:18:27 -04:00
LayerTreeInvalidation.cpp Bug 1437492 - Part 2: Based on profile data, use the simple-matrix optimized matrix class in some places. r=mattwoodrow 2018-02-17 00:43:38 +01:00
LayerTreeInvalidation.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
LayerUserData.h
MacIOSurfaceHelpers.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
MacIOSurfaceHelpers.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
MacIOSurfaceImage.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
MacIOSurfaceImage.h Bug 1404997 - P5. Fix constness and remove redundant virtual keyword. r=mattwoodrow 2017-11-30 19:03:02 +01:00
moz.build Bug 1441324 - Introduce an empty APZInputBridge protocol managed by PGPU. r=rhunt 2018-03-16 16:28:19 -04:00
PaintThread.cpp Add 'layers.omtp.dump-capture' for logging DrawTargetCapture (bug 1435938, r=bas) 2018-02-05 22:03:49 -06:00
PaintThread.h Add tiling and paint worker count information to about:support. (bug 1432516, r=milan) 2018-01-23 15:52:13 -06: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
ReadbackLayer.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
ReadbackProcessor.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
ReadbackProcessor.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
RenderTrace.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
RenderTrace.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
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 1427668 - Move the webgl backbuffer into webgl. - r=daoshengmu 2018-01-05 15:27:30 -08:00
ShareableCanvasRenderer.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
SourceSurfaceSharedData.cpp Bug 1427639 - Part 2. Fix misleading image memory reporting on Android. r=tnikkel 2018-02-22 14:26:29 -05:00
SourceSurfaceSharedData.h Bug 1427639 - Part 2. Fix misleading image memory reporting on Android. r=tnikkel 2018-02-22 14:26:29 -05: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 Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
TextureSourceProvider.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
TextureSourceProvider.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
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 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
TransactionIdAllocator.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
TreeTraversal.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
UpdateImageHelper.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00