Hi, This series adds some opengl bits and puts them into use for sdl2. No major changes since the last post (somewhen during early 2.3 freeze). I've coded up opengl support for other UIs on top of this and the code has seen some minor refactorings due to this. opengl shader handling moved to its own files (splitted from console-gl.c). Some functions got qemu_ prefixes. Minor tweaks here and there.
please review, Gerd Gerd Hoffmann (5): opengl: add shader build infrastructure opengl: add shader helper functions. console-gl: add opengl rendering helper functions sdl2: move SDL_* includes to sdl2.h sdl2: add support for display rendering using opengl. Max Reitz (1): sdl2: Fix RGB555 Makefile | 17 +++++ configure | 2 +- include/ui/console.h | 37 ++++++++++ include/ui/sdl2.h | 17 +++++ include/ui/shader.h | 11 +++ scripts/shaderinclude.pl | 16 +++++ ui/Makefile.objs | 9 +++ ui/console-gl.c | 168 ++++++++++++++++++++++++++++++++++++++++++++ ui/sdl.c | 10 +++ ui/sdl2-2d.c | 28 +++++--- ui/sdl2-gl.c | 112 +++++++++++++++++++++++++++++ ui/sdl2-input.c | 6 -- ui/sdl2.c | 71 +++++++++++++++---- ui/shader.c | 114 ++++++++++++++++++++++++++++++ ui/shader/texture-blit.frag | 10 +++ ui/shader/texture-blit.vert | 10 +++ vl.c | 23 ++++++ 17 files changed, 633 insertions(+), 28 deletions(-) create mode 100644 include/ui/shader.h create mode 100644 scripts/shaderinclude.pl create mode 100644 ui/console-gl.c create mode 100644 ui/sdl2-gl.c create mode 100644 ui/shader.c create mode 100644 ui/shader/texture-blit.frag create mode 100644 ui/shader/texture-blit.vert -- 1.8.3.1