YaGL/VIGS: Use GL_UNSIGNED_INT_8_8_8_8_REV instead of GL_UNSIGNED_BYTE 78/14878/1
authorStanislav Vorobiov <s.vorobiov@samsung.com>
Mon, 13 Jan 2014 09:37:10 +0000 (13:37 +0400)
committerStanislav Vorobiov <s.vorobiov@samsung.com>
Mon, 13 Jan 2014 09:37:10 +0000 (13:37 +0400)
commit283b3e29a28a1102a81976f0e1f4ccc6687265f7
tree6ab823da1a9a3a60c18c2423ed8cc6a3b296eb09
parent7943d937215cb512b5aab6aa5bfffeb463ea9a9a
YaGL/VIGS: Use GL_UNSIGNED_INT_8_8_8_8_REV instead of GL_UNSIGNED_BYTE

On Mac OS X glReadPixels with GL_UNSIGNED_BYTE may introduce stalls
even when it's used with PBO, so use
GL_UNSIGNED_INT_8_8_8_8_REV - it's the same
thing and it doesn't stall glReadPixels

Change-Id: I40ae1981579b3596f42f9a22604fd3d7fad8e335
hw/vigs/vigs_gl_backend.c
hw/yagl/yagl_apis/gles/yagl_host_gles_calls.c
hw/yagl/yagl_backends/egl_offscreen/yagl_egl_offscreen_context.c