Build demos that require EGL_MESA_screen_surface, and build egl_i915.so
that supports EGL_MESA_screen_surface.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
# Directories to build
LIB_DIR = lib
SRC_DIRS = egl mesa/es gallium gallium/winsys
-PROGRAM_DIRS = es1/xegl es2/xegl
+PROGRAM_DIRS = es1/screen es1/xegl es2/xegl
# no mesa or egl drivers
DRIVER_DIRS =
GALLIUM_WINSYS_DIRS = egl_xlib
# and libGLES*.so
GALLIUM_STATE_TRACKERS_DIRS = es
+
+# build egl_i915.so
+GALLIUM_DRIVERS_DIRS += trace i915
+GALLIUM_STATE_TRACKERS_DIRS += egl
+GALLIUM_WINSYS_DIRS += drm
+GALLIUM_WINSYS_DRM_DIRS = intel