Vinson Lee
7f2f42dd80
progs/demos: Remove unnecessary header from shadowtex.c.
15 anni fa
Vinson Lee
78ddce9fda
progs/demos: Remove unnecessary header from morph3d.c.
15 anni fa
Vinson Lee
b4bc208529
progs/demos: Remove unnecessary header from isosurf.c.
15 anni fa
Vinson Lee
d42467687e
progs/demos: Assert that input to malloc is valid.
15 anni fa
Vinson Lee
6d6c9c6688
progs/demos: Remove unnecessary header from fbotexture.c.
15 anni fa
Vinson Lee
0c7814fe23
progs/demos: Bounds check input to fire.c.
15 anni fa
Vinson Lee
3b82de92a0
progs/demos: Add missing initializers in engine.c.
15 anni fa
José Fonseca
7bbf7f94ea
scons: Build progs together with everything else.
This is a substantial reorganization, This particular commit enables:
- building the progs for unices platforms
- glew is now built as a shared library (it is the default, and it is
inconvenient and pointless to shift away from that default)
- all progs get built by default
15 anni fa
Vinson Lee
e81fe088f4
progs/demos: Silence warn_unused_result warnings.
15 anni fa
Brian Paul
79e74cda73
progs/demos: report pixel rate in million pixels / sec
15 anni fa
Keith Whitwell
66e779c22b
i965g: back out unintentional changes to gears
15 anni fa
Vinson Lee
695adf41e2
progs/demos: Silence compiler warning in morph3d.c.
15 anni fa
Vinson Lee
41377942d3
progs/demos: Use C-style comment.
15 anni fa
Brian Paul
263f4322e7
progs/demos: fix glut initialization calls
Remove glutInitWindowPosition() calls to play nicer with window managers.
Move glutInitWindowSize() calls before glutInit() so the the default window
size can be overridden by the -geometry cmd line option.
15 anni fa
Vinson Lee
7d84169865
progs/demos: Fix memory leak in projtex.c.
15 anni fa
Vinson Lee
b803abbaad
progs/demos: Fix memory leak in ray.c.
(cherry picked from commit 6b480dc21d
)
16 anni fa
Vinson Lee
5820dae4ec
progs/demos: Fix memory leak in projtex.c.
(cherry picked from commit ee555e3d69
)
16 anni fa
Vinson Lee
fc5f07de1a
progs/demos: Fix memory leak in ipers.c.
(cherry picked from commit a1afe303de
)
16 anni fa
Vinson Lee
d245a951f3
progs/demos: Fix memory leak in fslight.c.
(cherry picked from commit aef3218f0b
)
16 anni fa
Brian Paul
ba97b98842
progs/demos: remove unused glFogCoordPointer_ext var
15 anni fa
Keith Whitwell
cddc7e3a9c
brw: add dumping to gem winsys
15 anni fa
Brian Paul
1888a72765
progs/demos: silence warnings
16 anni fa
Vinson Lee
6b480dc21d
progs/demos: Fix memory leak in ray.c.
16 anni fa
Vinson Lee
ee555e3d69
progs/demos: Fix memory leak in projtex.c.
16 anni fa
Vinson Lee
a1afe303de
progs/demos: Fix memory leak in ipers.c.
16 anni fa
Vinson Lee
aef3218f0b
progs/demos: Fix memory leak in fslight.c.
16 anni fa
Keith Whitwell
19403935aa
progs/demos: add fps to multiarb
16 anni fa
Brian Paul
91bd87c06e
progs/demos: try different depth formats in fbo_firecube.c
16 anni fa
Brian Paul
0b0fc4072f
progs/demos: use non-default texobj in cubemap.c
16 anni fa
Brian Paul
7f86da6c60
progs/demos: create a texture object in lodbias.c
Before, we were using the default texture object (name=0). This caused
the intel_generate_mipmap() path to fail since passing texture=0 to
glFramebufferTexture2DEXT() causes us to _unbind_ the texture if present.
16 anni fa
Brian Paul
079ae4c38c
progs/demos: added RGB invert option
16 anni fa
Younes Manton
cefe9c4f39
mesa: gitignore
16 anni fa
Keith Whitwell
75312b6555
progs/demos: add fps output to cubemap
16 anni fa
Brian Paul
e8957f4800
progs/demos: print more info in fbotexture.c
16 anni fa
Ian Romanick
8b0b33530c
demos/cubemap: Add support for GL_ARB_seamless_cube_map
16 anni fa
Brian Paul
820436f978
demos: use glEnable/DisableClientState() for vertex arrays
16 anni fa
Ian Romanick
f359165a82
demos: Set the depth mask correctly to get the desired blending
16 anni fa
Keith Whitwell
a9ae89d104
progs/isosurf: add materials mode for glVertex + TRISTRIP
16 anni fa
Brian Paul
eb1eee03a6
demos: improve argv parsing in fslight.c
16 anni fa
Roland Scheidegger
7a5c5b9af3
demos: make cubemap work without EXT_fbo support
use SGIS_generate_mipmap if EXT_fbo support (for manual mipmap generation)
is not available.
16 anni fa
Brian Paul
fb64365642
demos: update fbotexture.c to use EXT or ARB functions exclusively
When the -arb option is specified we use GL_ARB_framebuffer_object intead
of GL_EXT_framebuffer_object.
For some vendors' OpenGL it's important to call the ARB entrypoints
instead of the EXT entrypoints to get correct behaviour. Use some
function pointer tricks to do this (instead of GLEW).
16 anni fa
Brian Paul
56cfa4de91
demos: delete vertex array objects upon exit
16 anni fa
Brian Paul
3dfe672c85
demos: silence warning
16 anni fa
Keith Whitwell
fd402791f9
progs: add fflushes for cygwin
16 anni fa
Shuang He
e326600609
demos: Clean up allocated Textures and Display Lists when demo quit
16 anni fa
Keith Whitwell
a86ef37655
shadowtex: fflush stdout for cygwin
16 anni fa
Keith Whitwell
eb5d96968f
demos/readpix: add option to draw triangle instead of drawpix
16 anni fa
Keith Whitwell
d017749b3e
mesa/progs: fix scons build after recent demo moves
16 anni fa
Jakob Bornecrantz
90a23e340f
progs/demos: Update ignore
16 anni fa
Brian Paul
3595732f28
demos: updated .gitignore list
16 anni fa