YaGL: VAO support added 32/13132/1
authorStanislav Vorobiov <s.vorobiov@samsung.com>
Tue, 22 Oct 2013 15:32:42 +0000 (19:32 +0400)
committerStanislav Vorobiov <s.vorobiov@samsung.com>
Tue, 22 Oct 2013 15:32:42 +0000 (19:32 +0400)
commit308fdd9e7ac0cad56668304974d50be040e58293
treec8650285397690a83eda997bd172346890d69080
parent6796bfef32f2ef39499684d3fb71b7b05732cc07
YaGL: VAO support added
YaGL: Don't use deprecated OpenGL functions in offscreen backend
YaGL: Vertex attrib array specification fixed

In OpenGL 3.1 core it's not allowed to pass client
pointers to vertex attrib specification functions, VBO
must always be used. We fix this by keeping few dummy VBOs
and reloading them with client data when needed

Change-Id: Idd03a1e8121902d3524da7cfc13d70965cac67dd
hw/yagl_apis/gles/yagl_gles_api_ts.c
hw/yagl_apis/gles/yagl_gles_api_ts.h
hw/yagl_apis/gles/yagl_gles_calls.c
hw/yagl_apis/gles/yagl_host_gles_calls.c
hw/yagl_apis/gles/yagl_host_gles_calls.h
hw/yagl_backends/egl_offscreen/yagl_egl_offscreen_context.c
hw/yagl_drivers/gles_ogl/yagl_gles_ogl.c
hw/yagl_gles_driver.h