Hi, Finally getting back to work on opengl support. So here is the next round of the sdl2 opengl patches. Series applies cleanly on top of the sdl pull request sent earlier today.
please review, Gerd Gerd Hoffmann (4): opengl: some shader infrastructure console-gl: add opengl rendering helper functions sdl2: move SDL_* includes to sdl2.h sdl2: add support for display rendering using opengl. Makefile | 17 +++ configure | 2 +- include/ui/console.h | 32 ++++++ include/ui/sdl2.h | 17 +++ scripts/shaderinclude.pl | 16 +++ ui/Makefile.objs | 8 ++ ui/console-gl.c | 253 ++++++++++++++++++++++++++++++++++++++++++++ ui/sdl.c | 10 ++ ui/sdl2-2d.c | 13 +-- ui/sdl2-gl.c | 112 ++++++++++++++++++++ ui/sdl2-input.c | 6 -- ui/sdl2.c | 71 ++++++++++--- ui/shader/texture-blit.frag | 10 ++ ui/shader/texture-blit.vert | 10 ++ vl.c | 23 ++++ 15 files changed, 574 insertions(+), 26 deletions(-) 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/texture-blit.frag create mode 100644 ui/shader/texture-blit.vert -- 1.8.3.1