summaryrefslogtreecommitdiff
path: root/src/radeon.h
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2018-05-28 18:35:32 +0200
committerMichel Dänzer <michel@daenzer.net>2018-07-09 18:26:57 +0200
commit5da2bf43e64f2d702fe05016263f617c10f8f134 (patch)
treea21dfdcc08fc89621ff0932b803562755b162b70 /src/radeon.h
parentba5d5402b3e2e807d7e47205ac83f930b6c8caf5 (diff)
Factor out radeon_surface_initialize helper
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/radeon.h')
-rw-r--r--src/radeon.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/radeon.h b/src/radeon.h
index 63b6cf1f..c2ae6606 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -643,6 +643,11 @@ extern void RADEONInit3DEngine(ScrnInfoPtr pScrn);
extern int radeon_cs_space_remaining(ScrnInfoPtr pScrn);
/* radeon_bo_helper.c */
+extern Bool
+radeon_surface_initialize(RADEONInfoPtr info, struct radeon_surface *surface,
+ int width, int height, int cpp, uint32_t tiling_flags,
+ int usage_hint);
+
extern Bool radeon_get_pixmap_handle(PixmapPtr pixmap, uint32_t *handle);
/* radeon_commonfuncs.c */