gallium: Move PIPE_TEXTURE_USAGE* to p_defines.h
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Fri, 18 Jul 2008 23:38:35 +0000 (08:38 +0900)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Sat, 19 Jul 2008 03:32:29 +0000 (12:32 +0900)
src/gallium/include/pipe/p_defines.h
src/gallium/include/pipe/p_state.h

index f8fadf31b60b1bb25baab9f9a2710f48f5583df1..bc4d7c845a98fc4d50347a88af7cd1786cb75a69 100644 (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)
  */
index 5546796936163bcb5e9c58a5f3218ff440e3886b..2401305eb75b79a0d0af0119148904b432586d8a 100644 (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.
  */