Nicholas Nethercote
518b61128f
Bug 1357298 - Remove the 'layers.frame-counter' option. r=mstange,mattwoodrow.
...
This option turns on a frame counter that is shown in the top left corner via a
QR code. It was designed to be used in video recordings of B2G phones.
It no longer seems useful, so this patch removes it.
* * *
Bug 1357298 - Remove all traces of frame numbers and power from the profiler output. r=mstange.
2017-04-18 15:40:24 +10:00
Sebastian Hengst
036a7b0984
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
f07c1773ab
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
Randall Barker
c955f482b1
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
1dfd8d0944
Bug 1356119 - Skip Flush to old context after device reset. r=dvander
2017-04-14 00:19:00 -04:00
David Anderson
cdc03656d1
Add a fixed-width font for the compositor's debug overlay. (bug 1352151 part 9, r=bas)
2017-04-10 19:44:47 -07:00
David Anderson
5079e4f476
Add GPU draw time to the compositor diagnostic overlay. (bug 1352151 part 7, r=bas)
2017-04-10 19:44:46 -07:00
David Anderson
7a44341bcc
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.
2017-04-10 19:44:46 -07:00
David Anderson
b4df7e2f22
Remove the TextureRender dependency on Compositor. (bug 1352151 part 4, r=mattwoodrow)
2017-04-10 19:44:45 -07:00
David Anderson
c97bd21c02
Switch the compositor to a new debug overlay. (bug 1352151 part 2, r=mattwoodrow)
2017-04-10 19:44:45 -07:00
David Anderson
7ff89642e7
Collect diagnostics on paint times for the compositor overlay. (bug 1352151 part 1, r=mattwoodrow)
2017-04-10 19:44:45 -07:00
Iris Hsiao
f58321a2b0
Backed out changeset 3910de7acce3 (bug 1349418)
2017-04-10 14:42:38 +08:00
Markus Stange
f510a8a0ad
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
David Anderson
452e7295e6
Don't access mCompositor from CompositeToTarget. (bug 1339688 part 2, r=mattwoodrow)
2017-02-15 19:03:20 -08:00
David Anderson
dfedfb6a67
Move composition time from Compositor to HostLayerManager. (bug 1339688 part 1, r=mattwoodrow)
2017-02-15 19:03:20 -08:00
Ryan Hunt
dfd65a890e
Bug 1337387 - Fix unified build bustage r=kats?
2017-02-07 09:37:57 +00:00
Randall Barker
2894886e99
Bug 1329362 - part 8, Convert LayerManagerComposite::RenderToPresentationSurface to use CompositorWidget instead of nsIWidget r=kats
2017-01-27 09:32:24 -08:00
Kartikaya Gupta
7fad4e88c5
Bug 1330037 - Propagate the CompositorOptions over to TabChild and keep a copy there. r=dvander
...
MozReview-Commit-ID: IQSm5cHkW4z
2017-01-12 17:29:41 -05:00
Miko Mynttinen
45fcf4cf9c
Bug 1274673 - Use binary space partitioning for sorting/drawing layers - Part 3: Use BSPTree for layer sorting r=jrmuizel,mattwoodrow
...
MozReview-Commit-ID: 3Hy4IRDFgaP
2016-12-06 13:39:01 -10:00
Tomislav Jurin
9ff3007b90
Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj
2016-12-02 13:46:53 -08:00
Mason Chang
839dda4b98
Bug 1319374. Fix --disable-skia builds. r=lsalzman
2016-11-30 10:13:54 -08:00
Matt Woodrow
26fae296aa
Bug 1319626 - Part 2: Add BorderLayer class and basic support for them. r=mstange
2016-11-24 18:11:30 +13:00
Carsten "Tomcat" Book
142a4dd27a
Merge mozilla-central to mozilla-inbound on a CLOSED TREE
2016-11-24 17:05:00 +01:00
Carsten "Tomcat" Book
c5a85de12f
Backed out changeset 4909935f8081 (bug 1319626)
2016-11-24 17:02:32 +01:00
Matt Woodrow
ce171e59c7
Bug 1319626 - Part 2: Add BorderLayer class and basic support for them. r=mstange
2016-11-24 18:11:30 +13:00
Matt Woodrow
268a08de7a
Bug 1317862 - Part 1: Add TextLayer class and basic support for them. r=mstange
2016-11-24 18:11:29 +13:00
Bas Schouten
cd0155b68f
Bug 1317843 - Split LayerManagerComposite into two classes. r=jrmuizel
2016-11-24 18:11:27 +13:00
Nicolas Silva
813f2c8ffc
Bug 1300121 - Flush the D3D11 immediate context if a composition is cancelled to avoid resources queing up in the driver. r=Bas
2016-10-11 14:10:22 +02:00
Sotaro Ikeda
babd939cf1
Bug 1317656 - Cleanup more gonk/b2g dependent code r=nical
2016-11-15 22:01:30 -08:00
Kartikaya Gupta
0c8045c0a3
Bug 1315706 - Pass a wrapper struct to various CompositorWidget functions. r=dvander
...
This is the first step in using these functions without having a
LayerManagerComposite at all.
MozReview-Commit-ID: 2zkuB7Ox4Ut
2016-11-07 21:16:52 -05:00
Edwin Flores
b7165d33ad
Bug 1309277 - Allow D3D9 without component alphaa - r=mattwoodrow
2016-11-02 10:55:07 +00:00
David Anderson
5feb03aaa4
Do not paint if a BeginTransaction fails. (bug 1313770 part 1, r=mattwoodrow)
2016-10-28 15:48:34 -07:00
Matt Woodrow
16f8a8bdeb
Bug 1308363 - Remove GONK specific code from gfx/. r=jrmuizel,sotaro
2016-10-27 13:17:10 +13:00
Nicolas Silva
1ff5cca5f9
Bug 1284837 - Disallow implicit conversions from float to integer when creating. r=botond
2016-09-16 17:49:39 +02:00
Randall Barker
073f710cca
Bug 1297853 - White flash when creating a private browsing tab r=jchen,kats
2016-09-06 18:01:36 -07:00
Hiroyuki Ikezoe
065f63bf9a
Bug 1279071 - Change GetOpacity to GetAnimationOpacity to return opacity value applied by animation. r=birtles,mstange
...
MozReview-Commit-ID: 6rMUlnppOeK
2016-08-25 09:07:56 +09:00
Jim Chen
a1b7da4a5e
Bug 1294479 - Remove ANativeWindow methods from AndroidBridge; r=snorp
...
The ANativeWindow methods in AndroidBridge are just wrappers around
ANativeWindow calls in the NDK. We should just use those calls instead
of going through the wrappers.
2016-08-19 17:17:24 -04:00
Jim Chen
785255eac9
Bug 1294479 - Remove presentation methods from nsWindow/AndroidBridge; r=snorp
...
Remove the presentation methods from nsWindow/AndroidBridge now that
they are not used. This also eliminates gGeckoViewWindow from nsWindow.
NS_PRESENTATION_WINDOW and NS_PRESENTATION_SURFACE constants are added
for GetNativeData/SetNativeData to provide replacements that support
multiple GeckoViews/nsWindows.
2016-08-19 17:17:24 -04:00
Randall Barker
3a5ff2bf21
Bug 1294857 - Compositor uses page's background color to clear in Fennec r=kats
2016-08-18 14:03:26 -07:00
Mason Chang
127139a011
Bug 1294121 - Develop a continuous paint mode for Firefox. r=mattwoodrow
2016-08-16 08:46:13 -07:00
Mason Chang
768d97be3e
Bug 1294121 - Backed out changeset 635d266614ad for windows build failures. r=me. CLOSED TREE
2016-08-16 09:17:25 -07:00
Mason Chang
1d9aabb4aa
Bug 1294121 - Develop a continuous paint mode for Firefox. r=mattwoodrow
2016-08-16 08:46:13 -07:00
Mason Chang
ca5b51516e
Backed out changeset aaaab9a073a4 for build failures. r=me
2016-08-15 20:38:40 -07:00
Mason Chang
4eda31bf6b
Bug 1294121 - Develop a continuous paint mode for Firefox. r=mattwoodrow
2016-08-15 19:59:26 -07:00
Kartikaya Gupta
699100d029
Bug 1273356 - Remove the unused and incorrect ComputeRenderIntegrity codepath for computing checkerboard. r=rbarker
...
MozReview-Commit-ID: 4i1rmeqrkZ1
2016-08-03 11:59:08 -04:00
Nicolas Silva
fff99d452b
Bug 1284837 - Add conversions methods from Point and Size to IntPoint and IntSize for consistency. r=botond
2016-07-26 16:48:34 +02:00
Matt Woodrow
2efcb49f2e
Bug 1275694 - Use the local visible region to decide when to cull a layer in CalculateScissorRect(). r=kats
...
We still take care not to cull a layer if we need to draw a checkerboarding
background for it.
MozReview-Commit-ID: 3EuXEFB2wF9
2016-06-09 16:36:12 +12:00
Kartikaya Gupta
61f5605777
Bug 1282957 - Add a visual indicator for pages affected by scroll-linked effects. r=mstange
...
MozReview-Commit-ID: KuAL2CUDCnj
2016-06-28 18:31:15 -04:00
Nicolas Silva
bcf7968671
Bug 1280110 - Ensure CompositingRenderTargetOGL is never created without a gl context. r=sotaro
2016-06-21 17:31:13 +02:00
Sotaro Ikeda
cc18201e0b
Bug 1252835 - Make TextureHost recycling implicit r=nical
2016-06-15 04:28:10 -07:00