Lines Matching refs:ids
307 GLuint ids = 0; in gen_queries() local
308 ctx.glGenQueries (-1, &ids); in gen_queries()
315 GLuint ids[3]; in begin_query() local
316 ctx.glGenQueries (3, ids); in begin_query()
319 ctx.glBeginQuery (-1, ids[0]); in begin_query()
324 ctx.glBeginQuery (GL_ANY_SAMPLES_PASSED, ids[0]); in begin_query()
326 ctx.glBeginQuery (GL_ANY_SAMPLES_PASSED, ids[1]); in begin_query()
329 ctx.glBeginQuery (GL_ANY_SAMPLES_PASSED_CONSERVATIVE, ids[1]); in begin_query()
331 ctx.glBeginQuery (GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, ids[1]); in begin_query()
333 ctx.glBeginQuery (GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, ids[2]); in begin_query()
348 ctx.glDeleteQueries (1, &ids[2]); in begin_query()
350 ctx.glBeginQuery (GL_ANY_SAMPLES_PASSED, ids[2]); in begin_query()
355 ctx.glBeginQuery (GL_ANY_SAMPLES_PASSED, ids[0]); in begin_query()
357 ctx.glBeginQuery (GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, ids[0]); in begin_query()
364 ctx.glBeginQuery (GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, ids[0]); in begin_query()
368 ctx.glDeleteQueries (2, &ids[0]); in begin_query()