Closed Bug 1536732 Opened 7 months ago Closed 7 months ago

Add experimental pixel-local-storage render path to WR

Categories

(Core :: Graphics: WebRender, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: gw, Assigned: gw)

Details

Attachments

(1 file, 1 obsolete file)

No description provided.
Assignee: nobody → gwatson
Attached file Bug 1536732 - Update gleam to 0.6.14 (obsolete) —

Add an experimental code path that makes use of the pixel local
storage extension available on many mobile GPUs.

This code path is currently disabled by default, as the support
is not complete for all primitives and blend modes. The initial
aim is to get feature parity with the existing renderer.

Once that's complete, we can take advantage of the (minimum)
12 bytes per pixel of high speed on-tile memory to store custom
data.

Clip masks are a good use case for this, since they map 1:1 with
the position of the fragment they are clipping. Using this for
clip masks allows us to handle clipping on mobile GPUs in a much
more efficient way - we can skip (a) separate render targets,
(b) target resolve (c) sample the mask texture during rendering.

Depends on D24123

Attachment #9052167 - Attachment is obsolete: true
Pushed by gwatson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/47f7db4203c6
Add experimental pixel-local-storage render path to WR r=kvark
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.