diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2017-06-22 18:37:26 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2017-08-23 16:27:25 +0900 |
commit | 3f6210ca2c8ef60d59efc8139151d3b9838bb875 (patch) | |
tree | e3d72b6ae857a8bd607f018d0a9cdb4e23dcc287 /src/radeon_bo_helper.h | |
parent | 0472a605e0ec8fec1892bbc3a84698b7ef9c5296 (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.h | 3 |
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); |