mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 21:41:25 +00:00
modesetting: Move the compatibility GBM_BO_USE_FRONT_RENDERING define to the top of the file
Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
This commit is contained in:
committed by
Enrico Weigelt
parent
e0481acb79
commit
49c9aaac82
@@ -62,6 +62,10 @@
|
||||
#define MIN(a,b) ((a) < (b) ? (a) : (b))
|
||||
#define MAX(a,b) ((a) > (b) ? (a) : (b))
|
||||
|
||||
#ifndef GBM_BO_USE_FRONT_RENDERING
|
||||
#define GBM_BO_USE_FRONT_RENDERING 0
|
||||
#endif
|
||||
|
||||
static Bool drmmode_xf86crtc_resize(ScrnInfoPtr scrn, int width, int height);
|
||||
static PixmapPtr drmmode_create_pixmap_header(ScreenPtr pScreen, int width, int height,
|
||||
int depth, int bitsPerPixel, int devKind,
|
||||
@@ -1151,10 +1155,6 @@ drmmode_create_front_bo(drmmode_ptr drmmode, drmmode_bo *bo,
|
||||
break;
|
||||
}
|
||||
|
||||
#ifndef GBM_BO_USE_FRONT_RENDERING
|
||||
#define GBM_BO_USE_FRONT_RENDERING 0
|
||||
#endif
|
||||
|
||||
#ifdef GBM_BO_WITH_MODIFIERS
|
||||
uint32_t num_modifiers;
|
||||
uint64_t *modifiers = NULL;
|
||||
|
||||
Reference in New Issue
Block a user