Add support for some missing processing of state which is detected by Khronos CTS 94/81294/7
authorZhaowei Yuan <zhaowei.yuan@samsung.com>
Sun, 24 Jul 2016 21:20:18 +0000 (05:20 +0800)
committerGwan-gyeong Mun <kk.moon@samsung.com>
Thu, 4 Aug 2016 10:13:04 +0000 (03:13 -0700)
commit14eedde5354e3a97368d520b3779fcc25464bb83
tree29c3df0f12614474f492b99781ffa0278da16b67
parent55d3f920b0c3721076d2cf19be0ed342f99ad5d0
Add support for some missing processing of state which is detected by Khronos CTS

Modification including:
1. Add missing contest states and related processing like
gl_shader_storage_buffer_binding
2. Rename all context states in the from of gl_num_xxx
to gl_xxx_num, for convenient macro processing in
fastpath_glBindBuffer()
3. Clear all buffer binding related state arrays which are
set in fastpath_glBindBufferBase() if argument buffer 0 is
passed to fastpath_glBindBuffer()

Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: Ie28eaac2bdff8299c4575e6415c34ae41273f39f
src/coregl.h
src/modules/fastpath/coregl_fastpath.c
src/modules/fastpath/coregl_fastpath.h
src/modules/fastpath/coregl_fastpath_gl.c
src/modules/fastpath/coregl_fastpath_state.h
src/modules/tracepath/coregl_tracepath.c