YaGL: replace "PreDraw" and "PostDaw" cbs with "DrawArrays" and "DrawElements" cbs
authorIgor Mitsyanko <i.mitsyanko@samsung.com>
Thu, 20 Dec 2012 09:52:00 +0000 (13:52 +0400)
committerStanislav Vorobiov <s.vorobiov@samsung.com>
Mon, 15 Apr 2013 11:24:18 +0000 (15:24 +0400)
commit7e68265da8029a90e9c74d036e91854502b837cf
treecbf92d52c9797e4625390ced645cca2377d8dd2b
parent2ca20426faf02d12f69460f074c3e956183ac50d
YaGL: replace "PreDraw" and "PostDaw" cbs with "DrawArrays" and "DrawElements" cbs

PreDraw and PostDraw callbacks are not going to be enough for GLES1 implementation
of glDrawArrays and glDrawElements, replace them with explicit draw callbacks.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
hw/yagl_apis/gles/yagl_gles_context.h
hw/yagl_apis/gles/yagl_host_gles_calls.c
hw/yagl_apis/gles2/yagl_gles2_context.c