[Mesa-dev] [PATCH 00/12] DEMOS Use core profile in two GS demos (v2).

Fabian Bieler fabianbieler at fastmail.fm
Thu Feb 13 14:18:17 PST 2014


Hello!

As mesa only supports geometry shaders in core profile contexts this patchset
adjusts the gsraytrace and the geom-outlining-150 demos to use the core
profile.

This is v2 with the comment by Ian Romanick regarding incorrect usage of the
GLSL preprocessor #line directive adressed.

As I don't have git access, I'd appreciate it if someone could commit these
patches (assuming there are no further issues, of course).

Thanks,
Fabian

Fabian Bieler (12):
  configure.ac: Check for freeglut.
  glut_wrapper: Include freeglut.h if available.
  glsl/gsraytrace: Use __LINE__ macro to set line numbers in GLSL source
    strings.
  glsl/gsraytrace: Don't create new Buffer objects everytime the window
    is resized.
  glsl/gsraytrace: Bind transform feedback buffer.
  glsl/gsraytrace: Use core GL3.0 transform feedback
  glsl/gsraytrace: Use GLSL 1.5 instead of 1.2.
  glsl/gsraytrace: Use core geometry shaders.
  glsl/gsraytrace: Switch to core profile.
  geom-outlining-150: Use a vbo.
  geom-outlining-150: Use core geometry shaders.
  geom-outlining-150: Switch to core profile.

 configure.ac                  |   6 ++
 src/glsl/geom-outlining-150.c |  64 +++++++++------
 src/glsl/gsraytrace.cpp       | 185 ++++++++++++++++++++++--------------------
 src/util/glut_wrap.h          |   4 +-
 4 files changed, 147 insertions(+), 112 deletions(-)

-- 
1.8.3.2



More information about the mesa-dev mailing list