[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/6] sdl2: add opengl rendering support.
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH 0/6] sdl2: add opengl rendering support. |
Date: |
Wed, 29 Apr 2015 09:49:24 +0200 |
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
- [Qemu-devel] [PATCH 0/6] sdl2: add opengl rendering support.,
Gerd Hoffmann <=
- [Qemu-devel] [PATCH 1/6] opengl: add shader build infrastructure, Gerd Hoffmann, 2015/04/29
- [Qemu-devel] [PATCH 6/6] sdl2: Fix RGB555, Gerd Hoffmann, 2015/04/29
- [Qemu-devel] [PATCH 4/6] sdl2: move SDL_* includes to sdl2.h, Gerd Hoffmann, 2015/04/29
- [Qemu-devel] [PATCH 2/6] opengl: add shader helper functions., Gerd Hoffmann, 2015/04/29
- [Qemu-devel] [PATCH 3/6] console-gl: add opengl rendering helper functions, Gerd Hoffmann, 2015/04/29
- [Qemu-devel] [PATCH 5/6] sdl2: add support for display rendering using opengl., Gerd Hoffmann, 2015/04/29