mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-28 07:30:22 +01:00
added texture types and mapping types
This commit is contained in:
parent
34cbcf92af
commit
48076dc784
1 changed files with 15 additions and 1 deletions
|
|
@ -134,10 +134,24 @@
|
|||
#define PIPE_FORMAT_U_A8 4 /**< ubyte alpha */
|
||||
#define PIPE_FORMAT_U_I8 5 /**< ubyte intensity */
|
||||
#define PIPE_FORMAT_U_L8_A8 6 /**< ubyte luminance, alpha */
|
||||
|
||||
#define PIPE_FORMAT_U_Z16 7 /**< ushort Z/depth */
|
||||
#define PIPE_FORMAT_F_Z32 8 /**< float Z/depth */
|
||||
#define PIPE_FORMAT_YCBCR 9
|
||||
#define PIPE_FORMAT_YCBCR_REV 10
|
||||
|
||||
/**
|
||||
* Texture typess
|
||||
*/
|
||||
#define PIPE_TEXTURE_1D 0
|
||||
#define PIPE_TEXTURE_2D 1
|
||||
#define PIPE_TEXTURE_3D 2
|
||||
#define PIPE_TEXTURE_CUBE 3
|
||||
|
||||
/**
|
||||
* Buffer mapping access modes
|
||||
*/
|
||||
#define PIPE_MAP_READ 1
|
||||
#define PIPE_MAP_WRITE 2
|
||||
#define PIPE_MAP_READ_WRITE 3
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue