#include "glheader.h"
#include "context.h"
#include "hash.h"
#include "imports.h"
#include "queryobj.h"
#include "mtypes.h"
Functions | |
| static struct gl_query_object * | _mesa_new_query_object (GLcontext *ctx, GLuint id) |
| Allocate a new query object. | |
| static void | _mesa_begin_query (GLcontext *ctx, struct gl_query_object *q) |
| Begin a query. | |
| static void | _mesa_end_query (GLcontext *ctx, struct gl_query_object *q) |
| End a query. | |
| static void | _mesa_wait_query (GLcontext *ctx, struct gl_query_object *q) |
| Wait for query to complete. | |
| static void | _mesa_check_query (GLcontext *ctx, struct gl_query_object *q) |
| Check if a query results are ready. | |
| static void | _mesa_delete_query (GLcontext *ctx, struct gl_query_object *q) |
| Delete a query object. | |
| static struct gl_query_object * | lookup_query_object (GLcontext *ctx, GLuint id) |
| void | _mesa_init_query_object_functions (struct dd_function_table *driver) |
| void GLAPIENTRY | _mesa_GenQueriesARB (GLsizei n, GLuint *ids) |
| void GLAPIENTRY | _mesa_DeleteQueriesARB (GLsizei n, const GLuint *ids) |
| GLboolean GLAPIENTRY | _mesa_IsQueryARB (GLuint id) |
| void GLAPIENTRY | _mesa_BeginQueryARB (GLenum target, GLuint id) |
| void GLAPIENTRY | _mesa_EndQueryARB (GLenum target) |
| void GLAPIENTRY | _mesa_GetQueryivARB (GLenum target, GLenum pname, GLint *params) |
| void GLAPIENTRY | _mesa_GetQueryObjectivARB (GLuint id, GLenum pname, GLint *params) |
| void GLAPIENTRY | _mesa_GetQueryObjectuivARB (GLuint id, GLenum pname, GLuint *params) |
| void | _mesa_init_query (GLcontext *ctx) |
| Allocate/init the context state related to query objects. | |
| static void | delete_queryobj_cb (GLuint id, void *data, void *userData) |
| Callback for deleting a query object. | |
| void | _mesa_free_query_data (GLcontext *ctx) |
| Free the context state related to query objects. | |
| static void _mesa_begin_query | ( | GLcontext * | ctx, | |
| struct gl_query_object * | q | |||
| ) | [static] |
Begin a query.
Software driver fallback. Called via ctx->Driver.BeginQuery().
| void GLAPIENTRY _mesa_BeginQueryARB | ( | GLenum | target, | |
| GLuint | id | |||
| ) |
| static void _mesa_check_query | ( | GLcontext * | ctx, | |
| struct gl_query_object * | q | |||
| ) | [static] |
Check if a query results are ready.
Software driver fallback. Called via ctx->Driver.CheckQuery().
| static void _mesa_delete_query | ( | GLcontext * | ctx, | |
| struct gl_query_object * | q | |||
| ) | [static] |
Delete a query object.
Called via ctx->Driver.DeleteQuery(). Not removed from hash table here.
| void GLAPIENTRY _mesa_DeleteQueriesARB | ( | GLsizei | n, | |
| const GLuint * | ids | |||
| ) |
| static void _mesa_end_query | ( | GLcontext * | ctx, | |
| struct gl_query_object * | q | |||
| ) | [static] |
End a query.
Software driver fallback. Called via ctx->Driver.EndQuery().
| void GLAPIENTRY _mesa_EndQueryARB | ( | GLenum | target | ) |
| void _mesa_free_query_data | ( | GLcontext * | ctx | ) |
Free the context state related to query objects.
| void GLAPIENTRY _mesa_GenQueriesARB | ( | GLsizei | n, | |
| GLuint * | ids | |||
| ) |
| void GLAPIENTRY _mesa_GetQueryivARB | ( | GLenum | target, | |
| GLenum | pname, | |||
| GLint * | params | |||
| ) |
| void GLAPIENTRY _mesa_GetQueryObjectivARB | ( | GLuint | id, | |
| GLenum | pname, | |||
| GLint * | params | |||
| ) |
| void GLAPIENTRY _mesa_GetQueryObjectuivARB | ( | GLuint | id, | |
| GLenum | pname, | |||
| GLuint * | params | |||
| ) |
| void _mesa_init_query | ( | GLcontext * | ctx | ) |
Allocate/init the context state related to query objects.
| void _mesa_init_query_object_functions | ( | struct dd_function_table * | driver | ) |
| GLboolean GLAPIENTRY _mesa_IsQueryARB | ( | GLuint | id | ) |
| static struct gl_query_object* _mesa_new_query_object | ( | GLcontext * | ctx, | |
| GLuint | id | |||
| ) | [static, read] |
Allocate a new query object.
This is a fallback routine called via ctx->Driver.NewQueryObject().
| ctx | - rendering context | |
| id | - the new object's ID |
| static void _mesa_wait_query | ( | GLcontext * | ctx, | |
| struct gl_query_object * | q | |||
| ) | [static] |
Wait for query to complete.
Software driver fallback. Called via ctx->Driver.WaitQuery().
| static void delete_queryobj_cb | ( | GLuint | id, | |
| void * | data, | |||
| void * | userData | |||
| ) | [static] |
Callback for deleting a query object.
Called by _mesa_HashDeleteAll().
| static struct gl_query_object* lookup_query_object | ( | GLcontext * | ctx, | |
| GLuint | id | |||
| ) | [static, read] |
1.5.4