diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2015-03-26 17:15:21 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2015-03-30 10:34:57 +0900 |
commit | b16609b453bb1a181198cf27778f205dc23fb642 (patch) | |
tree | 83ea270acb2797c6a9b1f6fcdb7f0f4cbef8e8b6 /src/radeon_glamor.h | |
parent | 391900a670addec39515f924265bfa9f8bfa9ec0 (diff) |
glamor: Handle GLAMOR_* flags removed from xserver
The behaviour is the same as when the removed flags were passed in.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/radeon_glamor.h')
-rw-r--r-- | src/radeon_glamor.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/radeon_glamor.h b/src/radeon_glamor.h index 7cef1a95..a504acb1 100644 --- a/src/radeon_glamor.h +++ b/src/radeon_glamor.h @@ -36,10 +36,21 @@ #include "radeon_surface.h" #ifndef GLAMOR_NO_DRI3 +#define GLAMOR_NO_DRI3 0 #define glamor_fd_from_pixmap glamor_dri3_fd_from_pixmap #define glamor_pixmap_from_fd glamor_egl_dri3_pixmap_from_fd #endif +#ifndef GLAMOR_INVERTED_Y_AXIS +#define GLAMOR_INVERTED_Y_AXIS 0 +#endif +#ifndef GLAMOR_USE_SCREEN +#define GLAMOR_USE_SCREEN 0 +#endif +#ifndef GLAMOR_USE_PICTURE_SCREEN +#define GLAMOR_USE_PICTURE_SCREEN 0 +#endif + Bool radeon_glamor_pre_init(ScrnInfoPtr scrn); Bool radeon_glamor_init(ScreenPtr screen); Bool radeon_glamor_create_screen_resources(ScreenPtr screen); |