gallium: Move PIPE_TEXTURE_USAGE* to p_defines.h

This commit is contained in:
José Fonseca
2008-07-19 08:38:35 +09:00
parent 72e57b52f0
commit 1a8ceb3828
2 changed files with 6 additions and 6 deletions
+6
View File
@@ -166,6 +166,12 @@ enum pipe_texture_target {
#define PIPE_TEX_FACE_NEG_Z 5
#define PIPE_TEX_FACE_MAX 6
#define PIPE_TEXTURE_USAGE_RENDER_TARGET 0x1
#define PIPE_TEXTURE_USAGE_DISPLAY_TARGET 0x2 /* ie a backbuffer */
#define PIPE_TEXTURE_USAGE_PRIMARY 0x4 /* ie a frontbuffer */
#define PIPE_TEXTURE_USAGE_DEPTH_STENCIL 0x8
#define PIPE_TEXTURE_USAGE_SAMPLER 0x10
/**
* Surfaces, textures, etc. (others may be added)
*/
-6
View File
@@ -287,12 +287,6 @@ struct pipe_surface
};
#define PIPE_TEXTURE_USAGE_RENDER_TARGET 0x1
#define PIPE_TEXTURE_USAGE_DISPLAY_TARGET 0x2 /* ie a backbuffer */
#define PIPE_TEXTURE_USAGE_PRIMARY 0x4 /* ie a frontbuffer */
#define PIPE_TEXTURE_USAGE_DEPTH_STENCIL 0x8
#define PIPE_TEXTURE_USAGE_SAMPLER 0x10
/**
* Texture object.
*/