Closed Bug 1331671 Opened 8 years ago Closed 6 years ago

Sort out WebRender image formats

Categories

(Core :: Graphics: WebRender, defect, P3)

defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox56 --- unaffected
firefox57 --- unaffected

People

(Reporter: nical, Unassigned)

References

Details

WebRender currently has RGBA, RGB, RGBF32 and A8. Gecko has many more. RGBA actually means gfx::B8G8R8A8 in gecko parlance while RGB corresponds to gfx::B8G8R8 which we don't seem to use at all. We have gfx::B8G8R8X8 which means opaque BGRA. On The WebRender side the plan is to have an ImageDescriptor type that stores this as BGRA with a separate opaqueness flag (along with size and stride). This ImageDescriptor type needs to be added. Right now we don't have a way to specify opaque BGRA in WebRender. The gecko/wr interface should only see opaque/non-opaue BGRA and A8 surfaces. Let's assert that no other format gets to the ffi boundary.
Blocks: webrender
The WR issue is closed, is there more that needs to be done here?
Flags: needinfo?(nical.bugzilla)
No I think that was done a while ago.
Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(nical.bugzilla)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.