Brian
2727cfddbf
hack in some code to test loops, break
hace 18 años
Brian
9405ec6251
temporary hack to test nested conditionals
hace 18 años
Brian
6fbbeed690
use perspective projection, press r/R to rotate the quad
hace 18 años
Brian
050837045f
more usage info
hace 18 años
Brian
f726ffd060
test flat shading w/ clipping
hace 18 años
Brian
bfcc337e38
vars to test 1D/2D textures with linear/nearest filtering
hace 18 años
Brian
9f51e181b1
added pixelzoom cmd line opt
hace 18 años
Brian
b7693ee559
Draw white square in lower-left corner to test orientation
hace 18 años
Brian
34d535ad2c
glRead/DrawPixels test
hace 18 años
Brian
c7157065b2
change triangle orientation, fix exit()
hace 18 años
root
f71edfa41b
increase texture size to 32x32
hace 18 años
Keith Whitwell
90ee7a4144
Gutsy oopses on touch of existing file. Workaround.
hace 18 años
Brian
bf64be2268
added clear-scissor.c
hace 18 años
Brian
65cc3d29a6
test glClear w/ scissor
hace 18 años
Brian
daaee90a26
clamp float colors
hace 18 años
Brian
3af7876521
added code to test per-vertex colors
hace 18 años
Brian
9110dbd9b2
simple fragment shader test
hace 18 años
Brian
ffc633c469
fix logic error, typos
hace 18 años
Zhang
76fb808910
Fix a number of MINGW32 issues
hace 18 años
Brian
a2e471e05e
press 'f' to toggle front-face winding
hace 18 años
Brian
5796056e28
press 's' to toggle smoothing
hace 18 años
Brian
86352ff70d
Added colormask, dither, multisample state. Implement colormasking stage.
hace 18 años
Brian
34f6243bef
Improve this demo in a few ways.
1. Use more reasonable hither/yon clip planes to make better use of shallow
(16-bit) z buffers.
2. Use different colors on cube faces to help detect Z fighting if it occurs.
3. Report GL_DEPTH_BITS on start-up.
hace 18 años
Brian
8db689350d
remove glDepthFunc(GL_LEQUAL) change from prev commit
hace 18 años
Brian
985e37eedb
clean-up, comments
hace 18 años
Brian
24b68f4184
press 'f' to toggle GL_CCW/GL_CW front face
hace 18 años
Brian
9a89cc3b6b
use 'c' to cycle through polygon cull modes
hace 18 años
Brian
8733ee9dc9
use cursor keys to translate triangle
hace 18 años
Xavier Bachelot
f98bdfca57
call glutInit(), bug 11486
hace 18 años
Brian
e8e5d9effe
support more modes, added -f cmd line option
hace 18 años
Brian
3b10f50efb
use larger point/sprite size
hace 18 años
Brian
05b2297bef
better triangle Z coords
hace 18 años
Brian
6a3ed5eb96
Random state-change / primitive rendering. Good for hammering on a driver...
hace 18 años
Brian
3c0790ca92
triangles w/ depth test
hace 18 años
Brian
03933ad656
don't request GLUT_ALPHA
hace 18 años
Brian
9ec2e16223
change clear color
hace 18 años
Keith Whitwell
477e18cb02
Add GLUT_ALPHA for softpipe
hace 18 años
Brian
39d221ef14
fix glReadPixels parameters to handle odd-width windows correctly
hace 18 años
Brian
5e9cff0b97
disable shader program before glDrawPixels
hace 18 años
Ian Romanick
359c6eada7
Add support for shadow mapping with vertex and fragment programs
hace 18 años
Ian Romanick
2260c245fd
Refactor shadow map modelview and projection code
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.
hace 18 años
Ian Romanick
f575d4fa7f
Remove '#if defined' tests for ARB extensions.
hace 18 años
Brian
0c5662acc7
use glXGetProcAddress to get extension funcs
hace 18 años
Keith Whitwell
572dc0864e
Modifications to run with softpipe test harness
RGB->RGBA
double buffer by default.
hace 18 años
Brian
b4f8d4455b
set texcoords depending on GLX_Y_INVERTED_EXT
hace 18 años
Brian
4465377ca3
GLX_EXT_texture_from_pixmap test
hace 18 años
Ian Romanick
2f61cbd30c
Add simple program to test GL_MESA_texture_array.
hace 18 años
Brian
16c503f39a
Tweak the shell scripting for descending into and building subdirs.
In general, use this:
@for dir in $(SUBDIRS) ; do \
if [ -d $$dir ] ; then \
(cd $$dir && $(MAKE)) || exit 1; \
fi \
done
Basically, silently skip missing subdirs but generate an error and stop if
there's a compilation or install problem.
This was done inconsistantly before. In once case, a missing subdir was
causing us to go into an infinte loop!
hace 18 años
Brian
da37ac5ee7
remove some debug code
hace 18 años
Brian
58eaf0acca
a somewhat nicer demo w/ command line options
hace 18 años