Vinson Lee
7f2f42dd80
progs/demos: Remove unnecessary header from shadowtex.c.
pirms 15 gadiem
Vinson Lee
78ddce9fda
progs/demos: Remove unnecessary header from morph3d.c.
pirms 15 gadiem
Vinson Lee
b4bc208529
progs/demos: Remove unnecessary header from isosurf.c.
pirms 15 gadiem
Vinson Lee
d42467687e
progs/demos: Assert that input to malloc is valid.
pirms 15 gadiem
Vinson Lee
6d6c9c6688
progs/demos: Remove unnecessary header from fbotexture.c.
pirms 15 gadiem
Vinson Lee
0c7814fe23
progs/demos: Bounds check input to fire.c.
pirms 15 gadiem
Vinson Lee
3b82de92a0
progs/demos: Add missing initializers in engine.c.
pirms 15 gadiem
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
pirms 15 gadiem
Vinson Lee
e81fe088f4
progs/demos: Silence warn_unused_result warnings.
pirms 15 gadiem
Brian Paul
79e74cda73
progs/demos: report pixel rate in million pixels / sec
pirms 15 gadiem
Keith Whitwell
66e779c22b
i965g: back out unintentional changes to gears
pirms 15 gadiem
Vinson Lee
695adf41e2
progs/demos: Silence compiler warning in morph3d.c.
pirms 15 gadiem
Vinson Lee
41377942d3
progs/demos: Use C-style comment.
pirms 15 gadiem
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.
pirms 15 gadiem
Vinson Lee
7d84169865
progs/demos: Fix memory leak in projtex.c.
pirms 15 gadiem
Vinson Lee
b803abbaad
progs/demos: Fix memory leak in ray.c.
(cherry picked from commit 6b480dc21d
)
pirms 16 gadiem
Vinson Lee
5820dae4ec
progs/demos: Fix memory leak in projtex.c.
(cherry picked from commit ee555e3d69
)
pirms 16 gadiem
Vinson Lee
fc5f07de1a
progs/demos: Fix memory leak in ipers.c.
(cherry picked from commit a1afe303de
)
pirms 16 gadiem
Vinson Lee
d245a951f3
progs/demos: Fix memory leak in fslight.c.
(cherry picked from commit aef3218f0b
)
pirms 16 gadiem
Brian Paul
ba97b98842
progs/demos: remove unused glFogCoordPointer_ext var
pirms 15 gadiem
Keith Whitwell
cddc7e3a9c
brw: add dumping to gem winsys
pirms 15 gadiem
Brian Paul
1888a72765
progs/demos: silence warnings
pirms 16 gadiem
Vinson Lee
6b480dc21d
progs/demos: Fix memory leak in ray.c.
pirms 16 gadiem
Vinson Lee
ee555e3d69
progs/demos: Fix memory leak in projtex.c.
pirms 16 gadiem
Vinson Lee
a1afe303de
progs/demos: Fix memory leak in ipers.c.
pirms 16 gadiem
Vinson Lee
aef3218f0b
progs/demos: Fix memory leak in fslight.c.
pirms 16 gadiem
Keith Whitwell
19403935aa
progs/demos: add fps to multiarb
pirms 16 gadiem
Brian Paul
91bd87c06e
progs/demos: try different depth formats in fbo_firecube.c
pirms 16 gadiem
Brian Paul
0b0fc4072f
progs/demos: use non-default texobj in cubemap.c
pirms 16 gadiem
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.
pirms 16 gadiem
Brian Paul
079ae4c38c
progs/demos: added RGB invert option
pirms 16 gadiem
Younes Manton
cefe9c4f39
mesa: gitignore
pirms 16 gadiem
Keith Whitwell
75312b6555
progs/demos: add fps output to cubemap
pirms 16 gadiem
Brian Paul
e8957f4800
progs/demos: print more info in fbotexture.c
pirms 16 gadiem
Ian Romanick
8b0b33530c
demos/cubemap: Add support for GL_ARB_seamless_cube_map
pirms 16 gadiem
Brian Paul
820436f978
demos: use glEnable/DisableClientState() for vertex arrays
pirms 16 gadiem
Ian Romanick
f359165a82
demos: Set the depth mask correctly to get the desired blending
pirms 16 gadiem
Keith Whitwell
a9ae89d104
progs/isosurf: add materials mode for glVertex + TRISTRIP
pirms 16 gadiem
Brian Paul
eb1eee03a6
demos: improve argv parsing in fslight.c
pirms 16 gadiem
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.
pirms 16 gadiem
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).
pirms 16 gadiem
Brian Paul
56cfa4de91
demos: delete vertex array objects upon exit
pirms 16 gadiem
Brian Paul
3dfe672c85
demos: silence warning
pirms 16 gadiem
Keith Whitwell
fd402791f9
progs: add fflushes for cygwin
pirms 16 gadiem
Shuang He
e326600609
demos: Clean up allocated Textures and Display Lists when demo quit
pirms 16 gadiem
Keith Whitwell
a86ef37655
shadowtex: fflush stdout for cygwin
pirms 16 gadiem
Keith Whitwell
eb5d96968f
demos/readpix: add option to draw triangle instead of drawpix
pirms 16 gadiem
Keith Whitwell
d017749b3e
mesa/progs: fix scons build after recent demo moves
pirms 16 gadiem
Jakob Bornecrantz
90a23e340f
progs/demos: Update ignore
pirms 16 gadiem
Brian Paul
3595732f28
demos: updated .gitignore list
pirms 16 gadiem