openGL: load lobGL calls explicitly if openGLES support is enabled
authorIgor Mitsyanko <i.mitsyanko@samsung.com>
Mon, 20 Aug 2012 09:26:35 +0000 (13:26 +0400)
committerEvgeny Voevodin <e.voevodin@samsung.com>
Mon, 20 Aug 2012 12:51:58 +0000 (16:51 +0400)
commiteec662c72de44ff3c6516fdb8764cbde1a58aea5
tree2c5307c623e74f42d3dc3315d7d228fd868a1cd4
parent83c481ef012207f583a0c56b133215810a953cc6
openGL: load lobGL calls explicitly if openGLES support is enabled

If we enable openGLES support then QEMU links with libGL and`libGLES, which
has the same symbols. This results in unpredictable behaviour.

Open libGL explicitly if openGLES is enabled and use function handlers to call
openGL functions.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
14 files changed:
configure
tizen/emulator_configure_arm.sh
tizen/emulator_configure_arm_debug.sh
tizen/emulator_configure_x86.sh
tizen/emulator_configure_x86_debug.sh
tizen/src/Makefile.tizen
tizen/src/hw/gloffscreen_common.c
tizen/src/hw/gloffscreen_glx.c
tizen/src/hw/gloffscreen_test.c
tizen/src/hw/gloffscreen_wgl.c
tizen/src/hw/gloffscreen_xcomposite.c
tizen/src/hw/parse_gl_h.c
tizen/src/hw/virtio-gl-stub.c
tizen/src/maru_sdl.c