Changes

538 bytes removed ,  15:44, 11 April 2015
Rewrote format section - most of the prior content was wrong or misleading
Line 139: Line 139:  
| 0x0
 
| 0x0
 
| RGBA8888
 
| RGBA8888
| GL_RGBA / DMP-extension constant 0x6752
+
| GL_RGBA
 
| GL_UNSIGNED_BYTE
 
| GL_UNSIGNED_BYTE
 
|-
 
|-
 
| 0x1
 
| 0x1
| BGR888
+
| RGB888
| GL_RGB / DMP-extension constant 0x6754
+
| GL_RGB
 
| GL_UNSIGNED_BYTE
 
| GL_UNSIGNED_BYTE
 
|-
 
|-
 
| 0x2
 
| 0x2
 
| RGBA5551
 
| RGBA5551
| GL_RGBA / DMP-extension constant 0x6752
+
| GL_RGBA
 
| GL_UNSIGNED_SHORT_5_5_5_1
 
| GL_UNSIGNED_SHORT_5_5_5_1
 
|-
 
|-
 
| 0x3
 
| 0x3
| BGR565
+
| RGB565
| GL_RGB / DMP-extension constant 0x6754
+
| GL_RGB
 
| GL_UNSIGNED_SHORT_5_6_5
 
| GL_UNSIGNED_SHORT_5_6_5
 
|-
 
|-
 
| 0x4
 
| 0x4
 
| RGBA4444
 
| RGBA4444
| GL_RGBA / DMP-extension constant 0x6752
+
| GL_RGBA
 
| GL_UNSIGNED_SHORT_4_4_4_4
 
| GL_UNSIGNED_SHORT_4_4_4_4
 
|-
 
|-
 
| 0x5
 
| 0x5
| Tiled RGB565
+
| IA8
| GL_LUMINANCE_ALPHA(?) / DMP-extension constant 0x6758(?)
+
| GL_LUMINANCE_ALPHA
| GL_UNSIGNED_BYTE(?)
+
| GL_UNSIGNED_BYTE
 
|-
 
|-
 
| 0x6
 
| 0x6
| Tiled BGR888
+
|  
| DMP-extension constants 0x6700 / 0x6759
+
|  
| GL_UNSIGNED_BYTE
+
|  
 
|-
 
|-
 
| 0x7
 
| 0x7
|  
+
| I8
| GL_LUMINANCE / DMP-extension constant 0x6757
+
| GL_LUMINANCE
 
| GL_UNSIGNED_BYTE
 
| GL_UNSIGNED_BYTE
 
|-
 
|-
 
| 0x8
 
| 0x8
|  
+
| A8
| GL_ALPHA / DMP-extension constant 0x6756
+
| GL_ALPHA
 
| GL_UNSIGNED_BYTE
 
| GL_UNSIGNED_BYTE
 
|-
 
|-
 
| 0x9
 
| 0x9
| ?
+
| IA44
| GL_LUMINANCE_ALPHA / DMP-extension constant 0x6758
+
| GL_LUMINANCE_ALPHA
| DMP-extension constant 0x6760
+
| GL_UNSIGNED_BYTE_4_4_EXT
 
|-
 
|-
 
| 0xA
 
| 0xA
| ?
+
|  
| GL_LUMINANCE / DMP-extension constant 0x6757
+
|  
| DMP-extension constant 0x6761
+
|
 
|-
 
|-
 
| 0xB
 
| 0xB
| ?
+
| A4
| GL_ALPHA / DMP-extension constant 0x6756
+
| GL_ALPHA
| DMP-extension constant 0x6761
+
| GL_UNSIGNED_NIBBLE_EXT
 
|-
 
|-
 
| 0xC
 
| 0xC
| Compression related?
+
| ETC1
| DMP-extension constant 0x675A
+
| GL_ETC1_RGB8_OES
 
|  
 
|  
 
|-
 
|-
 
| 0xD
 
| 0xD
| ?
+
| ETC1A4
| DMP-extension constant 0x675B
+
|
 
|  
 
|  
 
|}
 
|}
549

edits