coregl_fastpath: Keep states synchronization between color mask functions 95/86395/2
authorZhaowei Yuan <zhaowei.yuan@samsung.com>
Wed, 31 Aug 2016 15:33:11 +0000 (23:33 +0800)
committerGwan-gyeong Mun <kk.moon@samsung.com>
Fri, 2 Sep 2016 13:53:50 +0000 (06:53 -0700)
commit3c3ccdbf7c3859dd1e5bb5d271111b6bb0b068a4
tree398e2781908abb69c903ee31a838f6978d3494bd
parent00c638b3460627c9ee909844611509f9f9499d80
coregl_fastpath: Keep states synchronization between color mask functions

Functions glColorMask, glColorMaski and glColorMaskiOES
operate common states, they should be kept synchronization
state gl_color_writemask should be an array in the form
of a two-dimensional array whose size if 4*4, glColorMask
set them all uniformly, glColorMaski and glColorMaskiOES
set them respectively

Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: Icbb59a06a66942929d01be54921eeecd794cb475
src/headers/sym_gl2.h
src/modules/fastpath/coregl_fastpath.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_gl.c