summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorYounes Manton <[email protected]>2008-12-05 02:22:56 -0500
committerYounes Manton <[email protected]>2009-01-10 13:52:04 -0500
commitfbf418d9dc0aa2965ca7673ae20f6e47c4a53c8a (patch)
treeb3d91d38003763de87ddd444c70760ff27f058a1 /src/gallium/include
parent72aa42e59468817798484defe5b3f6dfec0d33e3 (diff)
gallium: Define PIPE_TEXTURE_USAGE_DYNAMIC.
Knowing how the client intends to use the texture will give the driver the opportunity to optimize for such cases.
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_defines.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h
index 6bfac581f9f..5c6a92b53bc 100644
--- a/src/gallium/include/pipe/p_defines.h
+++ b/src/gallium/include/pipe/p_defines.h
@@ -171,6 +171,7 @@ enum pipe_texture_target {
#define PIPE_TEXTURE_USAGE_PRIMARY 0x4 /* ie a frontbuffer */
#define PIPE_TEXTURE_USAGE_DEPTH_STENCIL 0x8
#define PIPE_TEXTURE_USAGE_SAMPLER 0x10
+#define PIPE_TEXTURE_USAGE_DYNAMIC 0x20
/** Pipe driver custom usage flags should be greater or equal to this value */
#define PIPE_TEXTURE_USAGE_CUSTOM (1 << 16)