Separate GLES API according to version 51/76151/7
authorZhaowei Yuan <zhaowei.yuan@samsung.com>
Wed, 22 Jun 2016 15:20:35 +0000 (23:20 +0800)
committerMun, Gwan-gyeong <kk.moon@samsung.com>
Mon, 4 Jul 2016 07:39:26 +0000 (16:39 +0900)
commit4b5e844e4c6e94f61b7111b0fc6452ca86dd4aa2
tree38f9d94c641bf5a596cc3c74baa4b0cf9541c40e
parent88c331cd5123a454522294cd1602755e722767bf
Separate GLES API according to version

This patch separates GLES API into 2 individual librays:
libGLESv1_CM.so.1.1 & libGLESv2.so.2.0
code changes:
1. Divide coregl_gl.c into coregl1.c, coregl2.c and coregl_common.c
2. Divide sym_gl.h into sym_gl1.h, sym_gl2.h and sym_gl_common.h
3. Remove fastpath and tracepath support for GLES1.1 APIs

Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: I178cb4b0926236219f031fbf0c898e238faf1dee
26 files changed:
CMakeLists.txt
Makefile
packaging/coregl.spec
src/coregl.c
src/coregl_export.c
src/coregl_export_gl.c
src/coregl_internal.h
src/coregl_override.c [deleted file]
src/headers/sym.h
src/headers/sym_gl1.h [new file with mode: 0644]
src/headers/sym_gl2.h [moved from src/headers/sym_gl.h with 73% similarity]
src/headers/sym_gl_common.h [new file with mode: 0644]
src/modules/appopt/coregl_appopt.c
src/modules/coregl_module.c
src/modules/fastpath/coregl_fastpath.c
src/modules/fastpath/coregl_fastpath.h
src/modules/fastpath/coregl_fastpath_egl.c
src/modules/fastpath/coregl_fastpath_gl.c
src/modules/fastpath/coregl_fastpath_state.h
src/modules/tracepath/coregl_tracepath.c
src/modules/tracepath/coregl_tracepath.h
src/modules/tracepath/coregl_tracepath_egl.c
src/modules/tracepath/coregl_tracepath_gl.c
src/wraps/coregl_gl1.c [new file with mode: 0644]
src/wraps/coregl_gl2.c [moved from src/wraps/coregl_gl.c with 71% similarity]
src/wraps/coregl_gl_common.c [new file with mode: 0644]