diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2012-07-05 20:14:48 +0200 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2012-07-10 17:15:01 +0200 |
commit | ef8a404391036d8aa814dbda2407c789b8a64b92 (patch) | |
tree | 862e72e5eb0c4035553f1642590039ed0f0cc587 /src/radeon_glamor.h | |
parent | e9edd2f5002c642b59f028b3ec076d604ae8ce9d (diff) |
Initial SI support.
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 <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/radeon_glamor.h')
-rw-r--r-- | src/radeon_glamor.h | 5 |
1 files changed, 5 insertions, 0 deletions
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; } |