gallium: Add egl-apis target.
authorChia-I Wu <olv@lunarg.com>
Wed, 5 May 2010 07:38:02 +0000 (15:38 +0800)
committerChia-I Wu <olv@lunarg.com>
Sat, 8 May 2010 06:57:21 +0000 (14:57 +0800)
commit63ab2509bf324812d9632c12528677724bdb8775
tree24a04e31adcef0f5ef4ab0f1b84178cd9e5cc8ab
parent559046e7917e5b9e4226bb02e86da17e62f1385e
gallium: Add egl-apis target.

The new target installs client API modules to EGL_DRIVER_INSTALL_DIR.
They are used by st/egl.

The client APIs are built from OpenGL and OpenVG state trackers.  For
this to work, st/vega is modified to produce a static library,
libvega.a, instead.  st/es is also not needed any more.  It is removed
and --with-state-trackers=es is replaced by --enable-gles-overlay.

As st/egl now has its own client API modules, this solves the ABI issue
between st/egl and client APIs, as long as the client API modules are
distributed with st/egl.  Plus, this allows st/egl to support OpenGL
with non-Gallium libGL.so.
12 files changed:
configs/autoconf.in
configs/default
configure.ac
src/gallium/state_trackers/es/Makefile [deleted file]
src/gallium/state_trackers/vega/Makefile
src/gallium/state_trackers/vega/vg_api.h [new file with mode: 0644]
src/gallium/state_trackers/vega/vg_manager.c
src/gallium/targets/egl-apis/Makefile [new file with mode: 0644]
src/gallium/targets/egl-apis/api_GL.c [new file with mode: 0644]
src/gallium/targets/egl-apis/api_GLESv1_CM.c [moved from src/gallium/state_trackers/es/st_es1.c with 100% similarity]
src/gallium/targets/egl-apis/api_GLESv2.c [moved from src/gallium/state_trackers/es/st_es2.c with 100% similarity]
src/gallium/targets/egl-apis/api_OpenVG.c [new file with mode: 0644]