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.
2009-12-18 13:58:14 -07:00
Keith Whitwell
890679d432
Merge branch 'softpipe-opt'
...
Conflicts:
progs/demos/cubemap.c
src/gallium/drivers/softpipe/sp_tex_sample.c
src/gallium/drivers/softpipe/sp_texture.c
2009-09-23 17:37:28 +01:00
Brian Paul
0b0fc4072f
progs/demos: use non-default texobj in cubemap.c
2009-09-15 18:17:42 -06:00
Keith Whitwell
75312b6555
progs/demos: add fps output to cubemap
2009-08-23 23:53:41 +01:00
Ian Romanick
8b0b33530c
demos/cubemap: Add support for GL_ARB_seamless_cube_map
2009-08-14 16:28:51 -07:00
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.
2009-06-20 00:28:38 +02:00
Brian Paul
6aa6ae8cff
demos: fix error string, comment
2009-03-12 09:31:59 -06:00
Keith Whitwell
1e074dcb7b
demos: use glGenerateMipmapEXT entrypoint in cubemap.c
...
glGenerateMipmap() is part of ARB_framebuffer_object, which many mesa
drivers don't advertise. Add check for EXT_framebuffer_object.
2009-03-12 14:30:49 +00:00
Brian Paul
0e28e1a72f
demos: in progs/demos/cubemap.c press c/f to cycle through clamp/filter modes
...
Also generate a mipmap for the default checker images.
2009-03-09 11:49:57 -06:00
Brian
3a484cd794
added --noclear option to demonstrate rendering without glClear
2007-08-27 12:00:19 -06:00
Ian Romanick
e4298b9492
Add missing call to glutInit.
2006-10-24 20:50:08 +00:00
Brian Paul
0fe7f406be
include readtex.h instead of readtex.c (Marcello Magallon)
2005-01-09 17:06:22 +00:00
Brian Paul
52a5cc0bae
minor anim tweak
2004-08-10 15:39:00 +00:00
Ian Romanick
cd6ca58c3f
Modified to use vertex arrays. Vertex arrays and immediate mode calls
...
are toggled with the 't' key.
2004-05-05 20:17:19 +00:00
Keith Whitwell
493e6e1e90
Add comments to make decyphering the faces easier
2004-02-05 17:36:02 +00:00
Brian Paul
0b77a1c635
fix typo
2003-04-09 21:50:08 +00:00
Brian Paul
a4f0b6884c
added skybox and options to load real images
2002-10-25 17:20:26 +00:00
Brian Paul
02e8a03593
fixed compiler warnings
2000-06-27 17:04:43 +00:00
Brian Paul
d27e256f49
use GL_CLAMP_TO_EDGE
2000-06-13 18:45:54 +00:00
Brian Paul
d04d20974e
initial check-in
2000-05-30 01:18:29 +00:00