summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_blitter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/util/u_blitter.h')
-rw-r--r--src/gallium/auxiliary/util/u_blitter.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/gallium/auxiliary/util/u_blitter.h b/src/gallium/auxiliary/util/u_blitter.h
index 2174f9d9910..f38908700e2 100644
--- a/src/gallium/auxiliary/util/u_blitter.h
+++ b/src/gallium/auxiliary/util/u_blitter.h
@@ -78,7 +78,7 @@ struct blitter_context
const union pipe_color_union *color);
/* Whether the blitter is running. */
- boolean running;
+ bool running;
/* Private members, really. */
struct pipe_context *pipe; /**< pipe context */
@@ -93,7 +93,7 @@ struct blitter_context
struct pipe_stencil_ref saved_stencil_ref; /**< stencil ref */
struct pipe_viewport_state saved_viewport;
struct pipe_scissor_state saved_scissor;
- boolean is_sample_mask_saved;
+ bool is_sample_mask_saved;
unsigned saved_sample_mask;
unsigned saved_num_sampler_states;
@@ -113,7 +113,7 @@ struct blitter_context
struct pipe_query *saved_render_cond_query;
uint saved_render_cond_mode;
- boolean saved_render_cond_cond;
+ bool saved_render_cond_cond;
};
/**
@@ -141,7 +141,7 @@ struct pipe_context *util_blitter_get_pipe(struct blitter_context *blitter)
* Override PIPE_CAP_TEXTURE_MULTISAMPLE as reported by the driver.
*/
void util_blitter_set_texture_multisample(struct blitter_context *blitter,
- boolean supported);
+ bool supported);
/* The default function to draw a rectangle. This can only be used
* inside of the draw_rectangle callback if the driver overrides it. */
@@ -180,12 +180,12 @@ void util_blitter_clear(struct blitter_context *blitter,
* Check if the blitter (with the help of the driver) can blit between
* the two resources.
*/
-boolean util_blitter_is_copy_supported(struct blitter_context *blitter,
- const struct pipe_resource *dst,
- const struct pipe_resource *src);
+bool util_blitter_is_copy_supported(struct blitter_context *blitter,
+ const struct pipe_resource *dst,
+ const struct pipe_resource *src);
-boolean util_blitter_is_blit_supported(struct blitter_context *blitter,
- const struct pipe_blit_info *info);
+bool util_blitter_is_blit_supported(struct blitter_context *blitter,
+ const struct pipe_blit_info *info);
/**
* Copy a block of pixels from one surface to another.
@@ -235,7 +235,7 @@ void util_blitter_blit_generic(struct blitter_context *blitter,
unsigned src_width0, unsigned src_height0,
unsigned mask, unsigned filter,
const struct pipe_scissor_state *scissor,
- boolean alpha_blend);
+ bool alpha_blend);
void util_blitter_blit(struct blitter_context *blitter,
const struct pipe_blit_info *info);
@@ -517,14 +517,14 @@ static inline void
util_blitter_save_sample_mask(struct blitter_context *blitter,
unsigned sample_mask)
{
- blitter->is_sample_mask_saved = TRUE;
+ blitter->is_sample_mask_saved = true;
blitter->saved_sample_mask = sample_mask;
}
static inline void
util_blitter_save_render_condition(struct blitter_context *blitter,
struct pipe_query *query,
- boolean condition,
+ bool condition,
enum pipe_render_cond_flag mode)
{
blitter->saved_render_cond_query = query;