diff options
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_regions.h')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_regions.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_regions.h b/src/mesa/drivers/dri/intel/intel_regions.h index e639895ec8f..78309d2a90b 100644 --- a/src/mesa/drivers/dri/intel/intel_regions.h +++ b/src/mesa/drivers/dri/intel/intel_regions.h @@ -35,6 +35,7 @@ * stored in a drm_intel_bo. */ +#include <stdbool.h> #include <xf86drm.h> #include "main/mtypes.h" @@ -76,7 +77,7 @@ struct intel_region *intel_region_alloc(struct intel_screen *screen, uint32_t tiling, GLuint cpp, GLuint width, GLuint height, - GLboolean expect_accelerated_upload); + bool expect_accelerated_upload); struct intel_region * intel_region_alloc_for_handle(struct intel_screen *screen, @@ -84,7 +85,7 @@ intel_region_alloc_for_handle(struct intel_screen *screen, GLuint width, GLuint height, GLuint pitch, unsigned int handle, const char *name); -GLboolean +bool intel_region_flink(struct intel_region *region, uint32_t *name); void intel_region_reference(struct intel_region **dst, @@ -103,7 +104,7 @@ void intel_region_unmap(struct intel_context *intel, struct intel_region *ib); /* Copy rectangular sub-regions */ -GLboolean +bool intel_region_copy(struct intel_context *intel, struct intel_region *dest, GLuint dest_offset, @@ -111,7 +112,7 @@ intel_region_copy(struct intel_context *intel, struct intel_region *src, GLuint src_offset, GLuint srcx, GLuint srcy, GLuint width, GLuint height, - GLboolean flip, + bool flip, GLenum logicop); void _mesa_copy_rect(GLubyte * dst, |