summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-11-06 14:39:53 -0700
committerBrian <[email protected]>2007-11-06 15:22:55 -0700
commitdb01ff6a19fb2365d4185321654bdfa09dae653f (patch)
tree71587dbf914684954f182baf0718865a140724d2 /src/mesa
parent37624458e4e35569d9ca1d0452114a4c976682ec (diff)
document flags param to region_alloc()
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/pipe/p_winsys.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/pipe/p_winsys.h b/src/mesa/pipe/p_winsys.h
index 298b5556515..5bc6e6475aa 100644
--- a/src/mesa/pipe/p_winsys.h
+++ b/src/mesa/pipe/p_winsys.h
@@ -72,6 +72,9 @@ struct pipe_winsys
const char *, ... );
+ /**
+ * flags is bitmask of PIPE_SURFACE_FLAG_RENDER, PIPE_SURFACE_FLAG_TEXTURE
+ */
struct pipe_region *(*region_alloc)(struct pipe_winsys *ws,
unsigned cpp, unsigned width,
unsigned height, unsigned flags);