#include <xf86drmMode.h>
#include <drm_fourcc.h>
+/* #ifdef HAVE_DRM_HW_ACCEL */
+/* # include <gbm.h> */
+/* # include <EGL/egl.h> */
+/* # include <EGL/eglext.h> */
+/* #endif */
+
#include <signal.h>
#include <sys/ioctl.h>
#include <sys/types.h>
# define CRI(...) EINA_LOG_DOM_CRIT(_evas_engine_drm_log_dom, __VA_ARGS__)
/* define a maximum number of 'buffers' (double-buff, triple-buff, etc) */
-# define NUM_BUFFERS 2
+# define NUM_BUFFERS 3
typedef struct _Buffer Buffer;
typedef struct _Outbuf Outbuf;
unsigned int fb;
void *data;
+/* # ifdef HAVE_DRM_HW_ACCEL */
+/* struct gbm_surface *surface; */
+/* struct */
+/* { */
+/* EGLSurface surface; */
+/* } egl; */
+/* # endif */
+
Eina_Bool valid : 1;
};
Eina_List *pending_writes;
Eina_List *prev_pending_writes;
+
+ Eina_Bool use_async_page_flip : 1;
} priv;
};