New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync changes from mozilla-central #3794
Commits on Nov 6, 2019
-
Bug 1594091 - Move user_data to the glyph instance w field. r=gw
First patch in of series that will rearrange the layout of the glyph instance attributes so that it matches brush instances. This will be needed to add a unified shader that can render the most common alpha pass primitives, including text. Differential Revision: https://phabricator.services.mozilla.com/D51879 [wrupdater] From https://hg.mozilla.org/mozilla-central/rev/570d5ec05d035d9fb156c8cc336ad66885b21de6
-
Bug 1594091 - Move color_mode and subpx_dir to the first half of the …
…glyph instance z field. r=gw Depends on D51879 Differential Revision: https://phabricator.services.mozilla.com/D51880 [wrupdater] From https://hg.mozilla.org/mozilla-central/rev/e405048af859fb0b8aca0060ac8c0df5388ee630
-
Bug 1594091 - Move glyph_index to the second half of the glyph instan…
…ce z field. r=gw Depends on D51880 Differential Revision: https://phabricator.services.mozilla.com/D51882 [wrupdater] From https://hg.mozilla.org/mozilla-central/rev/047d8fd366a4f92f165244e9de598b0890c3dacd
-
Bug 1594091 - Move clip_task_address to the second half of the glyph …
…instance y field. r=gw Depends on D51882 Differential Revision: https://phabricator.services.mozilla.com/D51883 [wrupdater] From https://hg.mozilla.org/mozilla-central/rev/c86523dab3c48d8185787f09338b57efeb3f86b0
-
Bug 1594091 - Unify text and brush instance attribute decoding. r=gw
Depends on D51883 Differential Revision: https://phabricator.services.mozilla.com/D51884 [wrupdater] From https://hg.mozilla.org/mozilla-central/rev/f4b58dd6ef384634dc04b1a462e46d6ae246286a
-
Bug 1594091 - Rename the instance user_data field into specific_resou…
…rce_address. r=gw This user_data field is currently only used as an address for some shader-specific resource in the gpu cache. We can always rename it back to something generic if we ever need to use the bits differently in other shaders in the future. Depends on D51884 Differential Revision: https://phabricator.services.mozilla.com/D51885 [wrupdater] From https://hg.mozilla.org/mozilla-central/rev/cd13f04835f4d9ebdfccd14b5f4afe6a8a8a2dbe
-
Bug 1575258 - Make text rasterize, render and snap glyphs consistentl…
…y. r=lsalzman The glyph pixel space in which we rasterized glyphs differed from how we rendered the rasterized glyphs in the shader. They need to be in agreement because the glyph subpixel offset selected during rasterization depends on it. This patch should make the paths consistent with each other. Additionally, during animations, we now snap the reference frame relative offset ignoring the impact of any animated transforms. This helps with minimizing glyph wiggling during the transition. Differential Revision: https://phabricator.services.mozilla.com/D51305 [wrupdater] From https://hg.mozilla.org/mozilla-central/rev/1e12f9b1812772fee75f80a38fd27b5fff8cffbc
-
Bug 1593929 - Make invalidate_rendered_frame triggers force redraw r=…
…nical Invalidate_rendered_frame expects full rendering in next WR rendering. Then when invalidate_rendered_frame is requested, we need to request force redraw. Otherwise, SwapChain might skip present call during partial present. Differential Revision: https://phabricator.services.mozilla.com/D51784 [wrupdater] From https://hg.mozilla.org/mozilla-central/rev/8189d25586fb6dd2d8e4f5bafbc43a1e31f4988e
Commits on Nov 7, 2019
-
Bug 1594305 - Only allocate compositor surfaces for tiles that are no…
…t occluded r=nical Tiles that are occluded are generally never seen, or only seen occasionally. To reduce the number of compositor surfaces: * Defer native surface allocation until after occlusion culling occurs. * If a tile has a native surface, then becomes occluded, drop the surface. With this scheme, the number of unused native surfaces will always be 0 on a page that doesn't have scrolling. For a page that has a scrollable region, there will be a small number of unused tiles retained. The unused tiles are those that are (a) not occluded (b) not currently visible (c) are in the display port. We retain these for a small amount of time in case they get scrolled back on screen. This makes the allocation patterns for native surfaces match the way that picture cache surfaces are allocated for simple compositing mode. Differential Revision: https://phabricator.services.mozilla.com/D51973 [wrupdater] From https://hg.mozilla.org/mozilla-central/rev/70442369cd48e37b05d2982f4109622cf8209bc6
-
Bug 1594524 - Move the call to gpu_profile.end_frame() up so that we …
…don't measure debug overlays. r=gw Differential Revision: https://phabricator.services.mozilla.com/D52090 [wrupdater] From https://hg.mozilla.org/mozilla-central/rev/455d161a3fa92006c59f6411e3e01ccabb3c7074
-
Bug 1589666 - Disable picture caching whilst pinch-zooming. r=gw
Whilst pinch zooming, every picture cache tile gets completely invalidated every frame. It is therefore a waste of memory bandwidth to render in to picture cache tiles then composite those to the screen. This change dynamically disables picture caching for frames in which we are pinch zooming. The exception is if we are using a native compositor, in which case picture caching will remain enabled, because it relies on picture caching to work, and does not waste memory bandwidth. Differential Revision: https://phabricator.services.mozilla.com/D52017 [wrupdater] From https://hg.mozilla.org/mozilla-central/rev/dd0e1c0d6acc4b7cb8b8b251aa3da7984f8b496f
-
Backed out changeset 455d161a3fa9 (bug 1594524) for causing Wrench fa…
…ilure in adb wait-for-device shell cat /sys/class/power_supply/battery/input_suspend 2>/dev/null. CLOSED TREE [wrupdater] From https://hg.mozilla.org/mozilla-central/rev/b53c2535ec7da21a0046cc362263b741613c387d
-
Bug 1575648 - Migrate from taskcluster.net to tools.community-tc.serv…
…ices.mozilla.com r=jrmuizel [import_pr] From #3793 Differential Revision: https://phabricator.services.mozilla.com/D52103 [wrupdater] From https://hg.mozilla.org/mozilla-central/rev/1e710184eb57d8decb388aee8efdac082d9b48a1
-
Bug 1594567 - Fix occluder clip rects for off-screen picture caches. …
…r=kvark Differential Revision: https://phabricator.services.mozilla.com/D52108 [wrupdater] From https://hg.mozilla.org/mozilla-central/rev/ecccc6021b088d35a1b7ee9c09090295605b3e21
Commits on Nov 8, 2019
-
Bug 1585713 - disable subpixel positioning for oversized WR fonts. r=…
…jnicol Differential Revision: https://phabricator.services.mozilla.com/D51746 [wrupdater] From https://hg.mozilla.org/mozilla-central/rev/3479e57e405a9b3b97acc25f76ab4797b0994e84
-
Bug 1594747. Update bitflags in WebRender to 1.2. r=kvark
This will help with some warnings about try! Differential Revision: https://phabricator.services.mozilla.com/D52176 [wrupdater] From https://hg.mozilla.org/mozilla-central/rev/cc5ba185000817048946121942490e3409d554c5
-
Bug 1575648 - don't set RUSTFLAGS='--deny warnings' (temporary fix) r…
…=nical This change is a temporary fix to not set RUSTFLAGS='--deny warnings' in order to unblock https://bugzil.la/1575648 (which is time-critical). The longer term solution for this is https://bugzil.la/1564873. Differential Revision: https://phabricator.services.mozilla.com/D52360 [wrupdater] From https://hg.mozilla.org/mozilla-central/rev/c61c05f3707767aaf77f7cffa741c86ef44ace2d