wayland_egl: Defer gl symbol lookups until they're possible
authorDerek Foreman <derekf@osg.samsung.com>
Wed, 19 Jul 2017 17:00:07 +0000 (12:00 -0500)
committerDerek Foreman <derekf@osg.samsung.com>
Wed, 19 Jul 2017 17:00:07 +0000 (12:00 -0500)
commitc7fe083a57c7047b2752592545e419e60b1adfd9
tree899951d3b98f20eede1b282cc82a34e3ce44bec5
parent86377caa0e373d30ebe9772f21389a89e8f730dc
wayland_egl: Defer gl symbol lookups until they're possible

Commit 2e6587a14b adds a gl extension string to glsym_evas_gl_symbols()
to prevent using functions that are provided by extensions that aren't
available in the current gl context.

However, we can't query the extension strings until after we create an egl
context.

Split the regular symbol lookup stuff from the gl symbol lookup stuff so
we can query at the appropriate time.
src/modules/evas/engines/wayland_egl/evas_engine.c
src/modules/evas/engines/wayland_egl/evas_engine.h
src/modules/evas/engines/wayland_egl/evas_wl_main.c