diff options
author | Chad Versace <[email protected]> | 2015-04-06 06:46:09 -0700 |
---|---|---|
committer | Chad Versace <[email protected]> | 2015-04-13 07:36:29 -0700 |
commit | d3b042f359df5836d4a4f56664eb228fc80772c0 (patch) | |
tree | 4bfb13f890ebd704d436a3f43154b2f3467fef2f /src/glx/dri2_glx.c | |
parent | e1338f267fa5670fc02a450774fa89b42e990883 (diff) |
i965: Add field intel_mipmap_tree::disable_aux_buffers
The new field disables allocation of auxiliary buffers, such as the HiZ
buffer and MCS buffer. This is useful for sharing the miptree bo with an
external client that doesn't understand auxiliary buffers.
We need this field to safely render to a buffer that was imported with
EGL_EXT_image_dma_buf_import, because EGL does not yet have extensions
to manage flushing and invalidating auxiliary buffers.
Nothing yet enables this field. That's left to follow-up patches.
Testing:
- Tested on Ivybridge Chromebook Pixel with WebGL Aquarium and
YouTube.
- No Piglit regressions on Broadwell with `piglit run -p gbm
tests/quick.py`.
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/glx/dri2_glx.c')
0 files changed, 0 insertions, 0 deletions