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

Ian Romanick idr at freedesktop.org
Mon Feb 17 18:39:39 PST 2014


Series is

Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

On 02/13/2014 02:18 PM, Fabian Bieler wrote:
> 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(-)
> 



More information about the mesa-dev mailing list