summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/queryobj.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: remove FEATURE_EXT_transform_feedback define.Oliver McFadden2012-09-151-2/+0
| | | | | Signed-off-by: Oliver McFadden <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* mesa: remove FEATURE_queryobj define.Oliver McFadden2012-09-151-6/+0
| | | | | Signed-off-by: Oliver McFadden <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* mesa: Add constants for the GL_QUERY_COUNTER_BITS per target.Eric Anholt2012-08-261-1/+36
| | | | | | | | | | | | Drivers need to be able to communicate their actual number of bits populated in the field in order for applications to be able to properly handle rollover. There's a small behavior change here: Instead of reporting the GL_SAMPLES_PASSED bits for GL_ANY_SAMPLES_PASSED (which would also be valid), just return 1, because more bits don't make any sense. Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* mesa: implement indexed query functions from ARB_transform_feedback3Marek Olšák2012-07-121-15/+67
| | | | Acked-by: Ian Romanick <[email protected]>
* mesa: implement TIMESTAMP query and glQueryCounterMarek Olšák2012-07-101-6/+72
| | | | Reviewed-by: Brian Paul <[email protected]>
* mesa: make query object API functions staticBrian Paul2011-05-261-6/+6
| | | | Only directly referenced by the _mesa_init_queryobj_dispatch() function.
* mesa: call FLUSH_VERTICES() before deleting shaders, buffers, query objectsBrian Paul2011-03-111-0/+1
| | | | | | | | Need to flush rendering (or at least indicate that the rug might be getting pulled out from underneath us) when a shader, buffer object or query object is about to be deleted. Also, this helps to tell the VBO module to unmap its current vertex buffer.
* mesa: add/update VERBOSE_API loggingBrian Paul2011-02-081-0/+38
|
* mesa: Directly include mfeatures.h in files that perform feature tests.Vinson Lee2011-01-071-0/+1
|
* mesa: fix queryobj whitespace.Dave Airlie2010-12-181-26/+26
| | | | Had done this before pushing but forgot to amend, doh.
* mesa/swrast/st: add ARB_occlusion_query2 support.Dave Airlie2010-12-181-12/+31
| | | | | | | | | | This gets my vote for most pointless extension of all time, I'm guessing some driver could possibly optimise for this instead of counting it might just get a true/false, but I'm not really sure. need this to eventually advertise 3.3 despite its total uselessness. Signed-off-by: Dave Airlie <[email protected]>
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-10/+10
|
* mesa: add new query/buffer targets for transform feedbackBrian Paul2010-03-301-0/+12
|
* mesa: simplify query code with get_query_binding_point()Brian Paul2010-03-301-71/+47
|
* mesa: Move src/mesa/glapi/dispatch.h to mesa.Chia-I Wu2010-02-251-1/+1
| | | | | | glapi/dispatch.h is a core Mesa header file. Move the header file to main/ to make this clear. It also becomes clear after this change that IN_DRI_DRIVER is only used in core Mesa to enable the remap table.
* Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg2010-02-191-1/+1
|
* mesa: make _mesa_lookup_query_object() an non-private inline functionBrian Paul2009-12-311-16/+7
|
* mesa/main: New feature FEATURE_queryobj.Chia-I Wu2009-09-301-19/+29
| | | | | It merges FEATURE_ARB_occlusion_query and FEATURE_EXT_timer_query, and follows the feature conventions.
* mesa: make query-related driver fallback functions staticBrian Paul2009-06-191-6/+18
| | | | Plug them in via _mesa_init_query_object_functions().
* mesa: add default function for ctx->Driver.CheckQuery() hookBrian Paul2009-06-111-1/+15
|
* mesa: Pass the context to query object delete cb to avoid null dereference.Eric Anholt2008-10-071-1/+1
|
* mesa: updated _mesa_delete_query() commentsBrian Paul2008-10-061-2/+1
|
* mesa: add missing GLcontext param to _mesa_delete_query().Brian Paul2008-10-061-1/+1
| | | | Fixes vtk crash and others.
* mesa: improved driver query interfaceKeith Whitwell2008-09-211-52/+65
| | | | Brought over from gallium-0.2 branch.
* Rename occlude.[ch] to queryobj.[ch]Brian2007-04-211-1/+1
|
* Rename occlude.[ch] to queryobj.[ch] to better reflect contents.Brian2007-04-211-0/+538