Home
last modified time | relevance | path

Searched refs:occlusion_query (Results 1 - 6 of 6) sorted by relevance

/third_party/glfw/tests/
H A Dinputlag.c98 GLuint occlusion_query; variable
112 if (!occlusion_query) in swap_buffers()
113 glGenQueries(1, &occlusion_query); in swap_buffers()
114 glBeginQuery(GL_SAMPLES_PASSED, occlusion_query); in swap_buffers()
119 glGetQueryObjectiv(occlusion_query, GL_QUERY_RESULT, &occlusion_result); in swap_buffers()
/third_party/mesa3d/src/gallium/drivers/panfrost/
H A Dpan_context.h168 struct panfrost_query *occlusion_query; member
H A Dpan_context.c896 ctx->occlusion_query = query; in panfrost_begin_query()
929 ctx->occlusion_query = NULL; in panfrost_end_query()
H A Dpan_cmdstream.c532 bool has_oq = ctx->occlusion_query && ctx->active_queries; in panfrost_prepare_fs_state()
3223 if (ctx->occlusion_query && ctx->active_queries) { in panfrost_emit_draw()
3224 if (ctx->occlusion_query->type == PIPE_QUERY_OCCLUSION_COUNTER) in panfrost_emit_draw()
3225 cfg.occlusion_query = MALI_OCCLUSION_MODE_COUNTER; in panfrost_emit_draw()
3227 cfg.occlusion_query = MALI_OCCLUSION_MODE_PREDICATE; in panfrost_emit_draw()
3229 struct panfrost_resource *rsrc = pan_resource(ctx->occlusion_query->rsrc); in panfrost_emit_draw()
3261 bool has_oq = ctx->occlusion_query && ctx->active_queries; in panfrost_emit_draw()
/third_party/mesa3d/src/virtio/virtio-gpu/
H A Dvirgl_hw.h500 unsigned occlusion_query:1; member
/third_party/mesa3d/src/gallium/drivers/virgl/
H A Dvirgl_screen.c96 return vscreen->caps.caps.v1.bset.occlusion_query; in virgl_get_param()

Completed in 15 milliseconds