Hi, Next round of the opengl rendering support patches.
Changes from RfC: * new patch #2, adding helper functions to render display surfaces as opengl texture. * sdl2 opengl code just carries the sdl2-specific bits and calls the opengl console helpers added by patch #2. * Addressing most (but not yet all) review comments from Max. * opengl support is runtime-switchable via '-display sdl,gl={on,off}'. Defaults to off atm. please review, Gerd Gerd Hoffmann (4): configure: opengl overhaul console: add opengl rendering helper functions sdl2: add support for display rendering using opengl. sdl2: move SDL_* includes to sdl2.h configure | 39 ++++++------ default-configs/lm32-softmmu.mak | 2 +- hw/display/Makefile.objs | 2 +- hw/lm32/milkymist-hw.h | 4 +- include/sysemu/sysemu.h | 1 + include/ui/console.h | 24 ++++++++ include/ui/sdl2.h | 17 ++++++ ui/Makefile.objs | 9 +++ ui/console-gl.c | 127 +++++++++++++++++++++++++++++++++++++++ ui/sdl.c | 11 ++++ ui/sdl2-2d.c | 13 ++-- ui/sdl2-gl.c | 107 +++++++++++++++++++++++++++++++++ ui/sdl2-input.c | 6 -- ui/sdl2.c | 73 ++++++++++++++++++---- vl.c | 12 ++++ 15 files changed, 396 insertions(+), 51 deletions(-) create mode 100644 ui/console-gl.c create mode 100644 ui/sdl2-gl.c -- 1.8.3.1