Home
last modified time | relevance | path

Searched refs:gl_query_object (Results 1 – 25 of 25) sorted by relevance

/third_party/mesa3d/src/mesa/main/
Dqueryobj.c44 static struct gl_query_object *
47 struct gl_query_object *q = CALLOC_STRUCT(gl_query_object); in _mesa_new_query_object()
77 _mesa_begin_query(struct gl_context *ctx, struct gl_query_object *q) in _mesa_begin_query()
88 _mesa_end_query(struct gl_context *ctx, struct gl_query_object *q) in _mesa_end_query()
100 _mesa_wait_query(struct gl_context *ctx, struct gl_query_object *q) in _mesa_wait_query()
115 _mesa_check_query(struct gl_context *ctx, struct gl_query_object *q) in _mesa_check_query()
133 _mesa_delete_query(struct gl_context *ctx, struct gl_query_object *q) in _mesa_delete_query()
151 static struct gl_query_object **
169 static struct gl_query_object **
277 struct gl_query_object *q in create_queries()
[all …]
Dqueryobj.h34 static inline struct gl_query_object *
37 return (struct gl_query_object *) in _mesa_lookup_query_object()
52 _mesa_delete_query(struct gl_context *ctx, struct gl_query_object *q);
Dcondrender.c44 struct gl_query_object *q = NULL; in begin_conditional_render()
186 struct gl_query_object *q = ctx->Query.CondRenderQuery; in _mesa_check_conditional_render()
Ddd.h891 struct gl_query_object * (*NewQueryObject)(struct gl_context *ctx, GLuint id);
892 void (*DeleteQuery)(struct gl_context *ctx, struct gl_query_object *q);
893 void (*BeginQuery)(struct gl_context *ctx, struct gl_query_object *q);
894 void (*QueryCounter)(struct gl_context *ctx, struct gl_query_object *q);
895 void (*EndQuery)(struct gl_context *ctx, struct gl_query_object *q);
896 void (*CheckQuery)(struct gl_context *ctx, struct gl_query_object *q);
897 void (*WaitQuery)(struct gl_context *ctx, struct gl_query_object *q);
904 void (*StoreQueryResult)(struct gl_context *ctx, struct gl_query_object *q,
1042 struct gl_query_object *q,
1045 struct gl_query_object *q);
Dmtypes.h3308 struct gl_query_object struct
3327 struct gl_query_object *CurrentOcclusionObject; /* GL_ARB_occlusion_query */ argument
3328 struct gl_query_object *CurrentTimerObject; /* GL_EXT_timer_query */
3331 struct gl_query_object *CondRenderQuery;
3334 struct gl_query_object *PrimitivesGenerated[MAX_VERTEX_STREAMS];
3335 struct gl_query_object *PrimitivesWritten[MAX_VERTEX_STREAMS];
3338 struct gl_query_object *TransformFeedbackOverflow[MAX_VERTEX_STREAMS];
3339 struct gl_query_object *TransformFeedbackOverflowAny;
3342 struct gl_query_object *TimeElapsed;
3345 struct gl_query_object *pipeline_stats[MAX_PIPELINE_STATISTICS];
Dobjectlabel.c172 struct gl_query_object *query = _mesa_lookup_query_object(ctx, name); in get_label_pointer()
/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_queryobj.c36 static void radeonQueryGetResult(struct gl_context *ctx, struct gl_query_object *q) in radeonQueryGetResult()
58 static struct gl_query_object * radeonNewQueryObject(struct gl_context *ctx, GLuint id) in radeonNewQueryObject()
74 static void radeonDeleteQuery(struct gl_context *ctx, struct gl_query_object *q) in radeonDeleteQuery()
87 static void radeonWaitQuery(struct gl_context *ctx, struct gl_query_object *q) in radeonWaitQuery()
104 static void radeonBeginQuery(struct gl_context *ctx, struct gl_query_object *q) in radeonBeginQuery()
147 static void radeonEndQuery(struct gl_context *ctx, struct gl_query_object *q) in radeonEndQuery()
160 static void radeonCheckQuery(struct gl_context *ctx, struct gl_query_object *q) in radeonCheckQuery()
Dradeon_common_context.h222 struct gl_query_object Base;
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_queryobj.c36 static void radeonQueryGetResult(struct gl_context *ctx, struct gl_query_object *q) in radeonQueryGetResult()
58 static struct gl_query_object * radeonNewQueryObject(struct gl_context *ctx, GLuint id) in radeonNewQueryObject()
74 static void radeonDeleteQuery(struct gl_context *ctx, struct gl_query_object *q) in radeonDeleteQuery()
87 static void radeonWaitQuery(struct gl_context *ctx, struct gl_query_object *q) in radeonWaitQuery()
104 static void radeonBeginQuery(struct gl_context *ctx, struct gl_query_object *q) in radeonBeginQuery()
147 static void radeonEndQuery(struct gl_context *ctx, struct gl_query_object *q) in radeonEndQuery()
160 static void radeonCheckQuery(struct gl_context *ctx, struct gl_query_object *q) in radeonCheckQuery()
Dradeon_common_context.h222 struct gl_query_object Base;
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_queryobj.c51 static struct gl_query_object *
82 st_DeleteQuery(struct gl_context *ctx, struct gl_query_object *q) in st_DeleteQuery()
93 target_to_index(const struct st_context *st, const struct gl_query_object *q) in target_to_index()
133 st_BeginQuery(struct gl_context *ctx, struct gl_query_object *q) in st_BeginQuery()
231 st_EndQuery(struct gl_context *ctx, struct gl_query_object *q) in st_EndQuery()
344 st_WaitQuery(struct gl_context *ctx, struct gl_query_object *q) in st_WaitQuery()
363 st_CheckQuery(struct gl_context *ctx, struct gl_query_object *q) in st_CheckQuery()
390 st_StoreQueryResult(struct gl_context *ctx, struct gl_query_object *q, in st_StoreQueryResult()
Dst_cb_queryobj.h39 struct gl_query_object base;
53 st_query_object(struct gl_query_object *q) in st_query_object()
Dst_cb_condrender.c52 st_BeginConditionalRender(struct gl_context *ctx, struct gl_query_object *q, in st_BeginConditionalRender()
105 st_EndConditionalRender(struct gl_context *ctx, struct gl_query_object *q) in st_EndConditionalRender()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_queryobj.c218 static struct gl_query_object *
237 brw_delete_query(struct gl_context *ctx, struct gl_query_object *q) in brw_delete_query()
252 brw_begin_query(struct gl_context *ctx, struct gl_query_object *q) in brw_begin_query()
325 brw_end_query(struct gl_context *ctx, struct gl_query_object *q) in brw_end_query()
379 static void brw_wait_query(struct gl_context *ctx, struct gl_query_object *q) in brw_wait_query()
397 static void brw_check_query(struct gl_context *ctx, struct gl_query_object *q) in brw_check_query()
517 brw_query_counter(struct gl_context *ctx, struct gl_query_object *q) in brw_query_counter()
Dgfx6_queryobj.c324 gfx6_begin_query(struct gl_context *ctx, struct gl_query_object *q) in gfx6_begin_query()
413 gfx6_end_query(struct gl_context *ctx, struct gl_query_object *q) in gfx6_end_query()
498 static void gfx6_wait_query(struct gl_context *ctx, struct gl_query_object *q) in gfx6_wait_query()
518 static void gfx6_check_query(struct gl_context *ctx, struct gl_query_object *q) in gfx6_check_query()
544 gfx6_query_counter(struct gl_context *ctx, struct gl_query_object *q) in gfx6_query_counter()
Dbrw_conditional_render.c130 struct gl_query_object *q, in brw_begin_conditional_render()
166 struct gl_query_object *q) in brw_end_conditional_render()
Dbrw_context.h448 struct gl_query_object Base;
1305 void brw_query_counter(struct gl_context *ctx, struct gl_query_object *q);
Dhsw_queryobj.c433 hsw_store_query_result(struct gl_context *ctx, struct gl_query_object *q, in hsw_store_query_result()
DgenX_state_upload.c3739 query_active(struct gl_query_object *q)
/third_party/mesa3d/src/mesa/drivers/x11/
Dxm_dd.c780 struct gl_query_object Base;
785 static struct gl_query_object *
798 xmesa_begin_query(struct gl_context *ctx, struct gl_query_object *q) in xmesa_begin_query()
822 xmesa_end_query(struct gl_context *ctx, struct gl_query_object *q) in xmesa_end_query()
/third_party/mesa3d/src/mesa/drivers/common/
Dmeta.h78 struct gl_query_object *CurrentOcclusionObject;
169 struct gl_query_object *CondRenderQuery;
Dmeta.c863 struct gl_query_object *q = save->CurrentOcclusionObject; in _mesa_meta_end()
/third_party/mesa3d/src/mesa/swrast/
Ds_context.c901 struct gl_query_object *query = ctx->Query.CurrentOcclusionObject; in _swrast_render_finish()
Ds_triangle.c887 struct gl_query_object *q = ctx->Query.CurrentOcclusionObject; \
Ds_span.c1242 struct gl_query_object *q = ctx->Query.CurrentOcclusionObject; in _swrast_write_rgba_span()