summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/p_winsys.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/p_winsys.h')
-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);