Wes Kocher
15edcfd962
Merge inbound to central, a=merge
...
MozReview-Commit-ID: EI67EKp8ykS
2017-05-19 15:14:19 -07:00
David Anderson
c0fe8b0e0e
Make "prepare" times more inclusive in the compositor diagnostic overlay. (bug 1366037, r=mattwoodrow)
2017-05-19 11:30:34 -07:00
Randall Barker
0c9253b86d
Bug 1365161 - Ensure dynamic toolbar static snapshot visibility stays in sync with the real toolbar chrome r=botond,jchen
...
There were two issues that prevented the static snapshot toolbar and
real chrome toolbar from staying in sync.
1) When a page would resize such as when going fullscreen, if the
root content document was not scrollable, the animator would not receive
root composition page size updates. The page resize is used by the
animator to hide the static snapshot, so it would remain visible while
the real chrome toolbar would be hidden.
2) Certain places in UI java code would toggle the chrome state directly
instead of going through the animator to change the state.
MozReview-Commit-ID: DCQgRFS0UAO
2017-05-19 10:50:02 -07:00
JerryShih
76b2651840
Bug 1364922 - Update AddWRImage() interface for multiple ImageKeys. v2. r=nical
...
Some textureHosts have multiple-channel data. Each channel should use different ImageKey.
MozReview-Commit-ID: 86EGQn65nMG
2017-05-19 00:25:41 +08:00
JerryShih
15187bbef4
Bug 1362049 - The BufferTextureHost::AddWRImage() and MacIOSurfaceTextureHostOGL::AddWRImage() implementations. v3. r=nical
...
MozReview-Commit-ID: JJlqFwidliQ
2017-05-18 22:59:07 +08:00
JerryShih
2c3fd143c6
Bug 1362049 - Add AddWRImage() to call the proper WR commands for all TextureHost types. v3. r=nical
...
Different TextureHost type could use different WR commands. So, make a abstract interface for these different commands.
MozReview-Commit-ID: 63dnOJC2P9r
2017-05-18 22:59:07 +08:00
Botond Ballo
9460cdd08b
Bug 1364622 - Introduce a helper function for computing the async transform for a scroll thumb layer. r=kats
...
MozReview-Commit-ID: DFFcmBxzI84
--HG--
extra : rebase_source : 3fdd6a00215ba8bfc9a717d3ab0e7ba0e21d4700
2017-05-15 18:35:16 -04:00
James Willcox
395ab599a1
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-15 09:37:44 -05:00
Botond Ballo
6c0eea50b3
Bug 1349750 - Group scroll thumb-related information in Layer into a ScrollThumbData structure. r=kats
...
The patch also renames Layer::SetScrollbarData() to Layer::SetScrollThumbData()
for clarity.
MozReview-Commit-ID: DVwJ3DMl3Zs
--HG--
extra : rebase_source : 7b2bfccf1351c82bb16296635e69d5488c87a50f
2017-05-10 14:02:15 -04:00
David Anderson
42e57ec6d3
Remove old device reset and compositor swapping code. (bug 1363126 part 3, r=rhunt)
2017-05-11 22:44:28 -07:00
Iris Hsiao
e22349b74b
Backed out 11 changesets (bug 1322650) for media test failures on android. a=backout
...
Backed out changeset 31bd912fba54 (bug 1322650)
Backed out changeset 4d486c7469eb (bug 1322650)
Backed out changeset 4cf8f4d5064c (bug 1322650)
Backed out changeset 3cb108f7492f (bug 1322650)
Backed out changeset bd53533c108e (bug 1322650)
Backed out changeset 3522917d8f10 (bug 1322650)
Backed out changeset 2c2c1e33eccc (bug 1322650)
Backed out changeset 2f19977cd6ab (bug 1322650)
Backed out changeset 4519296a323e (bug 1322650)
Backed out changeset e56e5e1c8786 (bug 1322650)
Backed out changeset 96fe52231b57 (bug 1322650)
--HG--
extra : amend_source : b11d2181d8f545f4ed1074f09986eddab0b637c8
2017-05-12 10:21:14 +08:00
James Willcox
ad1995d388
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-11 15:42:42 -05:00
Randall Barker
05a319ede2
Bug 1358775 - Fix the dynamic toolbar animator to animate the toolbar in place instead of shifting content with the toolbar r=botond,nical
...
MozReview-Commit-ID: 85l2d6q7OdL
2017-05-11 13:10:34 -07:00
Lee Salzman
ec8bc2a993
Bug 1340627 - part 6 - fix layers for Skia m59. r=mchang
...
MozReview-Commit-ID: 6pAV6FKDFQ4
2017-05-09 22:31:07 -04:00
Carsten "Tomcat" Book
adc8478ab1
Backed out changeset b567eb8d5d39 (bug 1340627)
2017-05-11 12:51:52 +02:00
Lee Salzman
a3e532037b
Bug 1340627 - part 6 - fix layers for Skia m59. r=mchang
...
MozReview-Commit-ID: 6pAV6FKDFQ4
2017-05-09 22:31:07 -04:00
David Anderson
5632494742
Remove unnecessary MOZ_COUNT_CTOR/DTORs on reference counted compositor objects. (bug 1360963, r=mattwoodrow)
...
--HG--
extra : rebase_source : 82eab30ab0896cfbdcc7cbd64f9598d29a5e69b4
2017-05-10 10:58:20 -07:00
David Anderson
70d5ae464a
Remove LayerManagerComposite's geometry changed flag. (bug 1363249, r=mattwoodrow)
2017-05-10 10:49:31 -07:00
Wes Kocher
24a327994e
Backed out 9 changesets (bug 1340627) for graphical glitches a=backout
...
Backed out changeset 0b1371055c7f (bug 1340627)
Backed out changeset f152be1fadb7 (bug 1340627)
Backed out changeset c691e2ab6a0c (bug 1340627)
Backed out changeset 3cb4bceb8d79 (bug 1340627)
Backed out changeset 026aadd76d06 (bug 1340627)
Backed out changeset fdbd5d281287 (bug 1340627)
Backed out changeset 75fb0d9858a9 (bug 1340627)
Backed out changeset 0d4ec7d38a00 (bug 1340627)
Backed out changeset af6f19870b2a (bug 1340627)
MozReview-Commit-ID: 9dHr7xMZezY
--HG--
rename : gfx/skia/skia/src/core/SkBlitRow.h => gfx/skia/skia/include/core/SkBlitRow.h
rename : gfx/skia/skia/src/effects/SkGaussianEdgeShader.h => gfx/skia/skia/include/effects/SkGaussianEdgeShader.h
rename : gfx/skia/skia/src/xml/SkXMLParser.h => gfx/skia/skia/include/xml/SkXMLParser.h
rename : gfx/skia/skia/include/private/SkMessageBus.h => gfx/skia/skia/src/core/SkMessageBus.h
rename : gfx/skia/skia/src/gpu/ops/GrAAConvexPathRenderer.h => gfx/skia/skia/src/gpu/batches/GrAAConvexPathRenderer.h
rename : gfx/skia/skia/src/gpu/ops/GrAAConvexTessellator.h => gfx/skia/skia/src/gpu/batches/GrAAConvexTessellator.h
rename : gfx/skia/skia/src/gpu/ops/GrAAHairLinePathRenderer.h => gfx/skia/skia/src/gpu/batches/GrAAHairLinePathRenderer.h
rename : gfx/skia/skia/src/gpu/ops/GrAALinearizingConvexPathRenderer.h => gfx/skia/skia/src/gpu/batches/GrAALinearizingConvexPathRenderer.h
rename : gfx/skia/skia/src/gpu/ops/GrPathStencilSettings.h => gfx/skia/skia/src/gpu/batches/GrPathStencilSettings.h
rename : gfx/skia/skia/src/gpu/ops/GrStencilAndCoverPathRenderer.h => gfx/skia/skia/src/gpu/batches/GrStencilAndCoverPathRenderer.h
rename : gfx/skia/skia/include/private/GrGLSL_impl.h => gfx/skia/skia/src/gpu/glsl/GrGLSL_impl.h
2017-05-10 10:01:18 -07:00
Lee Salzman
9e92454bc6
Bug 1340627 - part 6 - fix layers for Skia m59. r=mchang
...
MozReview-Commit-ID: 6pAV6FKDFQ4
2017-05-09 22:31:07 -04:00
Sebastian Hengst
087bd41f0f
Backed out changeset 9badb2705567 (bug 1322650)
2017-05-05 18:54:09 +02: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
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
Markus Stange
2a35142b62
Bug 1349418 - Remove checkerboarding code and just use an opaque background color behind root scroll frames. r=kats
2017-04-21 14:02:15 +12:00
Nicholas Nethercote
273ec65c56
Bug 1123754 (part 1) - Rename ProfilerMarkers.{h,cpp} as ProfilerMarkerPayload.{h,cpp}. r=mstange.
...
Because ProfilerMarkerPayload is the main type defined in these files, and
because the next patch is going to introduce ProfilerMarker.{h,cpp}, which
would be confusingly similar to the old names.
--HG--
rename : tools/profiler/core/ProfilerMarkers.cpp => tools/profiler/core/ProfilerMarkerPayload.cpp
rename : tools/profiler/public/ProfilerMarkers.h => tools/profiler/public/ProfilerMarkerPayload.h
extra : rebase_source : df22a2ab3867650348ae78fe959ff0366aff230b
2017-04-27 07:36:19 +10:00
Randall Barker
ac6992ec74
Bug 1360639
- Use the page background color when no dynamic toolbar snapshot is available r=kats
...
MozReview-Commit-ID: Hgjr3VjHFdp
2017-04-28 14:44:55 -07:00
Kartikaya Gupta
c77714e7cd
Merge m-c to graphics
...
MozReview-Commit-ID: EdvTPLc8PCy
2017-04-27 13:03:06 -04:00
sotaro
288058eab9
Bug 1359206 - Fix CompositionTime and CompositeUntil handling of WebRenderImageHost r=nical
2017-04-27 09:34:54 -07:00
Kartikaya Gupta
c896803771
Merge m-c to graphics
...
MozReview-Commit-ID: 3s6ISsQ3jG9
2017-04-24 09:17:28 -04:00
Kartikaya Gupta
2e1380aecf
Merge m-c to graphics
...
MozReview-Commit-ID: 5zsIClrx1FB
2017-04-21 10:01:47 -04:00
sotaro
e39bdc681a
Bug 1356944 - Fix external image id allocation of WebRenderTextureHost r=nical
2017-04-20 10:24:13 +09: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
sotaro
444f539c4b
Bug 1356960 - Avoid to allocate WebRenderTextureHost for TextureHost of VideoBridgeParent and VRManagerParent r=jerry
2017-04-17 22:08:43 +09:00
Sebastian Hengst
6e1c138a06
Backed out changeset 435e638babd1 (bug 1349418) for failing checkerboard-{1,2,3}.html on Android 4.3. r=backout a=backout
...
MozReview-Commit-ID: Au7FbypQNvf
2017-04-21 18:01:24 +02: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
Kevin Chen
d83dc709cb
Bug 1356119 - Skip Flush to old context after device reset. r=dvander
2017-04-14 00:19:00 -04: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
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
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
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
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
Iris Hsiao
22dd380d12
Backed out changeset 3910de7acce3 (bug 1349418)
...
--HG--
extra : rebase_source : e0ddc3d0c48256acd0996f16d3198560041f9c3e
2017-04-10 14:42:38 +08:00
Markus Stange
650ae288f5
Bug 1349418 - Remove checkerboarding code and just use an opaque background color behind root scroll frames. r=kats
2017-04-10 17:01:53 +12:00