Zack Rusin
55c1894d0a
Add the new test program for fp's.
pirms 17 gadiem
Zack Rusin
6f111e9c81
Don't generate spurious vs, move the enable a bit to do that.
pirms 17 gadiem
Zack Rusin
63a9d835ce
Redo the fragment program examples to match vp's
we just load text files instead of compiling tons of small
binaries
pirms 18 gadiem
Zack Rusin
025b140b2f
Add a simple fps counter to the example
pirms 18 gadiem
Brian
aef25b1994
set window size to 256x256
pirms 17 gadiem
Keith Whitwell
b1399a5dd2
gallium: more trivial tests
pirms 18 gadiem
Keith Whitwell
56bc8d9199
gallium: remove unneeded depth buffer
pirms 18 gadiem
Michal Krol
918ea5168b
Rename 'mms-config.' to 'mms.config'.
It looks like Windows does not like filenames ending with a dot,
in effect renaming it to 'mms-config'.
pirms 18 gadiem
michal
a1b4285c5c
Fix fragment shader.
pirms 18 gadiem
michal
9c22f91030
Optimize fragment program.
pirms 18 gadiem
José Fonseca
414a933ad2
Ignore generated files.
pirms 18 gadiem
Zack Rusin
4a4e6f2cab
Implement loops
pirms 18 gadiem
Zack Rusin
1d26e9c447
Fix nested conditionals
pirms 18 gadiem
Zack Rusin
e842b5e5ba
Test some functionality of vp using GLSL that pure vp isn't testing.
pirms 18 gadiem
Brian
2727cfddbf
hack in some code to test loops, break
pirms 18 gadiem
Brian
9405ec6251
temporary hack to test nested conditionals
pirms 18 gadiem
Brian
6fbbeed690
use perspective projection, press r/R to rotate the quad
pirms 18 gadiem
Brian
050837045f
more usage info
pirms 18 gadiem
Brian
f726ffd060
test flat shading w/ clipping
pirms 18 gadiem
Brian
bfcc337e38
vars to test 1D/2D textures with linear/nearest filtering
pirms 18 gadiem
Brian
9f51e181b1
added pixelzoom cmd line opt
pirms 18 gadiem
Brian
b7693ee559
Draw white square in lower-left corner to test orientation
pirms 18 gadiem
Brian
34d535ad2c
glRead/DrawPixels test
pirms 18 gadiem
Brian
c7157065b2
change triangle orientation, fix exit()
pirms 18 gadiem
root
f71edfa41b
increase texture size to 32x32
pirms 18 gadiem
Keith Whitwell
90ee7a4144
Gutsy oopses on touch of existing file. Workaround.
pirms 18 gadiem
Brian
bf64be2268
added clear-scissor.c
pirms 18 gadiem
Brian
65cc3d29a6
test glClear w/ scissor
pirms 18 gadiem
Brian
daaee90a26
clamp float colors
pirms 18 gadiem
Brian
3af7876521
added code to test per-vertex colors
pirms 18 gadiem
Brian
9110dbd9b2
simple fragment shader test
pirms 18 gadiem
Brian
ffc633c469
fix logic error, typos
pirms 18 gadiem
Zhang
76fb808910
Fix a number of MINGW32 issues
pirms 18 gadiem
Brian
a2e471e05e
press 'f' to toggle front-face winding
pirms 18 gadiem
Brian
5796056e28
press 's' to toggle smoothing
pirms 18 gadiem
Brian
86352ff70d
Added colormask, dither, multisample state. Implement colormasking stage.
pirms 18 gadiem
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.
pirms 18 gadiem
Brian
8db689350d
remove glDepthFunc(GL_LEQUAL) change from prev commit
pirms 18 gadiem
Brian
985e37eedb
clean-up, comments
pirms 18 gadiem
Brian
24b68f4184
press 'f' to toggle GL_CCW/GL_CW front face
pirms 18 gadiem
Brian
9a89cc3b6b
use 'c' to cycle through polygon cull modes
pirms 18 gadiem
Brian
8733ee9dc9
use cursor keys to translate triangle
pirms 18 gadiem
Xavier Bachelot
f98bdfca57
call glutInit(), bug 11486
pirms 18 gadiem
Brian
e8e5d9effe
support more modes, added -f cmd line option
pirms 18 gadiem
Brian
3b10f50efb
use larger point/sprite size
pirms 18 gadiem
Brian
05b2297bef
better triangle Z coords
pirms 18 gadiem
Brian
6a3ed5eb96
Random state-change / primitive rendering. Good for hammering on a driver...
pirms 18 gadiem
Brian
3c0790ca92
triangles w/ depth test
pirms 18 gadiem
Brian
03933ad656
don't request GLUT_ALPHA
pirms 18 gadiem
Brian
9ec2e16223
change clear color
pirms 18 gadiem