mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
more formats
This commit is contained in:
parent
fc9ff31298
commit
66ae07854e
1 changed files with 19 additions and 15 deletions
|
|
@ -134,21 +134,25 @@
|
|||
/**
|
||||
* Texture/surface image formats (preliminary)
|
||||
*/
|
||||
#define PIPE_FORMAT_NONE 0 /**< unstructured */
|
||||
#define PIPE_FORMAT_U_R8_G8_B8_A8 1 /**< ubyte[4] RGBA */
|
||||
#define PIPE_FORMAT_U_A8_R8_G8_B8 2 /**< ubyte[4] ARGB */
|
||||
#define PIPE_FORMAT_U_R5_G6_B5 3 /**< 5/6/5 RGB */
|
||||
#define PIPE_FORMAT_U_L8 4 /**< ubyte luminance */
|
||||
#define PIPE_FORMAT_U_A8 5 /**< ubyte alpha */
|
||||
#define PIPE_FORMAT_U_I8 6 /**< ubyte intensity */
|
||||
#define PIPE_FORMAT_U_L8_A8 7 /**< ubyte luminance, alpha */
|
||||
#define PIPE_FORMAT_YCBCR 8
|
||||
#define PIPE_FORMAT_YCBCR_REV 9
|
||||
#define PIPE_FORMAT_U_Z16 10 /**< ushort Z/depth */
|
||||
#define PIPE_FORMAT_U_Z32 11 /**< uint Z/depth */
|
||||
#define PIPE_FORMAT_F_Z32 12 /**< float Z/depth */
|
||||
#define PIPE_FORMAT_S8_Z24 13 /**< 8-bit stencil + 24-bit Z */
|
||||
#define PIPE_FORMAT_U_S8 14 /**< 8-bit stencil */
|
||||
#define PIPE_FORMAT_NONE 0 /**< unstructured */
|
||||
#define PIPE_FORMAT_U_R8_G8_B8_A8 1 /**< ubyte[4] RGBA */
|
||||
#define PIPE_FORMAT_U_A8_R8_G8_B8 2 /**< ubyte[4] ARGB */
|
||||
#define PIPE_FORMAT_U_A1_R5_G5_B5 3 /**< 16-bit packed RGBA */
|
||||
#define PIPE_FORMAT_U_A4_R4_G4_B4 4 /**< 16-bit packed RGBA */
|
||||
#define PIPE_FORMAT_U_R5_G6_B5 5 /**< 16-bit packed RGB */
|
||||
#define PIPE_FORMAT_U_L8 6 /**< ubyte luminance */
|
||||
#define PIPE_FORMAT_U_A8 7 /**< ubyte alpha */
|
||||
#define PIPE_FORMAT_U_I8 8 /**< ubyte intensity */
|
||||
#define PIPE_FORMAT_U_L8_A8 9 /**< ubyte luminance, alpha */
|
||||
#define PIPE_FORMAT_S_R16_G16_B16_A16 10 /**< signed 16-bit RGBA (accum) */
|
||||
#define PIPE_FORMAT_YCBCR 11
|
||||
#define PIPE_FORMAT_YCBCR_REV 12
|
||||
#define PIPE_FORMAT_U_Z16 13 /**< ushort Z/depth */
|
||||
#define PIPE_FORMAT_U_Z32 14 /**< uint Z/depth */
|
||||
#define PIPE_FORMAT_F_Z32 15 /**< float Z/depth */
|
||||
#define PIPE_FORMAT_S8_Z24 16 /**< 8-bit stencil + 24-bit Z */
|
||||
#define PIPE_FORMAT_U_S8 17 /**< 8-bit stencil */
|
||||
#define PIPE_FORMAT_COUNT 18 /**< number of formats */
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue