coregl_fastpath: Keep state synchronization between binding functions 90/86390/2
authorZhaowei Yuan <zhaowei.yuan@samsung.com>
Wed, 31 Aug 2016 15:22:30 +0000 (23:22 +0800)
committerGwan-gyeong Mun <kk.moon@samsung.com>
Fri, 2 Sep 2016 13:06:09 +0000 (06:06 -0700)
commit00c638b3460627c9ee909844611509f9f9499d80
treec8dc850ffd59d4f5f3c8226c03c866a0b333bffa
parent493ad40eac0e885fa08f1a706d5d8c932fa3f64b
coregl_fastpath: Keep state synchronization between binding functions

Functions glBindBuffer, glBindBufferBase and glBindBufferRange
operate on common states of following targets:
GL_TRANSFORM_FEEDBACK_BUFFER
GL_UNIFORM_BUFFER
GL_SHADER_STORAGE_BUFFER
GL_ATOMIC_COUNTER_BUFFER
Those states should be keep synchronization

Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: I4617c7a2d28e242f5900c335eb329a78374b3f2b
src/modules/fastpath/coregl_fastpath_gl.c