From ef8a404391036d8aa814dbda2407c789b8a64b92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Thu, 5 Jul 2012 20:14:48 +0200 Subject: Initial SI support. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Defaults to shadowfb. 3D acceleration is available with glamor. 2D acceleration is disabled until the radeonsi driver can handle glamor's shaders. v2: add chip flags (Alex Deucher) Signed-off-by: Michel Dänzer Signed-off-by: Alex Deucher --- src/radeon_glamor.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/radeon_glamor.h') diff --git a/src/radeon_glamor.h b/src/radeon_glamor.h index 40c9092b..f814e469 100644 --- a/src/radeon_glamor.h +++ b/src/radeon_glamor.h @@ -29,6 +29,7 @@ #ifdef USE_GLAMOR +#include "radeon_glamor_wrappers.h" #include "radeon_surface.h" Bool radeon_glamor_pre_init(ScrnInfoPtr scrn); @@ -42,6 +43,8 @@ Bool radeon_glamor_create_textured_pixmap(PixmapPtr pixmap); void radeon_glamor_exchange_buffers(PixmapPtr src, PixmapPtr dst); Bool radeon_glamor_pixmap_is_offscreen(PixmapPtr pixmap); +Bool radeon_glamor_prepare_access(PixmapPtr pixmap, glamor_access_t access); +void radeon_glamor_finish_access(PixmapPtr pixmap, glamor_access_t access); struct radeon_pixmap { struct radeon_surface surface; @@ -85,6 +88,8 @@ static inline Bool radeon_glamor_create_textured_pixmap(PixmapPtr pixmap) { retu static inline void radeon_glamor_exchange_buffers(PixmapPtr src, PixmapPtr dst) {} static inline Bool radeon_glamor_pixmap_is_offscreen(PixmapPtr pixmap) { return FALSE; } +static inline Bool radeon_glamor_prepare_access(PixmapPtr pixmap, int access) { return FALSE; } +static inline void radeon_glamor_finish_access(PixmapPtr pixmap, int access) {} static inline struct radeon_pixmap *radeon_get_pixmap_private(PixmapPtr pixmap) { return NULL; } -- cgit v1.2.3