summaryrefslogtreecommitdiffstats
path: root/progs/demos/shadowtex.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove demos that have moved to git+ssh://git.freedesktop.org/git/mesa/demos.Eric Anholt2010-05-211-1039/+0
| | | | | | | The remaining programs are ones I've had difficulty finding a build environment for to make the build system or are unit tests that should probably live next to their code instead. Hopefully people can bring over the build for remaining pieces they care about.
* Merge branch 'mesa_7_7_branch'Brian Paul2010-01-251-1/+0
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/intel/intel_screen.c src/mesa/drivers/dri/intel/intel_swapbuffers.c src/mesa/drivers/dri/r300/r300_emit.c src/mesa/drivers/dri/r300/r300_ioctl.c src/mesa/drivers/dri/r300/r300_tex.c src/mesa/drivers/dri/r300/r300_texstate.c
| * progs/demos: Remove unnecessary header from shadowtex.c.Vinson Lee2010-01-231-1/+0
| |
* | progs/demos: fix glut initialization callsBrian Paul2009-12-181-2/+1
|/ | | | | | | 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.
* shadowtex: fflush stdout for cygwinKeith Whitwell2009-04-241-0/+2
|
* progs: Port most of the demos to glew.José Fonseca2009-01-241-1/+2
| | | | | A couple of test weren't ported due to glew breakage -- it undefines GLAPIENTRY.
* demos/shadowtex: Don't set TEXTURE_WRAP_T for 1D textureNicolai Haehnle2008-06-291-1/+0
| | | | | | The operation doesn't really make sense. It triggered a bug in the r300 DRI driver (and possibly other drivers that simulate 1D textures via 2D textures). I've added an isolated test case for this bug to Piglit, so everybody wins.
* disable GL_TEXTURE_1D at end of frame to fix failed assertionBrian Paul2008-04-291-0/+1
|
* Support cards that have ARB_fp but not ARB_shadow.Ian Romanick2007-10-171-13/+49
|
* Add support for shadow mapping with vertex and fragment programsIan Romanick2007-06-071-4/+216
|
* Refactor shadow map modelview and projection codeIan Romanick2007-06-071-22/+50
| | | | | | | Explicitly store the modelview matrix and projection matrix used when the shadow map is created. These matrices only need be updated when RenderShadowMap is called. Previously, slightly different code was used to draw and project the shadow map.
* Remove '#if defined' tests for ARB extensions.Ian Romanick2007-06-071-18/+1
|
* Fix FBO completeness bug in shadowtex.Ian Romanick2007-04-211-2/+15
|
* re-enable animationBrian Paul2006-04-061-1/+1
|
* Added render to depth texture support with GL_EXT_framebuffer_object.Brian Paul2006-04-061-99/+227
| | | | | Only render the shadow/depth texture when really needed, not every frame. Remove support for old SGIX shadow extensions.
* set the texture border color for the depth textureBrian Paul2006-04-051-1/+5
|
* use 'p' key to toggle use of GL_EXT_packed_depth_stencilBrian Paul2006-03-151-8/+42
|
* better animate rate (Marcelo Magallon)Brian Paul2005-01-091-2/+8
|
* fix minor warningsBrian Paul2003-04-211-3/+1
|
* Pedantic compiler fixes (Sven Panne)Brian Paul2002-07-121-3/+3
|
* exercise GL_EXT_shadow_funcsBrian Paul2002-03-231-1/+32
|
* updated to use GL_ARB_depth_texture, GL_ARB_shadow, GL_ARB_shadow_ambientBrian Paul2002-02-161-6/+43
|
* Now there's four possible display modes:Brian Paul2001-02-281-17/+126
| | | | | | | 1. normal, shadowed rendering 2. display depth texture image 3. display depth texture mapped onto scene 4. render grayscale scene where gray level = distance from light source
* added filtering option, compute shadow tex size from window sizeBrian Paul2001-02-261-13/+36
|
* added extension #ifdef/#endifsBrian Paul2001-02-201-2/+5
|
* demo of GL_SGIX_shadowBrian Paul2001-02-201-0/+393