/**
* Driver hook for glBeginPerfQueryINTEL().
*/
-static GLboolean
+static bool
brw_begin_perf_query(struct gl_context *ctx,
struct gl_perf_query_object *o)
{
drm_intel_bo_wait_rendering(bo);
}
-static GLboolean
+static bool
brw_is_perf_query_ready(struct gl_context *ctx,
struct gl_perf_query_object *o)
{
unsigned queryIndex);
void (*DeletePerfQuery)(struct gl_context *ctx,
struct gl_perf_query_object *obj);
- GLboolean (*BeginPerfQuery)(struct gl_context *ctx,
- struct gl_perf_query_object *obj);
+ bool (*BeginPerfQuery)(struct gl_context *ctx,
+ struct gl_perf_query_object *obj);
void (*EndPerfQuery)(struct gl_context *ctx,
struct gl_perf_query_object *obj);
void (*WaitPerfQuery)(struct gl_context *ctx,
struct gl_perf_query_object *obj);
- GLboolean (*IsPerfQueryReady)(struct gl_context *ctx,
- struct gl_perf_query_object *obj);
+ bool (*IsPerfQueryReady)(struct gl_context *ctx,
+ struct gl_perf_query_object *obj);
void (*GetPerfQueryData)(struct gl_context *ctx,
struct gl_perf_query_object *obj,
GLsizei dataSize,