20
edits
m (→Example) |
(removed references to convertScreenRect, which was removed as bloat) |
||
Line 20: | Line 20: | ||
*Backends '''''must''''' place the highest color mode that is supported by the backend and the hardware at the beginning of the list returned by getSupportedFormats. | *Backends '''''must''''' place the highest color mode that is supported by the backend and the hardware at the beginning of the list returned by getSupportedFormats. | ||
*Backends ''should'' support graphics in RGB(A) color order, even if their hardware uses a different color order, but are not required to. | *Backends ''should'' support graphics in RGB(A) color order, even if their hardware uses a different color order, but are not required to. | ||
*Backends supporting color order conversion | *Backends supporting color order conversion with limited hardware may use crossBlit, but are '''strongly recommended''' to use platform-optimized code. | ||
== Truecolor API initialization protocol == | == Truecolor API initialization protocol == | ||
Line 181: | Line 180: | ||
**Backends which do not support fast conversion '''''must''''' put all modes directly supported in hardware, (and CLUT8), before modes that will require conversion during copyRectToScreen. | **Backends which do not support fast conversion '''''must''''' put all modes directly supported in hardware, (and CLUT8), before modes that will require conversion during copyRectToScreen. | ||
**Backends which support fast conversion ''should'' put larger colorspaces before smaller color spaces, but are not required to. | **Backends which support fast conversion ''should'' put larger colorspaces before smaller color spaces, but are not required to. | ||
==== Graphics::PixelFormat ==== | ==== Graphics::PixelFormat ==== |
edits