Brian
2727cfddbf
hack in some code to test loops, break
18 yıl önce
Brian
9405ec6251
temporary hack to test nested conditionals
18 yıl önce
Brian
6fbbeed690
use perspective projection, press r/R to rotate the quad
18 yıl önce
Brian
050837045f
more usage info
18 yıl önce
Brian
f726ffd060
test flat shading w/ clipping
18 yıl önce
Brian
bfcc337e38
vars to test 1D/2D textures with linear/nearest filtering
18 yıl önce
Brian
9f51e181b1
added pixelzoom cmd line opt
18 yıl önce
Brian
b7693ee559
Draw white square in lower-left corner to test orientation
18 yıl önce
Brian
34d535ad2c
glRead/DrawPixels test
18 yıl önce
Brian
c7157065b2
change triangle orientation, fix exit()
18 yıl önce
root
f71edfa41b
increase texture size to 32x32
18 yıl önce
Keith Whitwell
90ee7a4144
Gutsy oopses on touch of existing file. Workaround.
18 yıl önce
Brian
bf64be2268
added clear-scissor.c
18 yıl önce
Brian
65cc3d29a6
test glClear w/ scissor
18 yıl önce
Brian
daaee90a26
clamp float colors
18 yıl önce
Brian
3af7876521
added code to test per-vertex colors
18 yıl önce
Brian
9110dbd9b2
simple fragment shader test
18 yıl önce
Brian
ffc633c469
fix logic error, typos
18 yıl önce
Zhang
76fb808910
Fix a number of MINGW32 issues
18 yıl önce
Brian
a2e471e05e
press 'f' to toggle front-face winding
18 yıl önce
Brian
5796056e28
press 's' to toggle smoothing
18 yıl önce
Brian
86352ff70d
Added colormask, dither, multisample state. Implement colormasking stage.
18 yıl önce
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.
18 yıl önce
Brian
8db689350d
remove glDepthFunc(GL_LEQUAL) change from prev commit
18 yıl önce
Brian
985e37eedb
clean-up, comments
18 yıl önce
Brian
24b68f4184
press 'f' to toggle GL_CCW/GL_CW front face
18 yıl önce
Brian
9a89cc3b6b
use 'c' to cycle through polygon cull modes
18 yıl önce
Brian
8733ee9dc9
use cursor keys to translate triangle
18 yıl önce
Xavier Bachelot
f98bdfca57
call glutInit(), bug 11486
18 yıl önce
Brian
e8e5d9effe
support more modes, added -f cmd line option
18 yıl önce
Brian
3b10f50efb
use larger point/sprite size
18 yıl önce
Brian
05b2297bef
better triangle Z coords
18 yıl önce
Brian
6a3ed5eb96
Random state-change / primitive rendering. Good for hammering on a driver...
18 yıl önce
Brian
3c0790ca92
triangles w/ depth test
18 yıl önce
Brian
03933ad656
don't request GLUT_ALPHA
18 yıl önce
Brian
9ec2e16223
change clear color
18 yıl önce
Keith Whitwell
477e18cb02
Add GLUT_ALPHA for softpipe
18 yıl önce
Brian
39d221ef14
fix glReadPixels parameters to handle odd-width windows correctly
18 yıl önce
Brian
5e9cff0b97
disable shader program before glDrawPixels
18 yıl önce
Ian Romanick
359c6eada7
Add support for shadow mapping with vertex and fragment programs
18 yıl önce
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.
18 yıl önce
Ian Romanick
f575d4fa7f
Remove '#if defined' tests for ARB extensions.
18 yıl önce
Brian
0c5662acc7
use glXGetProcAddress to get extension funcs
18 yıl önce
Keith Whitwell
572dc0864e
Modifications to run with softpipe test harness
RGB->RGBA
double buffer by default.
18 yıl önce
Brian
b4f8d4455b
set texcoords depending on GLX_Y_INVERTED_EXT
18 yıl önce
Brian
4465377ca3
GLX_EXT_texture_from_pixmap test
18 yıl önce
Ian Romanick
2f61cbd30c
Add simple program to test GL_MESA_texture_array.
18 yıl önce
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!
18 yıl önce
Brian
da37ac5ee7
remove some debug code
18 yıl önce
Brian
58eaf0acca
a somewhat nicer demo w/ command line options
18 yıl önce