Mercurial > mxe-octave
comparison src/mesa.mk @ 4500:102c3d608dd6
mesa: enable egl when building opengl.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 10 Oct 2017 14:44:52 -0400 |
parents | e7d902eeefda |
children | 4c645e979279 |
comparison
equal
deleted
inserted
replaced
4499:c10c61a3222c | 4500:102c3d608dd6 |
---|---|
13 $(PKG)_CONFIGURE_OPENGL_OPTIONS := libgl-gdi | 13 $(PKG)_CONFIGURE_OPENGL_OPTIONS := libgl-gdi |
14 endif | 14 endif |
15 else | 15 else |
16 ifeq ($(USE_SYSTEM_OPENGL),yes) | 16 ifeq ($(USE_SYSTEM_OPENGL),yes) |
17 $(PKG)_CONFIGURE_OPENGL_OPTIONS := \ | 17 $(PKG)_CONFIGURE_OPENGL_OPTIONS := \ |
18 --disable-opengl --disable-gles1 --disable-gles2 \ | 18 --disable-opengl --disable-egl --disable-gles1 --disable-gles2 \ |
19 --disable-dri --disable-glx \ | 19 --disable-dri --disable-glx \ |
20 --with-gallium-drivers="" --with-dri-drivers="" \ | 20 --with-gallium-drivers="" --with-dri-drivers="" \ |
21 --with-platforms="" | 21 --with-platforms="" |
22 else | 22 else |
23 $(PKG)_CONFIGURE_OPENGL_OPTIONS := \ | 23 $(PKG)_CONFIGURE_OPENGL_OPTIONS := \ |
24 --enable-opengl --enable-dri --enable-glx="dri" \ | 24 --enable-opengl --enable-egl --enable-gles1 --enable-gles2 \ |
25 --enable-dri --enable-glx="dri" \ | |
25 --with-gallium-drivers="" --with-dri-drivers="swrast" \ | 26 --with-gallium-drivers="" --with-dri-drivers="swrast" \ |
26 --with-platforms="x11" | 27 --with-platforms="x11" |
27 ifeq ($(USE_SYSTEM_X11_LIBS),no) | 28 ifeq ($(USE_SYSTEM_X11_LIBS),no) |
28 $(PKG)_DEPS += dri2proto glproto libdrm libxshmfence x11 xdamage xext xfixes | 29 $(PKG)_DEPS += dri2proto glproto libdrm libxshmfence x11 xdamage xext xfixes |
29 endif | 30 endif |
63 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | 64 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
64 --prefix='$(HOST_PREFIX)' \ | 65 --prefix='$(HOST_PREFIX)' \ |
65 $($(PKG)_CONFIGURE_OPENGL_OPTIONS) \ | 66 $($(PKG)_CONFIGURE_OPENGL_OPTIONS) \ |
66 --enable-osmesa \ | 67 --enable-osmesa \ |
67 --disable-gbm \ | 68 --disable-gbm \ |
68 --disable-egl \ | |
69 --disable-xvmc \ | 69 --disable-xvmc \ |
70 --disable-llvm \ | 70 --disable-llvm \ |
71 --enable-texture-float \ | 71 --enable-texture-float \ |
72 && $(CONFIGURE_POST_HOOK) | 72 && $(CONFIGURE_POST_HOOK) |
73 | 73 |