diff options
author | Carl Worth <[email protected]> | 2012-12-13 11:15:03 -0800 |
---|---|---|
committer | Carl Worth <[email protected]> | 2013-01-15 13:34:18 -0800 |
commit | c0b768ffee1ba84a4fcfcf41adf60e6d50cbafee (patch) | |
tree | eefcc9f83c88bbe6db4cfdb5a63d10e703d5683f /src/mesa/main | |
parent | 3dd76f7168bba6123c9ac5e2442b8c811f40399f (diff) |
meta: Allow meta operations to pause/resume an active occlusion query
This allows for avoiding the occlusion query erroneously accumulating results
during the meta operation. This functionality is made conditional on a new
MESA_META_OCCLUSION_QUERY bit so that meta-operations which should generate
fragments can continue to get the current behavior.
The implementation of glClear is specifically augmented to request the flag
since glClear is specified to not generate fragments.
This fixes the following es3conform tests:
occlusion_query_draw_occluded.test
occlusion_query_clear
occlusion_query_custom_framebuffer
occlusion_query_stencil_test
occlusion_query_discarded_fragments
As well as the following piglit test:
occlusion_query_meta_no_fragments
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main')
0 files changed, 0 insertions, 0 deletions