main/performance_query: s/GLboolean/bool/

Ideally would have caught these when adding the interface but this just
switches a few return types for the INTEL_performance_query backend
interface to bool instead of GLboolean.

Signed-off-by: Robert Bragg <robert@sixbynine.org>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
Robert Bragg 2017-02-23 11:16:50 +00:00
parent 1534fc6d10
commit d1bb7895b9
2 changed files with 6 additions and 6 deletions

View File

@ -202,7 +202,7 @@ snapshot_statistics_registers(struct brw_context *brw,
/** /**
* Driver hook for glBeginPerfQueryINTEL(). * Driver hook for glBeginPerfQueryINTEL().
*/ */
static GLboolean static bool
brw_begin_perf_query(struct gl_context *ctx, brw_begin_perf_query(struct gl_context *ctx,
struct gl_perf_query_object *o) struct gl_perf_query_object *o)
{ {
@ -351,7 +351,7 @@ brw_wait_perf_query(struct gl_context *ctx, struct gl_perf_query_object *o)
drm_intel_bo_wait_rendering(bo); drm_intel_bo_wait_rendering(bo);
} }
static GLboolean static bool
brw_is_perf_query_ready(struct gl_context *ctx, brw_is_perf_query_ready(struct gl_context *ctx,
struct gl_perf_query_object *o) struct gl_perf_query_object *o)
{ {

View File

@ -804,14 +804,14 @@ struct dd_function_table {
unsigned queryIndex); unsigned queryIndex);
void (*DeletePerfQuery)(struct gl_context *ctx, void (*DeletePerfQuery)(struct gl_context *ctx,
struct gl_perf_query_object *obj); struct gl_perf_query_object *obj);
GLboolean (*BeginPerfQuery)(struct gl_context *ctx, bool (*BeginPerfQuery)(struct gl_context *ctx,
struct gl_perf_query_object *obj); struct gl_perf_query_object *obj);
void (*EndPerfQuery)(struct gl_context *ctx, void (*EndPerfQuery)(struct gl_context *ctx,
struct gl_perf_query_object *obj); struct gl_perf_query_object *obj);
void (*WaitPerfQuery)(struct gl_context *ctx, void (*WaitPerfQuery)(struct gl_context *ctx,
struct gl_perf_query_object *obj); struct gl_perf_query_object *obj);
GLboolean (*IsPerfQueryReady)(struct gl_context *ctx, bool (*IsPerfQueryReady)(struct gl_context *ctx,
struct gl_perf_query_object *obj); struct gl_perf_query_object *obj);
void (*GetPerfQueryData)(struct gl_context *ctx, void (*GetPerfQueryData)(struct gl_context *ctx,
struct gl_perf_query_object *obj, struct gl_perf_query_object *obj,
GLsizei dataSize, GLsizei dataSize,