Carsten "Tomcat" Book
44e9c21039
merge mozilla-inbound to mozilla-central a=merge
2017-04-19 10:32:48 +02:00
Randall Barker
c82d528d56
Bug 1358805 - part 5: Update the dynamic toolbar animator to gracefully handle toolbar snapshot generation failure r=kats
...
MozReview-Commit-ID: B3t6l5ZqhC5
2017-04-25 15:14:00 -07:00
Randall Barker
7752cdc25d
Bug 1358805 - part 2: Allow DynamicToolbarAnimator to query if the UiCompositorController is open in the case it missed the open message r=kats
...
MozReview-Commit-ID: 8wdMpQh44Zc
2017-04-25 15:13:58 -07:00
Randall Barker
fc2f1cfb8d
Bug 1358805 - part 1: Add new UiCompositorController message types TOOLBAR_SNAPSHOT_FAILED and IS_COMPOSITOR_CONTROLLER_OPEN r=kats
...
MozReview-Commit-ID: Ezd8Ng7Zsxm
2017-04-25 15:13:58 -07:00
sotaro
cc9be9916a
Bug 1355702 - Reduce WrImageKey allocation for ExternalImages on sync ImageContainer
2017-04-19 11:08:35 +09:00
sotaro
68286e79c7
Bug 1357338 - Deallocate external image id in WebRenderDisplayItemLayer r=nical
2017-04-19 09:28:43 +09:00
Jeff Muizelaar
16c9099e7d
Bug 1357549
. Remove unused includes. r=kats
...
There are left over from when we built display lists on the parent side.
2017-04-18 17:03:39 -04:00
Sebastian Hengst
b17e2f1d52
merge mozilla-central to autoland. r=merge a=backout
2017-04-21 18:41:49 +02:00
Kartikaya Gupta
474874a3d1
Bug 1357065 - Update WebRenderDisplayItemLayer to use PushClip instead of PushScrollLayer because it's pushing a non-scrolling clip. r=jrmuizel
...
MozReview-Commit-ID: DdmCTsh9Jtq
2017-04-18 11:09:50 -04:00
Kartikaya Gupta
e972cba381
Bug 1357065 - Add a PushClip/PopClip API to WebRenderAPI to more easily distinguish between scrolling clips and non-scrolling clips. r=jrmuizel
...
Note that in upstream WR the push_scroll_layer API has already been
renamed to push_clip_node, so conceptually the same API covers both
"scrolling clips" (aka scroll layers) and non-scrolling clips. So using
the same underlying API for two different WebRenderAPI.h functions makes
sense.
MozReview-Commit-ID: He7jBVqZuLn
2017-04-18 11:09:39 -04:00
peter chang
4cf27c49b8
Bug 1345017 - Disable OMTA with webrender by default, r=kats
...
MozReview-Commit-ID: 4cA8n8XYall
2017-04-17 22:22:47 +08:00
peter chang
59102e0ad9
Bug 1345017 - Discard compositor animations on the next layer transaction, r=kats
...
Animations in content side could be removed easily by changing CSS, but the
CompositorAnimationStorage in parent side doesn't get updated. Therefore,
we store the layer's CompositorAnimationsId before layer is destroyed in
WebRenderLayerManager and then send out these discarded ids to parent on
the next layer transaction.
MozReview-Commit-ID: D4kbYsgLl4P
2017-04-14 11:58:42 +08:00
peter chang
e238a80556
Bug 1345017 - Add animation sampling for WR, r=kats
...
MozReview-Commit-ID: AR2vajUf2o0
2017-04-12 16:40:48 +08:00
David Anderson
af30648746
Make PLayerTransaction's constructor async. (bug 1350634, ipc_r=billm, r=mattwoodrow, r=kats)
...
PLayerTransaction's constructor was previously synchronous so we could
return a TextureFactoryIdentifier. This is quite reliably available
already in the case of opening a tab, due to RenderFrameParent knowing
which compositor it is attached to, so we can make the constructor
asynchronous.
In the top-level widget case, we add a new synchronous message to find
the TextureFactoryIdentifier.
2017-05-05 10:53:17 -07:00
Sebastian Hengst
087bd41f0f
Backed out changeset 9badb2705567 (bug 1322650)
2017-05-05 18:54:09 +02:00
Sebastian Hengst
e3ef2e2a78
Backed out changeset b12a741ef025 (bug 1322650)
2017-05-05 18:53:59 +02:00
Sebastian Hengst
8eeeb93b94
Backed out changeset 0c01bf8a1bd9 (bug 1322650)
2017-05-05 18:53:45 +02:00
James Willcox
f8f0fe9303
Bug 1322650 - Support a 'continuous' mode for SurfaceTexture r=jgilbert
...
This is needed to support Flash on Android
MozReview-Commit-ID: 5yNIoZHonla
2017-05-05 08:56:35 -05:00
James Willcox
83de9ddd9d
Bug 1322650 - Allow access to TexturePoolOGL from Java r=jchen
2017-05-05 08:56:31 -05:00
James Willcox
a7f7a7b630
Bug 1322650 - Use SurfaceTexture for WebGL on Android in E10S r=jgilbert
...
The main advantage here is that it works cross-process.
MozReview-Commit-ID: 7YUTVB4Bydg
2017-05-05 08:56:28 -05:00
Carsten "Tomcat" Book
170faef00b
Merge mozilla-central to mozilla-inbound
2017-05-05 15:25:16 +02:00
Carsten "Tomcat" Book
fdc689ba16
merge mozilla-inbound to mozilla-central a=merge
2017-05-05 15:17:26 +02:00
Nicholas Nethercote
ea25e62e3c
Bug 1360471 (part 4) - Use a bitfield to represent profiler features. r=mstange.
...
Currently the profiler mostly uses an array of strings to represent which
features are available and in use. This patch changes the profiler core to use
a uint32_t bitfield, which is a much simpler and faster representation.
(nsProfiler and the profiler add-on still use the array of strings, alas.) The
new ProfilerFeature type defines the values in the bitfield.
One side-effect of this change is that profiler_feature_active() now can be
used to query all features. Previously it was just a subset.
Another side-effect is that profiler_get_available_features() no longer incorrectly
indicates support for Java and stack-walking when they aren't supported. (The
handling of task tracer support is unchanged, because the old code handled it
correctly.)
2017-05-01 14:23:34 +10:00
David Anderson
9332f7b6ca
Don't synchronously composite when resizing widgets on Windows. (bug 1361257, r=bas)
2017-05-05 01:10:48 -07:00
Jonathan Watt
cb165b4a0a
Bug 1359155, part 3 - Convert BasicPlanarYCbCrImage::CopyData to use Moz2D's StrideForFormatAndWidth. r=mstange
...
MozReview-Commit-ID: F8EyjjQ0sX9
2017-03-30 15:58:31 +01:00
peter chang
2fdfc8c722
Bug 1345017 - pass animation data from content to WebRenderBridgeParent, r=kats
...
MozReview-Commit-ID: 7p5ocyr1ywV
2017-03-28 17:11:03 +08:00
Kartikaya Gupta
9945c16d87
Merge m-c to graphics
...
MozReview-Commit-ID: 9Ne0XZtlRh5
2017-04-18 08:36:05 -04:00
Ethan Lin
0e0ea44db7
Bug 1349500 - Add webrender support for BulletFrame path type. r=mchang
2017-04-18 14:26:41 +08:00
Kartikaya Gupta
4087e4ae28
Merge m-c to graphics
...
MozReview-Commit-ID: KwTegQDnKGG
2017-04-17 10:33:46 -04:00
sotaro
444f539c4b
Bug 1356960 - Avoid to allocate WebRenderTextureHost for TextureHost of VideoBridgeParent and VRManagerParent r=jerry
2017-04-17 22:08:43 +09:00
Kartikaya Gupta
1e8738cabb
Merge m-c to graphics
...
MozReview-Commit-ID: 7iqIrSl2VpU
2017-04-15 17:05:27 -04:00
Sebastian Hengst
8bd051237a
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: JpAhOPjgvkF
2017-04-15 19:59:24 +02:00
sotaro
43525e6cb0
Bug 1356190 - Fix GetNextExternalImageId() r=jrmuizel
2017-04-14 17:06:09 +09:00
Kartikaya Gupta
a31c603d6e
Bug 1355679 - Handle GPU resets more gracefully. r=sotaro
...
MozReview-Commit-ID: Jwet83crhPW
2017-04-14 00:03:26 -04:00
sotaro
a824933324
Bug 1356130 - Change SendImageContainer() as to return Maybe<wr::ImageKey> r=jrmuizel
2017-04-14 09:13:12 +09:00
Kartikaya Gupta
b4341d2689
Merge m-c to graphics
...
MozReview-Commit-ID: EGaA6e4loBM
2017-04-13 11:08:02 -04:00
sotaro
79b1971bae
Bug 1356088 - Fix ImageKey removals of ExternalImages r=jrmuizel
2017-04-13 20:53:21 +09:00
Ethan Lin
ea26418751
Bug 1355012 - Add mask layer support for WebRenderDisplayItemLayer. r=kats
2017-04-13 15:13:51 +08:00
Jeff Muizelaar
93b3636151
Bug 1345142. Move Image discard back to child. r=nical
...
This gets rid of the implicit discard that happens on the parent side
when using external images.
2017-04-12 15:26:23 -04:00
vincentliu
a51b34a54e
Bug 1350330 - Make sure IPC channel still Open before sending IPC message. r=dvander
2017-04-17 15:50:42 +08:00
Kartikaya Gupta
94b7025994
Bug 1355791 - Instead of pushing a scroll layer, put the clip mask into the existing item clip. r=jrmuizel
...
MozReview-Commit-ID: jdKEkamSs4
2017-04-12 11:08:39 -04:00
Kartikaya Gupta
2807504086
Merge m-c to graphics
...
MozReview-Commit-ID: 3cMszvTBvR8
2017-04-12 08:54:40 -04:00
sotaro
f06d05ed4a
Bug 1355678 - Remove unused code from WebRenderImageLayer::RenderMaskLayer() r=ethlin
2017-04-12 16:51:13 +09:00
sotaro
a065863ed2
Bug 1355401 - Bind only WebRenderImageHost to ExternalImageId r=jerry
2017-04-12 10:42:33 +09:00
Kartikaya Gupta
db665d693b
Bug 1355612 - Make WrGlyphInstance hold a Point2D instead of raw x/y to match the Rust side. r=jrmuizel
...
MozReview-Commit-ID: 7OtctQ4gWyv
2017-04-11 18:00:50 -04:00
Kartikaya Gupta
8050498fed
Bug 1355602 - Decouple pushing scroll layers from pushing stacking contexts. r=jrmuizel
...
This removes the call to push_scroll_layer in wr_push_stacking_context, so that
it's now possible to push a stacking context without necessarily pushing a
scroll layer. There is already a separate function to push a scroll layer so the
call sites can do that. This patch just changes all the call sites that were
pushing a stacking context to also push a scroll layer, so there should be no
functional change. Future patches can remove the spurious scroll layers.
MozReview-Commit-ID: FtCkc9JQd8l
2017-04-11 17:04:59 -04:00
Kartikaya Gupta
aa20d100c1
Merge m-c to graphics
...
MozReview-Commit-ID: Ij5C7MUete4
2017-04-11 10:09:54 -04:00
David Anderson
fc959f3460
Add a fixed-width font for the compositor's debug overlay. (bug 1352151 part 9, r=bas)
...
--HG--
extra : rebase_source : dc65a2bfb0bb166b5f116f04e2b5ecc395578ba5
2017-04-10 19:44:47 -07:00
David Anderson
3ffc9da44f
Allow TextRenderer to render multiple fonts. (bug 1352151 part 8, r=bas)
...
--HG--
extra : rebase_source : a3e588eaae57326654b945c2711276b6d71c442e
2017-04-10 19:44:47 -07:00
David Anderson
70f688f03e
Add GPU draw time to the compositor diagnostic overlay. (bug 1352151 part 7, r=bas)
...
--HG--
extra : rebase_source : fce64dde2a8632a374e40a5687852b147ebd8747
2017-04-10 19:44:46 -07:00
David Anderson
ce7cc32129
Improve pixel fill statistics in the D3D11 compositor overlay. (bug 1352151 part 6, r=bas)
...
This introduces two new statistics to the overlay. The first is the ratio of
pixel shader invocations (as determined by the GPU) to the number of pixels we
determined need to be redrawn. The ideal ratio is 1.0, indicating that we
filled every pixel exactly once. Anything over 1.0 indicates overdraw.
We also add the ratio of shaded pixels to window size. This indicates how well
we computed the invalid region, and whether or not we overfilled that
region.
Note that the OpenGL and Basic compositors do not yet query the GPU for
this statistic, so they will estimate shader invocations by the area of
DrawQuad calls.
Finally, we remove the feature where layout can request the most
recent overdraw statistic. It was not implemented on all compositors, and the
only test that used it was disabled.
--HG--
extra : rebase_source : 448a162998921974575a1a988bcfde52c959d3ed
2017-04-10 19:44:46 -07:00
David Anderson
2f41377215
Refactor CompositorD3D11::EndFrame. (bug 1352151 part 5, r=bas)
...
This factors out ID3D11Query handling, and makes EndFrame() shorter by
moving out presentation code.
--HG--
extra : rebase_source : c23547a16f9496caa2b83fca8e41d2b4e14bea3a
2017-04-10 19:44:46 -07:00
David Anderson
ac38010856
Remove the TextureRender dependency on Compositor. (bug 1352151 part 4, r=mattwoodrow)
...
--HG--
extra : rebase_source : 8664ae8130917a6efa972a9ea8fa109330f03217
2017-04-10 19:44:45 -07:00
David Anderson
dd464dcc40
Remove FPSState. (bug 1352151 part 3, r=mattwoodrow)
...
--HG--
extra : rebase_source : 27454cb163e79a26842963d0cf468aec617254d3
2017-04-10 19:44:45 -07:00
David Anderson
432eda07ae
Switch the compositor to a new debug overlay. (bug 1352151 part 2, r=mattwoodrow)
...
--HG--
extra : rebase_source : 61f5ead93af89bf3b878a785b662769b6d9ad9fc
2017-04-10 19:44:45 -07:00
David Anderson
a8433cef6b
Collect diagnostics on paint times for the compositor overlay. (bug 1352151 part 1, r=mattwoodrow)
...
--HG--
extra : rebase_source : f30dc11079add3f1019777b1c85cc5c5a5f0596b
2017-04-10 19:44:45 -07:00
Sebastian Hengst
9b51c27976
Backed out changeset 8657d0055dab (bug 1351426) for bustage (implicit conversion at BSPTree.h:64). r=backout
2017-04-11 20:03:56 +02:00
Sebastian Hengst
67049aa323
Backed out changeset 2c56897d9ed1 (bug 1351426)
2017-04-11 20:02:40 +02:00
Sebastian Hengst
cf82b62831
Backed out changeset 347a0fff68ba (bug 1351426)
2017-04-11 20:02:35 +02:00
Sebastian Hengst
1a9742b9c6
Backed out changeset 00c0bff27644 (bug 1351426)
2017-04-11 20:02:31 +02:00
Kartikaya Gupta
41e55cb57d
No bug - Remove outdated and incorrect comment. r=me and DONTBUILD
...
MozReview-Commit-ID: Iai8TvtaBUw
2017-04-17 19:41:14 -04:00
Jamie Nicol
2df2e6a3af
Bug 1355045 - Transform bounds before making relative to parent in GetWrRelBounds. r=ethlin
...
MozReview-Commit-ID: 7xLzPM1lmz0
2017-04-07 15:13:50 +01:00
Kartikaya Gupta
f9160f3d3d
Bug 1355193 - Stop looking for a parent stacking context in the scroll metadata. r=mchang
...
MozReview-Commit-ID: A2VjaUohUxh
2017-04-10 18:49:12 -04:00
Kartikaya Gupta
18bf4caba2
Merge m-c to graphics
...
MozReview-Commit-ID: ICVAgHmKVL4
2017-04-10 08:47:20 -04:00
Ethan Lin
51845cfe25
Bug 1354464 - Fix the size of webrender mask layer. r=mchang
2017-04-10 17:10:37 +08:00
sotaro
292e80ffe3
Bug 1354474 - Add FlushRendering() and Composite() support to WebRenderLayerManager r=mattwoodrow
2017-04-10 15:58:29 +09:00
sotaro
56bf559123
Bug 1354085 - Fix WebRenderLayerManager::NeedsWidgetInvalidation() r=mattwoodrow
2017-04-07 09:27:59 +09:00
Sebastian Hengst
4c8fa6d5da
merge mozilla-central to autoland. r=merge a=merge
2017-04-15 00:08:12 +02:00
Sebastian Hengst
d8496d0a1f
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: EjT9dcum69m
2017-04-14 23:56:10 +02:00
Morris Tseng
7eb27c99ad
Bug 1358961 - IsPartOfOpaqueLayer should consider ColorLayer as well. r=mattwoodrow
...
MozReview-Commit-ID: 9PUKdz7m1uJ
2017-04-25 11:02:48 +08:00
Gregory Moore
022156f613
Bug 1180799 - Support momentum scrolling after two-fingered pans on pages that don't allow zooming. r=botond,kats
...
MozReview-Commit-ID: IAhD3jO4NWH
--HG--
extra : rebase_source : 782699a9f501327431bf66645b3313921a864e09
extra : source : 456dbb5c2b93ba738bc5b0e15d7e43cab2d0a856
2017-03-25 18:36:35 -07:00
Wes Kocher
228c755a80
Merge inbound to central, a=merge
2017-04-17 12:56:25 -07:00
Jeff Muizelaar
67e82cd2a7
Bug 1356689. Add pref to highlight painted layers. r=mchang
...
This is valuable for looking at pages to see where we're still using
painted layers.
2017-04-17 11:10:02 -04:00
Kartikaya Gupta
5e82717849
Bug 1350638 - Remove the GetCompositorOptions IPC message as it is no longer used. r=dvander
...
MozReview-Commit-ID: 18uiWGA9eJy
--HG--
extra : rebase_source : 217697a0e63d8c02d78de894ff7f33850924e50c
2017-04-09 17:31:59 -04:00
Kartikaya Gupta
a13700a7ce
Bug 1350638 - Remove sync GetCompositorOptions call added in the last patch. r=dvander
...
This call should be a no-op in the real world, and should be safe to
remove. The patch also adds an assert to ensure that the call is
effectively a no-op.
MozReview-Commit-ID: BXdcnHULWW2
--HG--
extra : rebase_source : 03c57d2d6dbfb1d330ce7eab6d842d8375d33208
2017-04-09 17:31:06 -04:00
Kartikaya Gupta
1bfa62105b
Bug 1350638 - Remove sync GetCompositorOptions call in TabChild::InitRenderingState. r=dvander
...
The goal of this patch is to remove the call to the sync IPC
GetCompositorOptions message from TabChild::InitRenderingState. In order
to this, we have InitRenderingState take the CompositorOptions as an
argument instead, and propagate that backwards through the call sites.
Eventually we can propagate it back to a set of already-sync IPC
messages in PCompositorBridge that are used during layers id
registration (NotifyChildCreated, NotifyChildRecreated, etc.). Therefore
this patch effectively piggybacks the CompositorOptions sync IPC onto
these pre-existing sync IPC messages.
The one exception is when we propagate it back to the AdoptChild call.
If this message were sync we could just use it like the others and have
it return a CompositorOptions. However, it is async, so instead we add
another call to GetCompositorOptions here temporarily. This will be
removed in the next patch.
MozReview-Commit-ID: AtdYOuXmHu4
--HG--
extra : rebase_source : 5b80831cf84d3a4b57b2214a12ccf8a896cfa3a7
2017-04-09 17:30:27 -04:00
Bob Owen
3f14ad38c2
Bug 1347646 Part 1: Backout 4849ef8c9a34 for causing OOM issues when printing PDFs. r=jwatt, r=lsalzman, r=tobytailor
2017-04-08 22:47:51 +01:00
Kevin Chen
8dc292c901
Bug 1350828 - Label CompositorForwarder; r=bevistseng,kats
...
MozReview-Commit-ID: 714oc4O8MNs
--HG--
extra : rebase_source : fa07e6cc6daf1e51818cdc9dabcceb39f7bc90c8
2017-03-29 13:49:20 +08:00
Gregory Moore
41c5615de3
Bug 1180799 - Support momentum scrolling after two-fingered pans on pages that don't allow zooming. r=botond
...
--HG--
extra : rebase_source : 32f6c2eb545febde577d1739d5903008116a65f6
2017-03-25 18:36:35 -07:00
Wes Kocher
514e230373
Merge inbound to central, a=merge
2017-04-13 17:24:01 -07:00
Wes Kocher
4fab232444
Merge autoland to central, a=merge
2017-04-13 13:03:43 -07:00
Jeff Gilbert
326703ec04
Bug 1355763 - Add gfxAlphaType for specifying opaque/premult/non-premult. - r=daoshengmu
...
MozReview-Commit-ID: Jzr8aPYlEcO
2017-04-13 09:14:34 -07:00
Kartikaya Gupta
bdeb25f52a
Bug 1355944 - Back out cset 456dbb5c2b93 (bug 1180799) for causing unexpected behaviour. r=backout
...
MozReview-Commit-ID: FW1DDt7ax9U
2017-04-13 08:24:25 -04:00
Botond Ballo
db703a3ed0
Bug 1355374 - Remove the no-longer-used LayerMetricsWrapper::GetScrollThumbLength() and HitTestingTreeNode::mScrollThumbLength. r=kats
...
MozReview-Commit-ID: ICm2Q1hnKD6
--HG--
extra : rebase_source : 3152714a349ce134d30dc48c94b40b59053ab195
2017-04-21 13:59:32 -04:00
Botond Ballo
9323d2bb93
Bug 1355374 - Use the AsyncDragMetrics to communicate the scroll thumb length to APZ. r=mstange
...
MozReview-Commit-ID: DJUKr4s9nWQ
--HG--
extra : rebase_source : d5f9a265098c343416fc933135b4f28a808cd49e
2017-04-21 13:57:11 -04:00
Wes Kocher
2aa3f2f2e2
Merge m-c to autoland, a=merge
2017-04-19 17:17:20 -07:00
David Anderson
2797bf465d
Don't gfxDevCrash when video fails to acquire a SyncObject. (bug 1345735 part 2, r=mattwoodrow)
...
--HG--
extra : rebase_source : 50ea965347b36a475bd8f03adcde68e4c333e1c3
2017-04-19 07:24:44 -07:00
Carsten "Tomcat" Book
e2b810f97e
Merge mozilla-central to mozilla-inbound
2017-04-19 10:49:57 +02:00
Matt Woodrow
d2f04fbaa8
Bug 1341496 - Part 3: Make CrossProcessSemaphore allocation fallible. r=billm
...
--HG--
extra : rebase_source : 318d2c835675547acf667ecfb20bb595ea86e59f
2017-04-19 15:39:11 +12:00
Matt Woodrow
227b55240c
Bug 1341496 - Part 2: Don't use a separate ReadLock for the second component alpha texture as they should always be locked/unlocked at the same time. r=nical
...
--HG--
extra : rebase_source : e329a708f4cad44cba9be01cf209842d6fe30619
2017-04-19 15:16:13 +12:00
Matt Woodrow
9423e9b713
Bug 1341496 - Part 1: Don't try to serialize read locks that aren't valid. r=nical
...
--HG--
extra : rebase_source : 2d3f5b89db84427199e3056fb893415f6e0e3e20
2017-04-19 15:15:42 +12:00
sotaro
44c4c93a0a
Bug 1354031
- Add IPC open check to TextureClientRecycleAllocator::CreateOrRecycle() r=mattwoodrow
2017-04-07 09:23:40 +09:00
Lee Salzman
22fb7629b8
Bug 1348980 - use UnscaledFont to track WebRender font keys. r=jrmuizel
2017-04-06 17:41:24 -04:00
Kartikaya Gupta
eb2583d29f
Bug 1345355 - Add a gtest for a pinch with zero span but changing focus. r=botond
...
MozReview-Commit-ID: 8AstF1QmBzw
2017-04-06 17:41:01 -04:00
Iris Hsiao
d13a81eccb
Merge mozilla-central to mozilla-inbound
2017-04-12 11:24:24 +08:00
Bill McCloskey
30b9639c6e
Bug 1333968 - Label the DidComposite message (r=dvander)
...
MozReview-Commit-ID: 7cW7apxUJu0
2017-04-11 12:59:13 -07:00
Miko Mynttinen
5a0186840b
Bug 1351426 - Part 5: Cleanup style and comments r=kip
...
MozReview-Commit-ID: HOPY8v4UWKo
--HG--
extra : rebase_source : 3af5c5ed3cabc39a6ecd122f961aba16309518b1
2017-04-04 03:59:31 +02:00
Miko Mynttinen
9ee1c2deba
Bug 1351426 - Part 4: Refactor gfx::Polygon to avoid unnecessary work and memory allocations r=kip
...
MozReview-Commit-ID: ASusoTqZxuY
--HG--
extra : rebase_source : 1967c11e76853297a2ce405e598b3db2b2b0c112
2017-04-04 04:51:29 +02:00
Miko Mynttinen
ec2807c91a
Bug 1351426 - Part 3: Refactor BSPTree to use list instead of deque and use arena for memory allocations r=kip
...
MozReview-Commit-ID: F4ezRzbGihI
--HG--
extra : rebase_source : 85c91cac817a733e5b062285d4951996270feabf
2017-04-10 16:35:56 +02:00
Miko Mynttinen
0b813a9c27
Bug 1351426 - Part 1: Move the layer geometry instead of copying r=mattwoodrow
...
MozReview-Commit-ID: BgSAgBECTui
--HG--
extra : rebase_source : 8a22f67163fd62d547f415ca20a5fe5bbe41e1ad
2017-04-04 03:09:06 +02:00
Hiroyuki Ikezoe
751ec1a2f7
Bug 1361632 - Adjust reftest expectation for -moz-appearance. r=bholley
...
MozReview-Commit-ID: 6sqyA5TCHjk
--HG--
extra : rebase_source : 4957d93a55717850594dabc2650cecf060022f75
2017-05-04 06:39:30 +09:00
Bas Schouten
76892628f3
Bug 1348320: Use UpdateSubResource on crashy intel device/OS version combinations. r=jrmuizel
...
MozReview-Commit-ID: EdDn4qy1ajP
--HG--
extra : rebase_source : fadec88a9586bc40e44d2f91aae5c9c5f8f59a5c
2017-05-01 01:11:24 +00:00
Kartikaya Gupta
aaee175243
Bug 1360613 - Don't call BorrowDrawTarget on a null texture. r=ethlin
...
MozReview-Commit-ID: EtBMTwA5mcB
--HG--
extra : rebase_source : 87de2f03dba406974fc8c9037e1ddf7af0e25e49
2017-05-02 22:22:47 -04:00
Sebastian Hengst
0d8a182804
Backed out changeset 25f2e9e2068d (bug 1343754) for crashing e.g. in dom/workers/test/serviceworkers/test_fetch_integrity.html. r=backout
2017-05-03 12:59:36 +02:00
Sebastian Hengst
bc111f528d
Backed out changeset a5037670cb10 (bug 1343754)
2017-05-03 12:58:29 +02:00
Kevin Chen
ae41b0ceb9
Bug 1343754 - Label PLayerTransaction; r=bevistseng,kats
...
MozReview-Commit-ID: 8QF5SQKuFhY
--HG--
extra : rebase_source : c2dca1fff0e96489b87c704200a19a4b037c04f7
2017-03-21 03:57:56 +00:00
Kevin Chen
bdb02a828a
Bug 1343754 - Add a function for replacing event target for actor and label PTexture; r=bevistseng,billm,nical
...
MozReview-Commit-ID: KGVBWsexkqC
--HG--
extra : rebase_source : 5ac2edced51462fd013f0efba0e434d6a2fc7863
2017-03-21 03:57:56 +00:00
Iris Hsiao
bf9a6182a2
Backed out changeset f97fd860c168 (bug 1355763)
2017-04-13 14:46:43 +08:00
Jeff Gilbert
95c5ba8077
Bug 1355763 - Add gfxAlphaType for specifying opaque/premult/non-premult. - r=daoshengmu
...
MozReview-Commit-ID: Jzr8aPYlEcO
2017-04-12 22:03:43 -07:00
Ehsan Akhgari
3b93e5ad89
Bug 1354412 - Remove nsIDOMWindowUtils.beginTabSwitch(); r=jrmuizel
2017-04-12 23:31:39 -04:00
sotaro
6a13c9b7ac
Bug 1355743 - Fix empty Image case handling of ImageClientSingle::UpdateImage() r=mattwoodrow
2017-04-13 11:01:08 +09:00
Kartikaya Gupta
a1ccf6bbaa
Bug 1357390 - Consistently use uint64_t for the referent id, because that's what it really is. r=mattwoodrow
...
MozReview-Commit-ID: LPxcElOVrU3
--HG--
extra : rebase_source : 7b5e27fcfd8b13fbe8ed1e34abc98cc43c7e8ae1
2017-04-18 08:43:08 -04:00
Andrew Osmond
164b45b6a8
Bug 1356289 - Part 2. Make gfx use the new SharedMemory::SetHandle API. r=jrmuizel
2017-04-18 12:25:00 -04:00
Miko Mynttinen
8b381c5851
Bug 1351426 - Part 5: Cleanup style and comments r=kip
...
MozReview-Commit-ID: HOPY8v4UWKo
--HG--
extra : rebase_source : 7ad62ab33ba21996adaa81d8152ea73d3073f6aa
2017-04-04 03:59:31 +02:00
Miko Mynttinen
e0b243a92d
Bug 1351426 - Part 4: Refactor gfx::Polygon to avoid unnecessary work and memory allocations r=kip
...
MozReview-Commit-ID: ASusoTqZxuY
--HG--
extra : rebase_source : f9968b6993fdfd0ff62afcae35ec2ad805d37042
2017-04-04 04:51:29 +02:00
Miko Mynttinen
6bb26910a0
Bug 1351426 - Part 3: Refactor BSPTree to use list instead of deque and use arena for memory allocations r=kip
...
MozReview-Commit-ID: F4ezRzbGihI
--HG--
extra : rebase_source : 56ce1572ed0c4f6ee41bc91d90cf6978e5016792
2017-04-10 16:35:56 +02:00
Miko Mynttinen
375eabdac6
Bug 1351426 - Part 1: Move the layer geometry instead of copying r=mattwoodrow
...
MozReview-Commit-ID: BgSAgBECTui
--HG--
extra : rebase_source : 79a8441109c1d1c41c8903b087d16cfe8d0c5171
2017-04-04 03:09:06 +02:00
Kartikaya Gupta
035b0aa65f
Bug 1354924
- Fix mousewheel multiplier prefs for external mouse devices on OS X. r=botond
...
The code in the OS X widget was calling ReceiveInputEvent on IAPZCTreeManager
with a ScrollWheelInput, which would bypass the multiplier code. This modifies
the widget to use a WidgetWheelEvent instead, so that it goes through the
IAPZCTreeManager multiplier handling for wheel inputs. Other platforms already
send wheel events in WidgetWheelEvent format so they don't have this problem.
MozReview-Commit-ID: 5gOOGnfD87W
--HG--
extra : rebase_source : f13c6e13a89ce450fa4f287eb30f054fe3fc326a
2017-04-11 09:39:06 -04:00
Miko Mynttinen
d5c1995700
Bug 1345849 - Part 2: Remove unused Triangle::width and height r=jrmuizel
...
MozReview-Commit-ID: QfOaZcv2uu
--HG--
extra : rebase_source : 12d1f458156e62aab56834d83e1951db3554f43a
2017-03-27 16:22:35 -04:00
Miko Mynttinen
9f15e545a5
Bug 1345849 - Part 1: Use DrawTriangles() instead of DrawTriangle() in OpenGL compositor backend r=jrmuizel
...
MozReview-Commit-ID: H11vFsMlIaA
--HG--
extra : rebase_source : 56da41251925d335f8ba80f1a302e9a9a92ac972
2017-03-27 13:59:15 -04:00
David Anderson
bc9324f621
Make finer-grained decisions about whether to update hit testing trees. (bug 1352918
, r=kats)
...
Updating hit testing trees is very expensive for many layers, and often
layer properties that change don't necessitate hit testing tree updates.
While layer tree structure changes do, we can be smarter about
individual layer attributes.
2017-04-13 21:25:16 -07:00
Kartikaya Gupta
cce9ee69dc
Bug 1345355 - Allow pinch gestures with a zero span change but a nonzero focus change to scroll. r=botond
...
It appears that some touchpad devices send us "touch" events (i.e. WM_TOUCH on
Windows) but with all touch points having the same coordinates. This ends up
getting detected as a zero-span pinch gesture in APZ, which short-circuits early
and doesn't really get processed. Therefore even if the focus point changes we
don't do any corresponding scroll. This patch shifts things around a little so
that the short-circuit doesn't happen quite so early, and we still scroll when
the focus point changes, even if the span is zero.
MozReview-Commit-ID: 3CaQN1MsM8y
2017-04-06 16:17:54 -04:00
Sotaro Ikeda
fe30e9db69
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
Kartikaya Gupta
c32c70abe2
Merge m-c to graphics
...
MozReview-Commit-ID: JgUpOHlFfrP
2017-04-05 09:41:01 -04:00
Kartikaya Gupta
8335081baa
Merge m-c to graphics
...
MozReview-Commit-ID: DenuOx3ztpy
2017-04-04 22:47:56 -04:00
Kartikaya Gupta
868642f10c
Merge m-c to graphics
...
MozReview-Commit-ID: KJoBJaTnxoC
2017-04-02 22:46:53 -04:00
Kartikaya Gupta
acefdfbab2
Merge m-c to graphics
...
MozReview-Commit-ID: Gmms6PhTr8U
2017-03-31 10:37:00 -04:00
JerryShih
15fde99d2c
Bug 1347062 - P5: use texture handle directly with webrender. r=nical,sotaro
...
MozReview-Commit-ID: 1XLiFcpFEeu
2017-03-31 22:29:15 +08:00
JerryShih
b0ffca2f70
Bug 1347062 - P4: create RenderBufferTextureHost and RenderMacIOSurfaceTextureHostOGL. r=nical,sotaro
...
1) make RenderTextureHost into a abstract base class for all RenderXXXTextureHost.
2) create a base class RenderTextureHostOGL for all texture handle base texture.
3) create RenderBufferTextureHost for buffer texture at render thread.
4) create RenderMacIOSurfaceTextureHostOGL for MacIOSurface at render thread.
--HG--
rename : gfx/webrender_bindings/RenderBufferTextureHost.h => gfx/webrender_bindings/RenderTextureHost.h
2017-03-31 22:29:14 +08:00
JerryShih
f8987906e1
Bug 1347062 - P3: rename from RenderTextureHost to RenderBufferTextureHost for further updating. r=sotaro
...
We will have a class RenderTextureHost as the base-class and its sub-class RenderBufferTextureHost in next patch. Use "rename" to preserve the file history.
MozReview-Commit-ID: KiqaO616AHc
--HG--
rename : gfx/webrender_bindings/RenderTextureHost.cpp => gfx/webrender_bindings/RenderBufferTextureHost.cpp
rename : gfx/webrender_bindings/RenderTextureHost.h => gfx/webrender_bindings/RenderBufferTextureHost.h
2017-03-31 22:29:14 +08:00
David Anderson
0f3b97ed9c
When using the GPU process, combine layer ownership and window mapping into a single IPC message. (bug 1350660 part 1, r=rhunt, r=billm)
2017-04-03 15:13:37 -07:00
sotaro
489d43d47c
Bug 1348936 - Fix BasicPlanarYCbCrImage::CopyData() r=nical
2017-04-05 11:45:13 +09:00
Eric Rahm
89708e6a2a
Bug 1353143 - Part 5: Replace direct usage of PR_LogPrint. r=froydnj
...
This replaces the usage of |PR_LogPrint| with either |printf_stderr| or
|MOZ_LOG| where appropriate. |printf_stderr| is used where a logger is not
actually available or if log levels are not being used as expected.
2017-04-04 14:36:21 -07:00
L. David Baron
8d8382d9ed
Bug 1348894 - Use CheckedInt more. r=jgilbert
...
MozReview-Commit-ID: G5edsCAvRix
--HG--
extra : transplant_source : %E6%FB%C4R%E3%86%1728%E9%D4%1Br%FEs%E5%E9%90%B8%96
2017-03-29 22:52:12 -04:00
Kartikaya Gupta
317d304694
Merge m-c to graphics
...
MozReview-Commit-ID: 9kxCUtDZT9J
2017-03-29 10:24:15 -04:00
Mason Chang
e08bd7cbdb
Bug 1351114 Properly track display item layers in layer managers. r=mattwoodrow
2017-03-28 22:37:11 -07:00
Kearwood Gilbert
220a8666bf
Bug 1350794 - Avoid dereferencing aProvider when null in DataTextureSourceD3D11 constructor
...
- Require bug 1350247 patch to land first to fix WebVR crash
MozReview-Commit-ID: fEsjE22mPc
2017-03-27 21:33:53 -04:00
David Anderson
03f8916ea2
Fix an APZ crash when a tab loads after its widget has been destroyed. (bug 1360478, r=kats)
...
Since tabs are loaded and shutdown asynchronously with respect to the UI
process, it is possible for a tab to be loading as its parent widget and
compositor are shutting down. We protect PAPZCTreeManager's constructor
against this by making a temporary APZCTM object.
--HG--
extra : rebase_source : 64be2e2dafc578effe2e0fc89c0c325e24419e0d
2017-04-28 11:22:21 -07:00
David Anderson
0622d767aa
Fix a race condition between VideoBridge and Compositor thread shutdown. (bug 1356365, r=mattwoodrow)
2017-04-20 19:32:48 -07:00
Markus Stange
853d16cc7d
Bug 1349418 - Remove checkerboarding code and just use an opaque background color behind root scroll frames. r=kats
...
--HG--
extra : rebase_source : d6b27d8b36eb8329cead0bd184c7ec6fd983ba53
2017-04-21 14:02:15 +12:00
Randall Barker
a606cd8b60
Bug 1335895 - Android GeckoView Dynamic Toolbar Version 3 r=botond,dvander,jchen,kats
...
This version of the Dynamic Toolbar moves the animation of the toolbar
from the Android UI thread to the compositor thread. All animation for
showing and hiding the toolbar are done with the compositor and a static
snapshot of the real toolbar.
MozReview-Commit-ID: BCe8zpbkWQt
2017-04-20 15:15:14 -07:00
Carsten "Tomcat" Book
54c9498baf
Merge mozilla-central to mozilla-inbound
2017-04-20 13:03:06 +02:00
Chris Peterson
e3861f063d
Bug 1356843 - Fix -Wcomma warnings in gfx/layers/Layers.cpp. r=mchang
...
clang's -Wcomma warning warns about suspicious use of the comma operator such as between two statements.
gfx/layers/Layers.cpp:1944:33 [-Wcomma] possible misuse of comma operator here
gfx/layers/Layers.cpp:1945:33 [-Wcomma] possible misuse of comma operator here
gfx/layers/Layers.cpp:1946:33 [-Wcomma] possible misuse of comma operator here
gfx/layers/Layers.cpp:1949:37 [-Wcomma] possible misuse of comma operator here
gfx/layers/Layers.cpp:1950:37 [-Wcomma] possible misuse of comma operator here
gfx/layers/Layers.cpp:1951:37 [-Wcomma] possible misuse of comma operator here
gfx/layers/Layers.cpp:1952:37 [-Wcomma] possible misuse of comma operator here
gfx/layers/Layers.cpp:1953:37 [-Wcomma] possible misuse of comma operator here
gfx/layers/Layers.cpp:1954:37 [-Wcomma] possible misuse of comma operator here
gfx/layers/Layers.cpp:1955:37 [-Wcomma] possible misuse of comma operator here
gfx/layers/Layers.cpp:1956:37 [-Wcomma] possible misuse of comma operator here
MozReview-Commit-ID: 9lMJZrPRtTV
--HG--
extra : rebase_source : ecb4773c4fd98adfc8e254bff697027e24c64dbd
extra : source : 2288643cc9361735fd87b35801393bd2da47d952
2017-03-27 21:29:42 -07:00
Kartikaya Gupta
24bc55af4f
Bug 1361111 - Avoid sending IPDL messages over a dead channel. r=jerry
...
If the GPU process resets, we get a call to destroy the WebRenderLayerManager.
This in turns tries to send messages over the PWebRenderBridge channel which
has already been torn down. We should detect this case and avoid sending the
messages.
MozReview-Commit-ID: AV3q0WVpPN5
--HG--
extra : rebase_source : 12d5b46a473e9505109ce2797a196a6e220d6d35
2017-05-01 15:47:32 -04:00
Michael Layzell
8b7ba021a4
Bug 1339537
- Part 6: Pass std::function values tree by const reference instead of by value, r=ehsan
...
MozReview-Commit-ID: PVAqU2DPs2
2017-04-27 12:44:57 -04:00
David Anderson
35dada3363
Make sure to call ClearTree when creating a temporary APZCTreeManager. (bug 1360478 follow-up, r=kats)
2017-05-04 00:13:38 -07:00
Hiroyuki Ikezoe
43a902cb19
Bug 1361632 - Adjust reftest expectation for -moz-appearance. r=bholley. a=merge
...
MozReview-Commit-ID: 6sqyA5TCHjk
--HG--
extra : rebase_source : 4957d93a55717850594dabc2650cecf060022f75
extra : amend_source : 6ee8241b984e300386da617fa9304b288989fdb7
2017-05-04 06:39:30 +09:00
Bas Schouten
d3a1d82710
Bug 1352442: Only clear transparent regions of the back buffer on BeginFrame. r=mattwoodrow
...
MozReview-Commit-ID: LDti2gljD7q
--HG--
extra : rebase_source : ff4e5dceac83c1598a41c2e9a642b95478576834
2017-03-31 15:36:03 +00:00
David Anderson
9b33134098
Fix not deallocating device data after changing OGL compositors. (bug 1350259, r=mattwoodrow)
...
--HG--
extra : rebase_source : 975ae741669600dde85ea7030252ba738c419e61
2017-03-27 14:03:59 -07:00
Nicolas Silva
70bbbf5ce9
Bug 1348291 - Call EndPaint when painting is skipped if BeginPaint was called. r=mattwoodrow
2017-03-28 14:28:45 +02:00
Bas Schouten
7f457d5cb3
Bug 1352163: Use buffer flipping for presenting to the browser window. r=mattwoodrow
...
MozReview-Commit-ID: JmJB6b9dP4S
--HG--
extra : rebase_source : f2d5e7c1f037bb4af1a95932b22c2842f0c244f7
2017-03-30 18:47:13 +00:00
Kartikaya Gupta
5590927943
Bug 1357530 - Remove unused code in LayerMetricsWrapper.h. r=botond
...
MozReview-Commit-ID: EkZsUapSqWO
--HG--
extra : rebase_source : 3fb544cbdcf30afa4a15136a2e9f5463b9d30f7f
2017-04-18 16:09:37 -04:00
Kevin Chen
e9665f4b28
Bug 1343754 - Label PLayerTransaction; r=bevistseng,kats
...
MozReview-Commit-ID: 8QF5SQKuFhY
--HG--
extra : rebase_source : c037cc20c6e4e09f28c78ebeb09e86ebfce58d6a
2017-03-21 03:57:56 +00:00
Kevin Chen
aa4fe616d0
Bug 1343754 - Add a function for replacing event target for actor and label PTexture; r=bevistseng,billm,nical
...
MozReview-Commit-ID: KGVBWsexkqC
--HG--
extra : rebase_source : 2ae5e2aa2e54cb2c368310ebdb1fdcbcae3092f4
2017-03-21 03:57:56 +00:00
Wes Kocher
c802acc868
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: L6QuPmxL0XP
2017-03-27 17:18:39 -07:00
Wes Kocher
ed79d988f0
Merge autoland to central, a=merge
...
MozReview-Commit-ID: 4DDSNU4ABBB
2017-03-27 17:03:30 -07:00
Bobby Holley
ffdc76986b
Bug 1351026 - Followup build bustage fix. rpending=froydnj CLOSED TREE
...
MozReview-Commit-ID: FnzU7d5Emq1
2017-03-27 14:34:46 -07:00
David Anderson
b048f397ca
Fix DXGITextureHostD3D11 not being able to lock without a compositor. (bug 1350247, r=mattwoodrow)
2017-03-27 14:02:50 -07:00
David Anderson
2c4840cca6
Fix DXGIYCbCrTextureHost not setting a TextureSourceProvider. (bug 1350251, r=mattwoodrow)
...
--HG--
extra : rebase_source : e6426ddb660ab2df6f263ff01a959deab86d60ce
2017-03-27 13:59:33 -07:00
Nicolas Silva
4a5a35a9a2
Bug 1347641 - Implement the BlobImageRenderer binding glue. r=jrmuizel
2017-03-27 13:44:52 +02:00
Ethan Lin
caa395107a
Bug 1348755 - Part1. Handle clipping region for nsDisplayOutline. r=mattwoodrow
2017-03-27 16:17:45 +08:00
Kartikaya Gupta
e69fbe4b0d
Bug 1338347 - Add code to measure the maximum number of contiguous frame drops in a compositor animation. r=botond
...
This value is computed directly from the longest frame length using the vsync
interval.
MozReview-Commit-ID: 9ALXBqAVyb8
--HG--
extra : rebase_source : 4798fa4e5734db98338fa9fcccb5e64b2c3354c4
2017-03-20 11:41:05 -04:00
Kartikaya Gupta
a6036c3329
Bug 1338347 - Refactor to group fields into a per-animation data structure. r=botond
...
No functional changes here, just creating a struct that we will expand in the
next patch.
MozReview-Commit-ID: HlSSvtIuYU5
--HG--
extra : rebase_source : fca9ec13018f77fae97c6907a188ecbfb5104921
2017-03-20 11:41:05 -04:00
Kartikaya Gupta
dc857723e6
Bug 1338347 - Record frame throughput ratio for APZ animations r=botond
...
MozReview-Commit-ID: 7Ljaya9RFeo
--HG--
extra : rebase_source : 13e92c1077cc5f257cce58ab193758395c133292
2017-03-20 11:41:05 -04:00
Kartikaya Gupta
c58659d822
Bug 1338347 - Record frame throughput ratios for compositor animations r=botond
...
This augments the AnimationMetricsTracker to also track compositor animations
triggered by chrome and content layers separately. During the animation, the
tracker keeps a count of frames composited, and once the animation ends, it
uses the wall-clock time and vsync interval to compute the expected number of
composited frames. It then submits a ratio of actual/expected to telemetry.
A score of 1000 (because the ratio is scaled up to an integer between 0 and 1000)
indicates a perfect score with no frames dropped. Lower values are worse, and
values significantly above 1000 indicate abnormal behaviour. Values may be slightly
above 1000 due to rounding error or vsync jitter.
MozReview-Commit-ID: 30Vw0j3dm9G
--HG--
extra : rebase_source : a35c764549c3441f89521629acfa11be82c004ae
2017-03-20 11:41:05 -04:00
Kartikaya Gupta
e459ecb293
Bug 1338347 - Have the animation-sampling code track which process the animations are in. r=botond
...
This allows the AsyncCompositionManager to know whether compositor animations
are coming from chrome layers or content layers (using the rootmost RefLayer
as the boundary). This information is needed to have the compositor animation
telemetry probes separate information by chrome/content.
MozReview-Commit-ID: GqHczgrzXE5
--HG--
extra : rebase_source : da0a279f3f09687133c4dea7c28b6bfebcc66cac
2017-03-20 11:41:05 -04:00
Kartikaya Gupta
3a0ad46db3
Bug 1350986 - Add some gfxCriticalNote messages for WebRender startup failure codepaths. r=jrmuizel
...
MozReview-Commit-ID: 7VHA8QBMvJ8
--HG--
extra : rebase_source : e90a2a9f5d89e417e02b1a6cc67fcc3e6973c115
2017-03-27 14:32:39 -04:00
Kevin Chen
bf53d0a60d
Bug 1343479 - Label the tasks for APZ module. r=bevistseng,kats
...
MozReview-Commit-ID: GkAl4MZorxP
--HG--
extra : rebase_source : 0134d0d69b5d8dba0fb39aa8908fbfa4d6a9d777
2017-03-23 06:16:38 +00:00
KuoE0
48061f481f
Bug 1348900 - Remove NewTimerCallback as it has been replaced by NewNamedTimerCallback. r=kats
...
MozReview-Commit-ID: 9Ap24GZ8M4
--HG--
extra : rebase_source : 5c42ee2240f297ed6865bce6922ad55b444b5ef4
2017-03-21 16:46:23 +08:00
Kartikaya Gupta
0fee7584e7
Merge m-c to graphics
...
MozReview-Commit-ID: 1rTRVEHequ9
2017-03-23 10:01:31 -04:00
sotaro
249f8f9784
Bug 1349232 - Add destroyed check to CompositorVsyncScheduler::ScheduleComposition() r=kats
...
WebRenderBridgeParent works independently, if root WebRenderBridgeParent is destroyed
without CompositorBridgeParent::StopAndClearResources() call,
non-root WebRenderBridgeParent are still active and could trigger ScheduleComposition().
The change prevents to trigger ScheduleComposition() in this case.
2017-03-23 15:07:02 +09:00
Kartikaya Gupta
e0d4c1bfb3
Bug 1347811 - Fix build bustage due to unified builds and missing include. r=bustage
...
MozReview-Commit-ID: KHDOBrRqhVU
2017-03-22 11:10:52 -04:00
Kartikaya Gupta
9608ac4946
Merge m-c to graphics
...
MozReview-Commit-ID: Ci50iHfzKbA
2017-03-22 09:55:38 -04:00
sotaro
cc4d383fff
Bug 1347811 - Share WebRenderCompositableHolder between WebRenderBridgeParent r=nical
2017-03-22 10:27:38 +09:00
Kartikaya Gupta
7fc02188d8
Merge m-c to graphics
...
MozReview-Commit-ID: AxmKwI9dnre
2017-03-21 09:21:34 -04:00
Wes Kocher
4f5262444c
Merge inbound to central, a=merge
...
MozReview-Commit-ID: 2omKclRg40c
2017-03-20 18:19:52 -07:00
KuoE0
399d6c086f
Bug 1348221 - Implement NewNamedTimerCallback to create named timer callback. r=kats
...
MozReview-Commit-ID: IcEVkfB3puW
--HG--
extra : rebase_source : 45e3f28325d5e6da41fb65688d518170eb5764bb
2017-03-21 00:38:11 +08:00
Sotaro Ikeda
ece294bef8
Bug 1325911 - Update Gleam to v0.4. r=kats
...
MozReview-Commit-ID: 6QghwNrEC9V
2017-03-20 12:10:40 -04:00
Kartikaya Gupta
0a0a696241
Merge m-c to graphics
...
MozReview-Commit-ID: 2CbNs260zlf
2017-03-20 10:07:29 -04:00
Carsten "Tomcat" Book
d61e0b9ced
merge mozilla-inbound to mozilla-central a=merge
2017-03-20 13:10:48 +01:00
Kartikaya Gupta
0485af4853
Merge m-c to graphics
...
MozReview-Commit-ID: 5m04vXUTlsy
2017-03-17 11:03:02 -04:00
Miko Mynttinen
6e4add711b
Bug 1346777 - Transform layer geometry properly when intermediate surface is used r=mattwoodrow
...
MozReview-Commit-ID: H3YmadD8sFz
--HG--
extra : rebase_source : 8bd9f9b58d8e50fd925299fec6fc464ee50886c0
2017-03-16 21:51:54 +01:00
Kartikaya Gupta
5041aa0404
Merge m-c to graphics
...
MozReview-Commit-ID: 6JFx7MHUHgW
2017-03-15 08:55:17 -04:00
sotaro
a6bf6f2a63
Bug 1347050 - Remove unused workarond from ProcessWebRenderCommands r=nical
2017-03-15 16:28:13 +09:00
Mason Chang
516a3654f4
Bug 1346451 - Delete WebRenderBorderLayer. r=ethlin
2017-03-11 10:04:26 -08:00
Kartikaya Gupta
916f12ed8f
Merge m-c to graphics
...
MozReview-Commit-ID: GpqewOAwje8
2017-03-13 13:13:37 -04:00
sotaro
90e35e2b18
Bug 1345712 - Fix rebasing failure part 2 r=jrmuizel
2017-03-13 23:55:39 +09:00
sotaro
a7e80b153d
Bug 1345712 - Fix rebasing failure r=jrmuizel
2017-03-13 15:46:05 +09:00
Morris Tseng
11f13fedeb
Bug 1341156 - Modify webrender_ffi and add OpDPPushBorderImage. r=kats r=ethlin
...
MozReview-Commit-ID: Ct63gy6nk3q
2017-03-13 11:46:03 +08:00
Kartikaya Gupta
0ea7443517
Merge m-c to graphics
...
MozReview-Commit-ID: 3GcCKcscfkz
2017-03-10 09:58:01 -05:00
Ethan Lin
4aef499dc0
Bug 1341565 - Use external image to handle mask layer. r=jrmuizel
2017-03-10 17:51:47 +08:00
sotaro
68f1724050
Bug 1345712 - Add ScaleMode handling to WebRenderImageLaye r=jrmuizel
2017-03-10 17:48:22 +09:00
sotaro
7277c12244
Backout Bug 1345712
2017-03-10 15:56:26 +09:00
sotaro
61dd0b4f9c
Bug 1345712 - Add ScaleMode handling to WebRenderImageLayer r=jrmuizel
2017-03-10 14:14:43 +09:00
Ryan Hunt
4b5a38195a
Bug 1345975 - Rename WrLayoutSize to WrSize r=kats
...
MozReview-Commit-ID: JY9YyoypFym
--HG--
extra : rebase_source : c98514af0e2ed1deb5a7a7c9dc74dd77bb536d3e
extra : histedit_source : 748ca189b70aece54cabd179877ec3852042e355
2017-03-09 16:58:33 -05:00
Ryan Hunt
d6f7d08e28
Bug 1345975 - Clean up WebRenderLayer code r=kats
...
MozReview-Commit-ID: DWlAaJwuxlD
--HG--
extra : rebase_source : 3e8e49f1afb301063d8ab84f34181adf19a540d5
extra : histedit_source : ff74cc203ab0c5ac1289fe85403d78a60f404b2b
2017-03-09 12:35:33 -05:00
sotaro
202715bd8b
Bug 1345749 - Apply RelativeToVisible r=jrmuizel
2017-03-10 07:49:53 +09:00
Ryan Hunt
4450cd3bae
Bug 1345907 - Use clip region instead of clip rect r=kats
...
--HG--
extra : rebase_source : 23506430d8aa7b2097de208a3415d8597a1e13cd
2017-03-09 11:57:06 -05:00
Kartikaya Gupta
8f54e2114e
Merge m-c to graphics
...
MozReview-Commit-ID: QN682uyISF
2017-03-09 10:42:57 -05:00
Samael Wang
dbb9457981
Bug 1283947 - Clear pending transactions when ClientLayerManager is assigning to a different refresh driver. r=mattwoodrow
2017-03-09 18:35:50 +08:00