Commit Graph

78 Commits

Author SHA1 Message Date
sotaro
11ec0449d5 Bug 1359206 - Fix CompositionTime and CompositeUntil handling of WebRenderImageHost r=nical 2017-04-27 09:34:54 -07:00
Kartikaya Gupta
c966d82171 Bug 1357754 - Trigger the APZ hit-testing tree rebuild. r=jrmuizel
This is the code that takes the incoming WebRender transaction and tells
APZ to rebuild the hit-testing tree from it.

MozReview-Commit-ID: DTuRmp5QZpg
2017-04-20 10:38:06 -04:00
Kartikaya Gupta
c24be9245e Bug 1357754 - Hook up chaining layer trees. r=botond,jrmuizel
When APZ traverses a tree using LayerMetricsWrapper, the layer tree
already has its RefLayers connected because of the in-scope
AutoResolveRefLayers. When traversing using the
WebRenderScrollDataWrapper though, this is not the case, and we need to
explicitly jump from one layer tree to another during the walk.
Thankfully we don't require upwards traversal in the tree or this would
be much more complicated.

MozReview-Commit-ID: 8gbvUlzghLx
2017-04-20 10:38:06 -04:00
Kartikaya Gupta
e5361ecae8 Bug 1357754 - Add a mechanism to send scroll data to APZ over PWebRenderBridge. r=jrmuizel
This adds a WebRenderScrollData class (which contains a list of
WebRenderLayerScrollData objects, among other things), and adds it to
the DPEnd/DPSyncEnd messages sent across PWebRenderBridge. These classes are
skeletons for now (more stuff will be added to them in future patches).

MozReview-Commit-ID: 9duxwlUpdu7
2017-04-20 10:38:04 -04:00
sotaro
2f88c289f9 Bug 1357644 - Use wr::ExternalImageId instead of uint64_t for external image id r=nical 2017-04-19 18:59:53 +09:00
peter chang
f11c1bde12 Bug 1345017 - Add animation sampling for WR, r=kats
MozReview-Commit-ID: AR2vajUf2o0
2017-04-12 16:40:48 +08:00
sotaro
51d8d19e56 Bug 1356088 - Fix ImageKey removals of ExternalImages r=jrmuizel 2017-04-13 20:53:21 +09:00
Kartikaya Gupta
4b146ed115 Merge m-c to graphics
MozReview-Commit-ID: ICVAgHmKVL4
2017-04-10 08:47:20 -04:00
sotaro
3ef75db7a1 Bug 1354474 - Add FlushRendering() and Composite() support to WebRenderLayerManager r=mattwoodrow 2017-04-10 15:58:29 +09:00
Lee Salzman
6ca29fbb02 Bug 1348980 - use UnscaledFont to track WebRender font keys. r=jrmuizel 2017-04-06 17:41:24 -04:00
Sotaro Ikeda
7302ff8d44 Bug 1323612 (Part 2) - Add runtime fixups for WebRender on Android. r=kats
MozReview-Commit-ID: 2fWRPkRM52e
2017-04-05 10:12:11 -04:00
Nicolas Silva
381af6a4d1 Bug 1347641 - Implement the BlobImageRenderer binding glue. r=jrmuizel 2017-03-27 13:44:52 +02:00
Kartikaya Gupta
a4566ca4b9 Bug 1339433 - Fix an inconsistent name (capitalize R in WebRender). r=jrmuizel
MozReview-Commit-ID: FdPDm28VTXl
2017-03-08 10:14:49 -05:00
Matt Woodrow
f8409228f1 Bug 1340117 - Batch ReadLock intializer into a separate IDPL message to avoid hitting the file descriptor limit. r=dvander 2017-02-27 16:12:12 +13:00
Jeff Muizelaar
250229ef91 Bug 1343770. Separate out Parent commands from Child commands. r=kats
This basically just splits the enum in two and does the necessary plumbing. The
worst part is that now DisplayItemLayers need to have two arrays of commands.
Fortunately, this will be going away in the future.

This makes it so we don't send the child side commands to the parent.
2017-03-02 16:33:25 -05:00
Jeff Muizelaar
0ad9d2a3e7 Bug 1341064. Send child side built display lists over gecko ipc to compositor. 2017-03-01 20:37:59 -05:00
sotaro
4d822b6679 Bug 1342754 - Make WebRenderBridgeChild::mIdNamespace unique r=jrmuizel 2017-02-27 12:16:11 +09:00
sotaro
68a497a1d6 Bug 1342380 - Enable VsyncScheduler again r=kats 2017-02-27 09:27:04 +09:00
sotaro
40dcc24b2a Bug 1341524 - Fix NotifyDidComposite() and WebRender epoch r=nical 2017-02-24 12:22:59 +09:00
Jeff Muizelaar
e421e711ab Bug 1342246. Generate resource ids on the client side. r=lsalzman 2017-02-23 17:52:38 -05:00
Jeff Muizelaar
6c17be53a5 Bug 1341878. Separate out finishing the display list from sending it. r=sotaro
This adds the size to the DPEnd command so that we can use it in
SetRootDisplayList instead of storing it in WrState.
2017-02-23 16:12:40 -05:00
sotaro
dfdc58638e Bug 1340067 - Change DPBegin() to async r=kats 2017-02-21 10:30:15 +09:00
Kartikaya Gupta
1a72b8cc16 Back out cset ae5c9d27cc3c (bug 1340067) for causing intermittent linux64qr-opt reftest-e10-6 and other failures. r=backout 2017-02-17 09:37:08 -05:00
sotaro
38b5eb2574 Bug 1340067 - Change DPBegin() to async r=kats 2017-02-17 14:36:12 +09:00
JerryShih
bec4bbea67 Bug 1338274 - remove the usage of WrWindowState, Compositor and GLContext in WebRenderBridgeParent. r=nical
MozReview-Commit-ID: CKK9cBLlYnh
2017-02-10 10:16:47 -05:00
sotaro
7c727cbd7b Bug 1336024 - Split Image selection logic from ImageHost r=nical 2017-02-07 17:07:00 +09:00
Nicolas Silva
c372ab81af Bug 1333565 - Fix the epoch/transactionId plumbing when the render thread is enabled. r=jrmuizel 2017-01-27 15:30:18 -05:00
Kartikaya Gupta
dc8b41def3 Bug 1333505 - Some cosmetic cleanup (comments/whitespace/alpha-sorting). r=nical
MozReview-Commit-ID: 2DYABsBzSrs
2017-01-24 16:06:17 -05:00
sotaro
6126a83837 Bug 1332249 - Add WebRenderCompositableHolder for WebRenderAPI r=nical? 2017-01-20 11:00:17 +09:00
Nicolas Silva
2a11b5310c Bug 1328602 - Make it possible to enable the work-in-progress render thread code using MOZ_USE_RENDER_THREAD and ugly branching, hopefully temporarily. r=gfx? 2017-01-18 18:46:21 -05:00
Nicolas Silva
61956b03cc Bug 1328602 - Begin making it possible to not have a Compositor object. r=gfx? 2017-01-18 14:50:00 -05:00
Kartikaya Gupta
d93155e378 Bug 1323957 - Follow-up to remove PCompositable entrails in the graphics branch. r=mattwoodrow?
MozReview-Commit-ID: 2wZlT33ty86
2017-01-18 13:47:27 -05:00
Nicolas Silva
c8346f4055 Bug 1331515 - Replace the usage of some of the WebRender ffi types by their strongly typed equivalents. r=gfx? 2017-01-17 15:13:41 -05:00
Nicolas Silva
4544d3bae9 Bug 1328602 - Fix the image format conversion and some stylistic changes. r=jrmuizel? 2017-01-17 14:48:00 -05:00
Nicolas Silva
67c7d94680 Bug 1331515 - More WR to Wr prefix conversion. r=gfx? 2017-01-17 10:17:38 -05:00
Nicolas Silva
71ce50e60a Bug 1331515 - WR to Wr prefix conversion for more ffi types. r=gfx? 2017-01-17 09:53:57 -05:00
Nicolas Silva
e9678a4d84 Bug 1331515 - Move some types to the mozilla::wr namespace. r=gfx? 2017-01-16 19:22:09 -05:00
Nicolas Silva
15faee9666 Bug 1331515 - mozilla/webrender include path. r=gfx? 2017-01-16 19:21:52 -05:00
Nicolas Silva
18b73999f8 Bug 1328602 - Start replacing wrstate with DisplayListBuilder. r=gfx? 2017-01-13 11:25:07 +01:00
Nicolas Silva
77d5550aaa Bug 1328602 - Begin implementing creating/destroying WebRenderAPI objects. r=gfx? 2017-01-11 13:51:27 +01:00
Nicolas Silva
4a8e1981a2 Bug 1328602 - Start implementing the render thread. r=gfx? 2017-01-06 19:10:15 +01:00
Kartikaya Gupta
3873b1c82f Back out bug 1328602 (5 csets) for build bustage and test failures. r=bustage 2017-01-06 13:49:32 -05:00
Nicolas Silva
397e474b1c Bug 1328602 - Start implementing the render thread. r=gfx? 2017-01-06 19:10:15 +01:00
Kartikaya Gupta
10c5f440a5 Bug 1326048 - Factor out a helper function to address review comments. r=milan?
MozReview-Commit-ID: 8QmU34JQNKG
2016-12-29 16:51:32 -05:00
Kartikaya Gupta
322331c6cd Revert tree back to commit 8a362f5c65fb. r=fix-messy-tree
MozReview-Commit-ID: 8ewcbgQsay9
2016-12-22 10:38:58 -05:00
JerryShih
56ef8bf5d6 Bug 1321144 - update AddExternalImageId/AddExternalImageIdForCompositable interface. r=sotaro?
add width, height and format arguments in AddExternalImageId/AddExternalImageIdForCompositable()
turn to use AddExternalImageId() for TOpDPPushExternalImageId op.
send the Image/ExternalImages removing messages just after DPEnd()

MozReview-Commit-ID: KkjzB6ibKas
2016-12-22 17:22:37 +08:00
sotaro
af71733827 Bug 1324355 - Make ResumeComposition work r=nical 2016-12-21 11:13:57 +09:00
Mason Chang
7ba6cc3c56 Bug 1322796. Correctly flip surface pattern for reftests. r=kats? 2016-12-12 13:41:15 -08:00
Sotaro Ikeda
88affac154 Bug 1322388 - OpDPPushExternalImageId message to PWebRenderBridge r=nical? 2016-12-07 17:52:24 -08:00
JerryShih
aaa6e41263 Bug 1320320 - handle pipeline epoch in WR binding. r=mchang?
move the epoch counting from gecko to WR binding

MozReview-Commit-ID: 8bc6Cy4HDYS
2016-12-07 08:04:49 -10:00