gallium: New PIPE_TEXTURE_USAGE_PRIMARY flag for primary surfaces.
This commit is contained in:
@@ -287,8 +287,9 @@ struct pipe_surface
|
||||
|
||||
#define PIPE_TEXTURE_USAGE_RENDER_TARGET 0x1
|
||||
#define PIPE_TEXTURE_USAGE_DISPLAY_TARGET 0x2 /* ie a backbuffer */
|
||||
#define PIPE_TEXTURE_USAGE_DEPTH_STENCIL 0x4
|
||||
#define PIPE_TEXTURE_USAGE_SAMPLER 0x8
|
||||
#define PIPE_TEXTURE_USAGE_PRIMARY 0x4 /* ie a frontbuffer */
|
||||
#define PIPE_TEXTURE_USAGE_DEPTH_STENCIL 0x8
|
||||
#define PIPE_TEXTURE_USAGE_SAMPLER 0x10
|
||||
|
||||
/**
|
||||
* Texture object.
|
||||
|
||||
Reference in New Issue
Block a user