summaryrefslogtreecommitdiff
path: root/src/amdgpu_glamor.h
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2017-08-31 17:59:08 +0900
committerMichel Dänzer <michel.daenzer@amd.com>2017-08-31 17:59:08 +0900
commit114de91e3548cd30b709b19f1447f597e71175e0 (patch)
tree9b11b571b6f0b28537741c5462821e186594acf8 /src/amdgpu_glamor.h
parent456e5841233a8a79c23ad13649bbdaf8428b50f3 (diff)
Require xserver >= 1.13
xserver 1.13.0 was released on September 6th, 2012, almost 5 years ago. This allows cleaning up a bunch of backwards compatibility code. (Ported from radeon commit 5cdd334b3402c2431deb3a87a8d04ef590da53ee) Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/amdgpu_glamor.h')
-rw-r--r--src/amdgpu_glamor.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/amdgpu_glamor.h b/src/amdgpu_glamor.h
index 4473495..78fec0b 100644
--- a/src/amdgpu_glamor.h
+++ b/src/amdgpu_glamor.h
@@ -32,10 +32,6 @@
#define GLAMOR_FOR_XORG 1
#include <glamor.h>
-#ifndef CREATE_PIXMAP_USAGE_SHARED
-#define CREATE_PIXMAP_USAGE_SHARED AMDGPU_CREATE_PIXMAP_DRI2
-#endif
-
#define AMDGPU_CREATE_PIXMAP_SHARED(usage) \
((usage) == AMDGPU_CREATE_PIXMAP_DRI2 || \
(usage) == CREATE_PIXMAP_USAGE_SHARED)