qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2 0/7] sdl2: add opengl rendering support


From: Gerd Hoffmann
Subject: [Qemu-devel] [PATCH v2 0/7] sdl2: add opengl rendering support
Date: Mon, 19 Jan 2015 14:36:36 +0100

  Hi,

Next round of the opengl rendering patches.  Rendering code got some
major changes, it using opengl es now.  So there is support for
compiling shaders etc now, all the stuff we need when moving away from
the old opengl1 desktop rendering model, toward opengl es (and also
opengl core 3/4).

Using gles2 because:

 (1) I want move to the modern, programmable opengl rendering pipeline,
     even if that means my opengl knowledge needs a major update
     [ book ordered ;) ]
 (2) The stripped down es (embedded systems) API runs on the desktop
     too, and it should have no problems handling our opengl needs.
 (3) Maybe we'll go move to embedded devices some day (android tablets
     being the most likely thing here).

please review,
  Gerd

Gerd Hoffmann (6):
  configure: opengl overhaul
  pixman: add a bunch of PIXMAN_BE_* defines for 32bpp
  console-gl: add opengl rendering helper functions
  console-gl: externalize shader programs
  sdl2: move SDL_* includes to sdl2.h
  sdl2: add support for display rendering using opengl.

Jeremy White (1):
  Allow the use of X11 from a non standard location.

 Makefile                         |  17 +++
 configure                        |  59 +++++----
 default-configs/lm32-softmmu.mak |   2 +-
 hw/display/Makefile.objs         |   3 +-
 hw/lm32/milkymist-hw.h           |   4 +-
 include/sysemu/sysemu.h          |   1 +
 include/ui/console.h             |  32 +++++
 include/ui/qemu-pixman.h         |  16 +++
 include/ui/sdl2.h                |  17 +++
 scripts/shaderinclude.pl         |  16 +++
 ui/Makefile.objs                 |   8 ++
 ui/console-gl.c                  | 262 +++++++++++++++++++++++++++++++++++++++
 ui/sdl.c                         |  11 ++
 ui/sdl2-2d.c                     |  13 +-
 ui/sdl2-gl.c                     | 112 +++++++++++++++++
 ui/sdl2-input.c                  |   6 -
 ui/sdl2.c                        |  73 +++++++++--
 ui/shader/texture-blit.frag      |  10 ++
 ui/shader/texture-blit.vert      |  11 ++
 vl.c                             |  12 ++
 20 files changed, 631 insertions(+), 54 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]