summaryrefslogtreecommitdiff
path: root/configs/linux-opengl-es
blob: 5e31b8c52f253baaf24d596f3da8abb405ecefbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Configuration for OpenGL ES on Linux

include $(TOP)/configs/linux

CONFIG_NAME = linux-opengl-es

# Directories to build
LIB_DIR = lib
SRC_DIRS = egl glsl mapi/es1api mapi/es2api mesa/es \
	gallium gallium/winsys gallium/targets
PROGRAM_DIRS = egl/eglut egl/opengles1 egl/opengles2

# egl st needs this
DEFINES += -DGLX_DIRECT_RENDERING

# no mesa or egl drivers
DRIVER_DIRS =
EGL_DRIVERS_DIRS =

GALLIUM_DRIVERS_DIRS = softpipe

# build libGLES*.so
GALLIUM_STATE_TRACKERS_DIRS = es

# build egl_x11_{swrast,i915}.so
GALLIUM_DRIVERS_DIRS += trace i915
GALLIUM_STATE_TRACKERS_DIRS += egl
GALLIUM_WINSYS_DIRS += drm/intel
GALLIUM_TARGET_DIRS += egl-swrast egl-i915