Commit Graph

32336 Commits

Author SHA1 Message Date
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
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
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
Matt Woodrow
d4ecd598da Bug 1520682 - Limit the amount of filter ops per stacking context in WebRender. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D17415

--HG--
extra : moz-landing-system : lando
2019-01-24 03:02:17 +00:00
Glenn Watson
6b33b8f6a1 Bug 1522352 - Add GPU timer group for scale operations. r=kamidphish
Differential Revision: https://phabricator.services.mozilla.com/D17432

--HG--
extra : moz-landing-system : lando
2019-01-24 02:32:08 +00:00
Dan Glastonbury
e17294b6e9 Bug 1518840 - P2: Clean up dead code warnings. r=gw
Depends on D17329

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

--HG--
extra : moz-landing-system : lando
2019-01-23 23:41:59 +00:00
Dan Glastonbury
045163d3ea Bug 1518840 - P1: Remove rendering blurs into texture cache. r=gw,emilio
Caching text-shadows into texture cache was leading to rendering artifacts with
missing shadows.  Switch to using the picture path for all picture blurs and
rely upon picture caching to reduce repetitive work.

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

--HG--
extra : moz-landing-system : lando
2019-01-23 23:41:51 +00:00
Alex Gaynor
e9ce39db0d Bug 1485463 - Part 2 - use IPC errors to handle an attempt to allocate too many PCompositorBridgeParent; r=aosmond
This cannot actually happen in the real world because this path is specific to
when the compositor process is also the parent process, and thus is not
actually IPC. However, the fuzzer can trigger this case.

Depends on D14587

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

--HG--
extra : moz-landing-system : lando
2019-01-23 14:32:39 +00:00
Alex Gaynor
b45a566b9d Bug 1485463 - Part 1 - added a fuzzer for PCompositorManagerParent IPC; r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D14587

--HG--
extra : moz-landing-system : lando
2019-01-23 14:32:38 +00:00
Bobby Holley
a3a657a463 Bug 1522654 - Make the primitive debug display paint a transparent rect for pictures. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D17545
2019-01-24 14:14:52 -08:00
Glenn Watson
acb7379c4c Bug 1522351 - Improve accuracy of subpixel box shadows. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D17431

--HG--
extra : moz-landing-system : lando
2019-01-24 21:38:18 +00:00
shindli
03887afb69 Backed out changeset 9a347a546d90 (bug 1522351) for wrench bustage in reftests/boxshadow/no-stretch.png CLOSED TREE 2019-01-24 22:30:24 +02:00
Glenn Watson
892eb7ec20 Bug 1522351 - Improve accuracy of subpixel box shadows. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D17431

--HG--
extra : moz-landing-system : lando
2019-01-24 20:07:46 +00:00
Emilio Cobos Álvarez
89d4f21d5f Bug 1522555 - Remove a lot of dead WebRender 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-24 20:41:51 +01:00
shindli
788e6ecb86 Backed out changeset c61a5f1a655c (bug 1522555) for wrench bustages in reftests/border/border-suite-2.png CLOSED TREE 2019-01-24 20:54:01 +02:00
Bobby Holley
5125653f0b Bug 1522017 - Don't push an extra stacking context for iframes, and eliminate solid rect at pipeline roots. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D17437
2019-01-24 10:44:36 -08:00
Bobby Holley
fed23c9e3e Bug 1522017 - Clip picture caching debug display to avoid overflowing the browser chrome. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D17436
2019-01-24 10:44:36 -08:00
Bobby Holley
bf4d481f78 Bug 1522017 - Make picture caching explicit. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D17435
2019-01-24 10:44:35 -08:00