Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
If no command line argument is given, draw 50 points (25 lines).
|
|
|
|
|
|
Signed-off-by: Fabian Bieler <fabianbieler@fastmail.fm>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
|
|
Signed-off-by: Fabian Bieler <fabianbieler@fastmail.fm>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
|
|
Use a vbo for vertex data instead of client-side arrays.
Also bind a vertex array object.
This is necessary for the switch to a core profile context.
Signed-off-by: Fabian Bieler <fabianbieler@fastmail.fm>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
|
|
Signed-off-by: Fabian Bieler <fabianbieler@fastmail.fm>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
|
|
V2: Don't remove ShaderSupported() test. It sets up some function pointers for
the CompileShader framework.
Signed-off-by: Fabian Bieler <fabianbieler@fastmail.fm>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
|
|
This commit prepares the transition from extension to core geometry shaders.
(Core geometry shaders require GLSL version 1.5 or later.)
This includes using generic vertex attributes instead of built-ins.
Signed-off-by: Fabian Bieler <fabianbieler@fastmail.fm>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
|
|
NV_transform_feedback is not supported by mesa.
Use transform feedback from core OpenGL 3.0.
This necessitates binding the transform feedback varyings before linking the
shader.
Signed-off-by: Fabian Bieler <fabianbieler@fastmail.fm>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
|
|
Bind the transform feedback buffer before drawing into it and unbind it
afterwards.
Signed-off-by: Fabian Bieler <fabianbieler@fastmail.fm>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
|
|
resized.
Signed-off-by: Fabian Bieler <fabianbieler@fastmail.fm>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
|
|
The hardcoded numbers are a few lines off at the moment.
Keeping track of the numbers through further modifications is inconvenient.
The __LINE__ "constant" takes care of this automatically.
v2: (by Kenneth Graunke) Don't specify the source string number
(caught by Ian Romanick).
Signed-off-by: Fabian Bieler <fabianbieler@fastmail.fm>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
|
|
|
|
Ray tracing using geometry shaders and transform feedback. Implements a simplified version of the algorithm described in K. Ralovich, M. Magdics: Recursive Ray Tracing in Geometry Shader, Proceedings of the Fifth Hungarian Conference on Computer Graphics and Geometry, Budapest, Hungary, 26 Jan 2010.
The patch for automake comes from Brian Paul.
Reviewed-by: Brian Paul <brianp@vmware.com>
|
|
|
|
|
|
instead of a texture map. This was Michal Krol's idea.
|
|
Reviewed-by: Brian Paul <brianp@vmware.com>
|
|
|
|
And set clear color's alpha to 1.0
|
|
Both GLSL 1.30 and 1.50 versions.
|
|
|
|
blinking-teapot is an UBO demo.
|
|
I ran into build failures due to missing GL_UNSIGNED_INT_2_10_10_10_REV
symbol, but it was caused by old glew headers, not old glext headers.
So take this back until it actually makes a difference.
This reverts commit 838c703bb9be6d89a226f2239dbb44c85d53da57.
|
|
In order to pick different (i.e., newer) headers than the system ones.
|
|
This fixes the program when replacing gl_Vertex with VertCoord in
multitex.vert, and VertCoord happens to not receive location 0.
|
|
|
|
Several demos were mistakenly dismissing version 3.
Simply use GLEW version check mechanism everywhere.
|
|
|
|
On Mac OS X, GLX is provided as a separate OpenGL implementation, different
from the standard OpenGL framework which provides support for GLUT and native
Mac OS X applications.
|
|
|
|
|
|
Replaced by GLEW.
|
|
|
|
|
|
Plus assorted clean-ups.
|
|
|
|
|
|
|
|
See http://github.com/ashima/webgl-noise
|
|
|
|
|
|
|
|
|
|
If you specify --with-system-data-files, binaries will try to find .dat and
image files inside ${datadir}/${PACKAGE}. If you don't specify, they will try to
find the files inside "../data" (keeping backwards compatibility).
Signed-off-by: Paulo Zanoni <pzanoni@mandriva.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
|
|
Signed-off-by: Paulo Zanoni <pzanoni@mandriva.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
|
|
|
|
Superseeded by CMake.
|