summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i915/i915_query.c
AgeCommit message (Collapse)AuthorFilesLines
2016-04-21gallium: add bool return to pipe_context::end_queryNicolai Hähnle1-1/+2
Even when begin_query succeeds, there can still be failures in query handling. For example for radeon, additional buffers may have to be allocated when queries span multiple command buffers. Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
2016-04-12gallium: add pipe_context::set_active_query_state for pausing queriesMarek Olšák1-0/+6
Reviewed-by: Roland Scheidegger <sroland@vmware.com> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2015-05-06gallium: make pipe_context::begin_query return a booleanSamuel Pitoiset1-1/+2
GL_AMD_performance_monitor must return an error when a monitoring session cannot be started. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Martin Peres <martin.peres@free.fr>
2014-07-01gallium: add an index argument to create_queryIlia Mirkin1-1/+2
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
2012-03-30gallium: adapt to get_query_result interface changeMarek Olšák1-1/+1
Reviewed-by: Brian Paul <brianp@vmware.com>
2011-06-27i915g: Return the max result for the fake occlusion queries.Stéphane Marchesin1-1/+2
2011-06-24i915g: add fake occlusion queries.Stéphane Marchesin1-0/+85
Those always return 0, but at least we don't crash when exposing GL 2.0.