Closed
Bug 1331671
Opened 8 years ago
Closed 6 years ago
Sort out WebRender image formats
Categories
(Core :: Graphics: WebRender, defect, P3)
Core
Graphics: WebRender
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.
Reporter | ||
Comment 1•8 years ago
|
||
Related WebRender issue: https://github.com/servo/webrender/issues/732
Updated•7 years ago
|
Blocks: stage-wr-year
Updated•7 years ago
|
Priority: -- → P3
Updated•7 years ago
|
status-firefox56:
--- → unaffected
status-firefox57:
--- → unaffected
Updated•7 years ago
|
See Also: → https://github.com/servo/webrender/issues/732
Comment 2•6 years ago
|
||
The WR issue is closed, is there more that needs to be done here?
Flags: needinfo?(nical.bugzilla)
Reporter | ||
Comment 3•6 years ago
|
||
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.
Description
•