diff options
author | Marek Olšák <[email protected]> | 2014-01-27 21:42:07 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-02-25 16:05:41 +0100 |
commit | 5f61f052b5fd8e590eca652fdac381452eb9853d (patch) | |
tree | 1346f2035ad3eeebc482f4ea8a84a9179db198de /src/gallium/include/pipe/p_context.h | |
parent | d26a065b7496ef69754fde6e4d0006ccb76f7f3a (diff) |
gallium: add interface for persistent and coherent buffer mappings
Required for ARB_buffer_storage.
Diffstat (limited to 'src/gallium/include/pipe/p_context.h')
-rw-r--r-- | src/gallium/include/pipe/p_context.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_context.h b/src/gallium/include/pipe/p_context.h index 209ec9e074b..0702729e36f 100644 --- a/src/gallium/include/pipe/p_context.h +++ b/src/gallium/include/pipe/p_context.h @@ -406,7 +406,12 @@ struct pipe_context { * Flush any pending framebuffer writes and invalidate texture caches. */ void (*texture_barrier)(struct pipe_context *); - + + /** + * Flush caches according to flags. + */ + void (*memory_barrier)(struct pipe_context *, unsigned flags); + /** * Creates a video codec for a specific video format/profile */ |