summaryrefslogtreecommitdiff
path: root/src/radeon_bo_helper.h
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2017-06-22 18:37:26 +0900
committerMichel Dänzer <michel@daenzer.net>2017-08-23 16:27:25 +0900
commit3f6210ca2c8ef60d59efc8139151d3b9838bb875 (patch)
treee3d72b6ae857a8bd607f018d0a9cdb4e23dcc287 /src/radeon_bo_helper.h
parent0472a605e0ec8fec1892bbc3a84698b7ef9c5296 (diff)
Create radeon_pixmap_clear helper
Preparatory, no functional change intended yet. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/radeon_bo_helper.h')
-rw-r--r--src/radeon_bo_helper.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/radeon_bo_helper.h b/src/radeon_bo_helper.h
index 77134250..e1856adb 100644
--- a/src/radeon_bo_helper.h
+++ b/src/radeon_bo_helper.h
@@ -28,6 +28,9 @@ radeon_alloc_pixmap_bo(ScrnInfoPtr pScrn, int width, int height, int depth,
int usage_hint, int bitsPerPixel, int *new_pitch,
struct radeon_surface *new_surface, uint32_t *new_tiling);
+extern void
+radeon_pixmap_clear(PixmapPtr pixmap);
+
extern uint32_t
radeon_get_pixmap_tiling_flags(PixmapPtr pPix);