diff options
author | Eric Anholt <[email protected]> | 2014-12-21 11:51:33 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2015-01-06 15:40:40 -0800 |
commit | 70e8ccc459d9bf579ad7efeae453cb8641266c94 (patch) | |
tree | 23fb9d5d057fc5c62acd2082827e13329096e1a3 /include/GL/internal | |
parent | 5ae13051249f6f9d44dae15e9deb62e7cb09aed7 (diff) |
egl: Inform the client API when ancillary buffers may become undefined.
This is part of the EGL spec, and is useful for a tiled renderer to avoid
the memory bandwidth cost of storing the depth/stencil buffers.
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'include/GL/internal')
-rw-r--r-- | include/GL/internal/dri_interface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h index 8c5ceb98c28..1d670b1e083 100644 --- a/include/GL/internal/dri_interface.h +++ b/include/GL/internal/dri_interface.h @@ -279,6 +279,7 @@ struct __DRItexBufferExtensionRec { #define __DRI2_FLUSH_DRAWABLE (1 << 0) /* the drawable should be flushed. */ #define __DRI2_FLUSH_CONTEXT (1 << 1) /* glFlush should be called */ +#define __DRI2_FLUSH_INVALIDATE_ANCILLARY (1 << 2) enum __DRI2throttleReason { __DRI2_THROTTLE_SWAPBUFFER, |