Brian
6aa9c8ebc1
remove unneeded casts, added comments
18 anni fa
Brian
1deafdb1de
Do depth testing with integer values.
Using floats (and float->ushort->float conversion) introduces errors.
Only GLushort depth buffers work for now...
18 anni fa
Brian
f6dffd6ee7
fix problems with polygon offset
18 anni fa
Brian
5e4379b5a4
comments, clean-up
18 anni fa
Brian
720c0eb71d
added comments
18 anni fa
Brian
1fe4cf83cd
Fix front/back mix-up. added comments.
18 anni fa
Brian
24b68f4184
press 'f' to toggle GL_CCW/GL_CW front face
18 anni fa
Brian
9a89cc3b6b
use 'c' to cycle through polygon cull modes
18 anni fa
Brian
8733ee9dc9
use cursor keys to translate triangle
18 anni fa
Brian
17b86cfa4e
Comments, minor clean-up.
18 anni fa
Brian
e7a2085148
comments
18 anni fa
Brian
57a5385652
Added comments, assertions.
18 anni fa
Brian
8c1fa904ed
Fix EMIT_ATTR() to populate the draw->vf_attr_to_slot[] array.
Note that attribute index has to be biased by two, since vertex->data[]
starts after the header and clipcoord fields. See comments for details.
Added a bunch of comments/docs.
18 anni fa
Brian
d68ea4e23f
remove some dead/disabled stuff
18 anni fa
Brian
f4053ce858
Remove softpipe includes
18 anni fa
Brian
ebafc193fa
s/G_/SP_/
18 anni fa
Brian
a380f98b6c
Rename G_NEW_* tokens to SP_NEW_*
18 anni fa
Brian
546eff6ba8
Obsolete file.
18 anni fa
Brian
279ffe3f16
New 'draw' module for primitive drawing (clipping, culling, etc).
18 anni fa
Brian
9fbdf50078
New 'draw' module for handling the various stages of primitive drawing (clipping, culling, etc).
18 anni fa
Brian
10f4b37bd7
Rename/move some files to modularize the primitive/draw code.
18 anni fa
michal
9b32c33e9d
Fix function names.
18 anni fa
michal
6d8fb1a543
Indent.
Fix function prototype.
18 anni fa
michal
3b8bc1f467
Merge branch 'master' of git+ssh://michal@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
18 anni fa
michal
ffe58739da
Softpipe: import TGSI tree. Not hooked-up yet.
18 anni fa
Brian
ffa2659204
stencil pixel map didn't work in _mesa_unpack_stencil_span(), bug 11475
18 anni fa
Brian
c223c6b663
Be more consistant with paths in #includes. Eventually, eliminate a bunch of -I flags.
18 anni fa
Brian
e8e5d9effe
support more modes, added -f cmd line option
18 anni fa
Brian
9aa8223605
assorted clean-ups
18 anni fa
Eric Anholt
bd9db5eed2
fix LogicOp/bitmap problem, bug 11133
18 anni fa
Brian
22b0b2f47e
add fbdev/ to DEMO_FILES
18 anni fa
Dave Airlie
5657fc5b4c
r300: only init swtcl on tcl-less cards
18 anni fa
Brian
ac5523a9c3
SIMD comments
18 anni fa
Brian
284efcfc27
hook in state tracking for blend color
18 anni fa
Brian
d378a2c0b8
added blend_color
18 anni fa
Brian
111880798a
Blend MIN/MAX modes are special: the src/dest terms are always one.
18 anni fa
Brian
f6d4f5e1e9
Rewrite blending in terms of SIMD operations.
18 anni fa
Brian
7ff4359a3b
added vec2(vec4) constructor, bug 11404
18 anni fa
Brian
a36b5c6d47
add code for stpq, rgba writemasks in make_writemask(), bug 11404
18 anni fa
Brian
a813f65487
clarify that line_stipple_factor is in [0,255] corresponding to GL's range of [1,256].
18 anni fa
Brian
3d04682b7a
fix StepX/StepY typo
18 anni fa
Brian
f9b53f648d
use _mesa_unpack_stencil_span() in draw_stencil_pixels(), bug 11457
18 anni fa
Roland Scheidegger
9a45176dd8
fix GL_DOT3_RGBA texture combiner mode in generated fragment programs (bug #11030)
18 anni fa
Brian
ea92566ed9
rename a few structs (use _state suffix consistantly), reorder/sort fields in some structs
18 anni fa
Brian
9220255d75
add const to wglSetPixelFormat() to match .h declaration
18 anni fa
Brian
06542019a8
avoid unnecessary clamping of depth values (bug 11448)
18 anni fa
Dave Airlie
6257ed8663
r300: fix compiz crash on swtcl - doesn't fix compiz though.
Compiz for some reason looks like ass, everything with textures
looks like it has a 2x width/height multiplier on the texture coords...
18 anni fa
Claudio Ciccani
a49570794a
Compute the amount of time to sleep on idle event using timers as reference.
18 anni fa
Claudio Ciccani
33da6cb133
Fixed initialization of render buffer and deinitialization of context.
18 anni fa
Dave Airlie
ad19038080
r300: oops wrong logic for swtcl
18 anni fa