GPU/External Registers: Difference between revisions

Neobrain (talk | contribs)
Explicit example.
Neobrain (talk | contribs)
Fix the example, lol.
Line 230: Line 230:
| GL_RGBA4_OES
| GL_RGBA4_OES
|}
|}
Color components are laid out in reverse byte order, with the most significant bits used first. For instance, a raw data stream of two GL_RGB565_OES pixels looks like BBBBBGGG GGGRRRRR BBBBBGGG GGGRRRRR.
Color components are laid out in reverse byte order, with the most significant bits used first (i.e. non-24-bit pixels are stored as a little-endian values). For instance, a raw data stream of two GL_RGB565_OES pixels looks like GGGBBBBB RRRRRGGG GGGBBBBB RRRRRGGG.


== Transfer Engine ==
== Transfer Engine ==