Closed
Bug 1594114
Opened 5 years ago
Closed 4 years ago
Add SurfaceFormat for OS/endian-specific preferred format
Categories
(Core :: Graphics, task, P2)
Core
Graphics
Tracking
()
RESOLVED
FIXED
mozilla72
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: aosmond, Assigned: aosmond)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
OS_RGBA and OS_RGBX should be the preferred color channel and byte ordering, as determined at compile time. This should default to BGRA as is the case today. They will be used to facilitate the initial transition to RGBA on Android (and Linux).
Assignee | ||
Comment 1•5 years ago
|
||
OS_RGBA and OS_RGBX are defined as the preferred surface format for the
platform and architecture, fixed at compile time. Today this will be
initially defined as B8G8R8A8. The future intent is that once all parts
of the system support all configurations, then we can use R8G8B8A8 on
certain platforms (e.g. Android, Linux, Mac) and invert it on big-endian
architectures.
Pushed by aosmond@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/de6cf4a44c01 Add SurfaceFormat::OS_RGBA and OS_RGBX to define preferred format. r=jrmuizel
Comment 3•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox72:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
You need to log in
before you can comment on or make changes to this bug.
Description
•