Commit Graph

32357 Commits

Author SHA1 Message Date
Jeff Muizelaar
1356bd4f68 Bug 1523823. Enable WebRender by default on modern (CIK, VI, GFX9) desktop AMD hardware. r=kats
This should help increase our WebRender usage so we're more likely to learn
about problems with minimal additional risk.

Differential Revision: https://phabricator.services.mozilla.com/D18020

--HG--
extra : moz-landing-system : lando
2019-01-30 14:13:07 +00:00
Nicolas Silva
08852a6035 Bug 1494403 - Support arbitrary tiling origins and negative tile offsets in the tile decomposition algorithm. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D17123

--HG--
extra : moz-landing-system : lando
2019-01-29 16:36:47 +00:00
Daosheng Mu
27c40bd158 Bug 1523154 - Remove SendShutdownVR() at VRProcessParent::Shutdown. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D17895

--HG--
extra : moz-landing-system : lando
2019-01-30 06:27:56 +00:00
Kartikaya Gupta
d52ac0a680 Bug 1523788 - Allow gfx.webrender.{all,enabled} on non-Nightly channels. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D17988

--HG--
extra : moz-landing-system : lando
2019-01-30 00:21:33 +00:00
shindli
f7752f11b1 Merge inbound to mozilla-central. a=merge 2019-01-30 06:07:01 +02:00
Lee Salzman
27349e0008 Bug 1512010 - add wrench test for text snapping in raster spaces. r=gw 2019-01-29 17:24:18 -05:00
Dave Townsend
e81988481b Bug 1523738: Fix Version comparison functions. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D17978

--HG--
extra : moz-landing-system : lando
2019-01-29 21:03:33 +00:00
Emilio Cobos Álvarez
1b7e29eab8 Bug 1523436 - Remove a FIXME comment that turns out is not valid. 2019-01-29 21:36:34 +01:00
Dzmitry Malyshau
1df57d7ca5 Bug 1431582 - WR support non-locally-rasterized split planes r=gw
Now that we no longer guarantee that a picture with perspective transform is rasterized in local space, we need to ensure that the shaders don't apply perspective correction to the texture coordinates twice.
For that to be the case, we pass an extra flag to the plane splitting shader, and un-do the perspective correction if it's not enabled.

Differential Revision: https://phabricator.services.mozilla.com/D17854

--HG--
extra : moz-landing-system : lando
2019-01-29 19:34:55 +00:00
Cosmin Sabou
7c0150b58c Backed out changeset 131a5437e7d3 (bug 1431582) for causing wrench bustages. 2019-01-29 17:59:49 +02:00
Dzmitry Malyshau
a68eff5db8 Bug 1431582 - WR support non-locally-rasterized split planes r=gw
Now that we no longer guarantee that a picture with perspective transform is rasterized in local space, we need to ensure that the shaders don't apply perspective correction to the texture coordinates twice.
For that to be the case, we pass an extra flag to the plane splitting shader, and un-do the perspective correction if it's not enabled.

Differential Revision: https://phabricator.services.mozilla.com/D17854

--HG--
extra : moz-landing-system : lando
2019-01-29 15:31:09 +00:00
Sebastian Hengst
9ece29fd9b Merge mozilla-central to autoland. CLOSED TREE 2019-01-29 12:59:48 +02:00
Cosmin Sabou
599a15d354 Merge mozilla-inbound to mozilla-central. a=merge 2019-01-29 12:01:56 +02:00
Lee Salzman
56444ece80 Bug 1512010 - snap text positions without device transform in local raster space. r=gw 2019-01-28 22:23:00 -05:00
Sebastian Hengst
b78e4e8667 Merge mozilla-central to mozilla-inbound
--HG--
rename : browser/components/urlbar/tests/legacy/browser_urlbar_search_no_speculative_connect_with_client_cert.js => browser/components/urlbar/tests/browser/browser_urlbar_speculative_connect_not_with_client_cert.js
2019-01-29 02:55:55 +02:00
Sebastian Hengst
90f4b6640c Merge mozilla-inbound to mozilla-central. a=merge 2019-01-29 01:33:28 +02:00
Andrew Osmond
b651af0b33 Bug 1431582 - Add reduced test case for 3d transform bugs. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D17864
2019-01-28 15:50:48 -05:00
sotaro
cdcb90df61 Bug 1523233 - Fix animation delete time r=kats
WebRenderBridgeParent::RemoveEpochDataPriorTo() does not check when animation is added by using epoch. Then there is a case that animation is deleted too early.

Differential Revision: https://phabricator.services.mozilla.com/D17799

--HG--
extra : moz-landing-system : lando
2019-01-28 20:11:59 +00:00
Glenn Watson
11edbcda9f Bug 1523228 - Use down scaling more often to avoid blurs on very large blur radii. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D17797

--HG--
extra : moz-landing-system : lando
2019-01-28 09:14:46 +00:00
Daosheng Mu
2328be62d7 Bug 1514417 - Using named mutex for VR threads to access Shmem on Windows. r=kip
MozReview-Commit-ID: FhLBI8l9SJm

Differential Revision: https://phabricator.services.mozilla.com/D17897

--HG--
extra : moz-landing-system : lando
2019-01-29 06:06:50 +00:00
Glenn Watson
738c89e95d Bug 1523210 - Fix text runs being interned due to scroll offsets. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D17792

--HG--
extra : moz-landing-system : lando
2019-01-28 05:18:19 +00:00
Csoregi Natalia
1a6807b8f2 Backed out changeset 8d47e7f253d8 (bug 1523210) for wrench failures. CLOSED TREE 2019-01-28 06:34:57 +02:00
Glenn Watson
42fff5a810 Bug 1523210 - Fix text runs being interned due to scroll offsets. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D17792

--HG--
extra : moz-landing-system : lando
2019-01-28 02:55:00 +00:00
Matt Woodrow
03dc2eebf4 Bug 1523214 - Don't invalidate for transform/opacity changes in WebRenderCommandBuilder since DLBI handles this already. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D17791

--HG--
extra : moz-landing-system : lando
2019-01-28 01:48:19 +00:00
Jeff Muizelaar
0c609e94c7 Bug 1522021. Propagate input size to CreateSimilarDrawTarget for filters. r=mstange
This lets us avoid drawing the complete input for ever tile when
drawing filters into a tile.

Differential Revision: https://phabricator.services.mozilla.com/D17686

--HG--
extra : moz-landing-system : lando
2019-01-27 23:36:04 +00:00
Brindusan Cristian
4faab2f1b6 Merge inbound to mozilla-central. a=merge 2019-01-27 11:35:28 +02:00
Randell Jesup
76bd9e73cc Bug 1522150: Add a DeferredTimers queue ahead of the normal Idle EventQueue r=froyd
* * *
Bug 1522150: Rename NS_IdleDispatch* functions since they take queue identifiers r=froyd
2019-01-26 12:18:05 -05:00
Jonathan Kew
3a5283ff8f Bug 1522857 - Ensure the CHAR_IS_SPACE flag is set properly in the textrun's mCharacterGlyphs array even when the space glyph does not fit into a simple CompressedGlyph record. r=jrmuizel 2019-01-26 15:48:38 +00:00
Jeff Muizelaar
93752e905d Bug 1522021. Implement SourceSurfaceOffset. r=mstange
This forwards to an underlying source surface but also has an origin that it
uses to correctly return results from GetRect()

Differential Revision: https://phabricator.services.mozilla.com/D17692

--HG--
extra : moz-landing-system : lando
2019-01-25 23:06:24 +00:00
Jeff Muizelaar
b0d9cc5e6d Bug 1522310. Use GetRect() instead of IntRect(IntPoint(), GetSize()) in Filters code. r=mstange
This is needed so that we can use SourceSurfaces that don't have a
implicit 0,0 origin like those that would come from a DrawTargetTiled
or DrawTargetOffset.

Differential Revision: https://phabricator.services.mozilla.com/D17684

--HG--
extra : moz-landing-system : lando
2019-01-25 23:03:16 +00:00
Glenn Watson
aaa0feb2a4 Bug 1522758 - Optimize drawing axis aligned clip rectangles into clip masks. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D17606

--HG--
extra : moz-landing-system : lando
2019-01-26 21:11:53 +00:00
Glenn Watson
60a3387844 Bug 1521441 - Remove unused clear color mode. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D17092

--HG--
extra : moz-landing-system : lando
2019-01-26 20:37:47 +00:00
Emilio Cobos Álvarez
bed2fdf437 Bug 1522555 - Remove a lot of dead code. r=kvark
We can always pull this back from history should we need it, but given
how broken the texture caching of pictures was (see the recent text shadow
story) I suspect we won't.

Differential Revision: https://phabricator.services.mozilla.com/D17524
2019-01-26 01:19:03 +01:00
Coroiu Cristina
77de4f7263 Backed out changeset e0034670b26a (bug 1514417) as requested by daoshengmu 2019-01-26 01:46:32 +02:00
Matt Woodrow
be0e931d5e Bug 1514383 - Only clip the outermost Picture in a stacking context, since we sometimes need the inner pixels for filter rendering. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D17595

--HG--
extra : moz-landing-system : lando
2019-01-25 19:32:20 +00:00
Csoregi Natalia
eb81fdc3cb Merge mozilla-central to autoland. CLOSED TREE 2019-01-25 19:02:11 +02:00
Sebastian Hengst
218e75fc6c Backed out changeset f57d14800cbb (bug 1496540) for wrench failures in border-with-rounded-clip.yaml and transforms/border-zoom.yaml 2019-01-25 17:59:00 +02:00
Jamie Nicol
9db5c55a63 Bug 1496540 - Handle overlapping border corners in webrender r=gw
When some of a border's corners have a border-radius, and that radius
is larger than the sum of the border width and element size, then it
results in the corners of the border overlapping. Webrender draws
borders by rasterizing each segment individually in to the cache, then
compositing them together. In this overlapping case, this has 2
problems:

a) we composite overlapping segments on top of eachother
b) corner segments are not correctly clipped to the curve of the
   overlapping adjacent corners

This patch allows corner segments to be clipped by their adjacent
corners. We provide the outer corner position and radii of the
adjacent corners to the border shader, which then applies those clips,
if required, along with the segment's own corner clip when rasterizing
the segment.

As the adjacent corners now affect the result of the cached segment,
they are added to the cache key.

We continue to rasterize the entire segment in to the cache as before,
but now modify the local rect and texel rect of the BrushSegment so
that it only composites the subportion of the corner segment which
does not overlap with the opposite edges of the border.

Differential Revision: https://phabricator.services.mozilla.com/D16872

--HG--
extra : moz-landing-system : lando
2019-01-25 14:22:26 +00:00
Daosheng Mu
e3c0193666 Bug 1514417 - Add mutex to avoid VR shmem be deadlock when VRService and VRSubmitFrame threads are accessing it. r=kip
MozReview-Commit-ID: 7uXdypiXTUH

Differential Revision: https://phabricator.services.mozilla.com/D17581

--HG--
extra : moz-landing-system : lando
2019-01-25 01:04:09 +00:00
Emilio Cobos Álvarez
18f7b695bb Bug 1522555 - Update border-suite-2.png again because the corners changed again when merged to central. r=bustage a=Aryx 2019-01-25 11:00:51 +01:00
Hiroyuki Ikezoe
465dbfe030 Bug 1520081 - Use the minimum scale size even if the minimum-scale in viewport meta tag is greater than 1.0. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D17451

--HG--
extra : moz-landing-system : lando
2019-01-25 07:01:45 +00:00
Matt Woodrow
becd2488d6 Bug 1520269 - Use the most recently skipped vsync id for catch up composites. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D17598

--HG--
extra : moz-landing-system : lando
2019-01-25 05:09:46 +00:00
Narcis Beleuzu
3a7fba9cb8 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-25 06:31:03 +02:00
Narcis Beleuzu
dcd0b9d50a Merge inbound to mozilla-central. a=merge 2019-01-25 06:28:32 +02:00
Narcis Beleuzu
6788c5b994 Merge autoland to mozilla-central. a=merge 2019-01-25 06:27:18 +02:00
Glenn Watson
a792eb73a1 Bug 1522395 - Fix double inflation of text shadow bounds. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D17468

--HG--
extra : moz-landing-system : lando
2019-01-25 00:28:46 +00:00
shindli
770fc86d09 Backed out changeset c61a5f1a655c (bug 1522555) for wrench bustages in reftests/border/border-suite-2.png. a=backout CLOSED TREE
--HG--
extra : source : ee1dce651a922e79f0296dc23375a32aa3a5465b
2019-01-24 20:54:01 +02:00
Emilio Cobos Álvarez
e4fc089556 Bug 1522555 - Remove a lot of dead code. r=kvark
We can always pull this back from history should we need it, but given
how broken the texture caching of pictures was (see the recent text shadow
story) I suspect we won't.

Differential Revision: https://phabricator.services.mozilla.com/D17524

--HG--
extra : moz-landing-system : lando
2019-01-24 17:31:20 +00:00
Ciure Andrei
763557eef3 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-24 05:47:10 +02:00
Ciure Andrei
c035ee7d3a Merge inbound to mozilla-central. a=merge 2019-01-24 05:44:33 +02:00