Dave Airlie
0f7f6e4e95
clean up cache flush emission into one place
makes gears work with swtcl
18 years ago
Dave Airlie
41d28d97f5
clean up color0 code
18 years ago
Dave Airlie
36235e5ff1
add a mem use for current dma buffer
18 years ago
Dave Airlie
faab84cfa6
fix unfilled tris/quads
18 years ago
Dave Airlie
d3ef71166d
ensure cmd buffer space
18 years ago
Dave Airlie
d1be4ab80f
fix up vertex emission before state change
18 years ago
Dave Airlie
025efae411
fix secondary color, fog is off for now
18 years ago
Dave Airlie
6d8a4312ed
fix projtex
18 years ago
Dave Airlie
ad8abf7147
fix quad-clip
18 years ago
Dave Airlie
08fb0bad72
bring over vertex engine setup code from r300_Render and fix up
now have gears going.. + a few other trivial textured demoes
18 years ago
Dave Airlie
d7777f4598
fixup some bits of tcl path
18 years ago
Dave Airlie
2a6082b531
swtcl: gears works
18 years ago
Dave Airlie
4a841b969a
more commits to fix things and stuff - still not doing anything except crashin
18 years ago
Dave Airlie
492bc67df1
swtcl add debug and fix offset
18 years ago
Dave Airlie
780ae9f17d
cleaned up reduced prim
18 years ago
Dave Airlie
3b8cf84aa5
fixup packet setup - still hangs
18 years ago
Dave Airlie
aaf76906e8
add missing swtcl file
18 years ago
Dave Airlie
d42888dac3
add more swtcl code to r300 - hangs card now
18 years ago
Dave Airlie
bc81885bb2
Initial r300 modes for swtcl it compiles!!
18 years ago
Dave Airlie
40cc47f8ee
move clip to r300 emit
18 years ago
Brian
edf07417be
Fix TEXREL issues when using GLX_USE_TLS (see bug 7459).
18 years ago
Brian
c1ba308e64
fix GLX_USE_TLS breakage, fix a warning
18 years ago
Brian
0fbc4c51a0
Rework _mesa_update_texture_compare_function() to only be called during
state validation/update.
Note that we're still temporarily skipping the test for an active fragment
program. Need to fix shadow2D() ...
18 years ago
Brian
495e2c8327
rename/clean-up _mesa_validate_texture_wrap_mode
18 years ago
Brian
84e051b6a0
fix typo, added comment
18 years ago
Brian
227315278d
Replace texobj->Complete with texobj->_Complete since it's a derived field.
18 years ago
Brian
a28977a4c7
typo: s/derrived/derived/
18 years ago
Brian
0186f1bc83
Temporarily disable the calls to _mesa_update_texture_compare_function().
This fixes the depth-peel regression reported by Brad King.
18 years ago
Brian
cf239ced0d
In generic_nop() call _mesa_warning() instead of _mesa_problem() since it's an app issue, not a mesa bug.
18 years ago
Brian
c56588407c
remove dead code
18 years ago
Dave Airlie
b96dbd2a3e
r300: i can't see why we fallback for polygon offset line/fill
18 years ago
Brian
86eecc701e
In supported_buffer_bitmask(), use framebuffer's visual, not context's visual
18 years ago
Brian
ee170f2955
disable depthBits test in check_compatible(), see bug 11161
18 years ago
Brian
39d221ef14
fix glReadPixels parameters to handle odd-width windows correctly
18 years ago
Brian
5e9cff0b97
disable shader program before glDrawPixels
18 years ago
Brian
009ddb4e50
remove obsolete comment about max DEFAULT_SOFTWARE_DEPTH_BITS
18 years ago
Ian Romanick
7b559a9102
Add support for GL_ARB_fragment_program_shadow.
18 years ago
Ian Romanick
84d1b24647
Fix ARB_fp spec conformance bug WRT shadow sampling.
The ARB_fp (and other assembly-level fragment program specs) say that the
depth comparison function is always GL_NONE in fragment program mode.
18 years ago
Ian Romanick
359c6eada7
Add support for shadow mapping with vertex and fragment programs
18 years ago
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 years ago
Ian Romanick
f575d4fa7f
Remove '#if defined' tests for ARB extensions.
18 years ago
Oliver McFadden
871f57365e
r300: Added a comment regarding the R300_VAP_CLIP registers.
18 years ago
Oliver McFadden
65b45d6d58
r300: Removed a "don't think this is needed" comment, it actually is needed.
According to the comment you do not need to setup INPUT_CNTL when using vertex
buffers. However, not doing so results in a lockup.
18 years ago
Oliver McFadden
9c50d84775
r300: Explain the R300_VAP_OUTPUT_VTX_FMT_1 register.
18 years ago
Oliver McFadden
10d5dd685c
r300: Cleaned up long lines in r300Choose8888TexFormat.
18 years ago
Wang Zhenyu
8331d9d7aa
Add PCI IDs for the G33, Q33, and Q35 chipsets.
18 years ago
Michel Dänzer
08a2cc2d23
i915tex: Better attempt to release miptree when overriding texture image.
The previous approach could lead to crashes in FBO code that dereferences the
miptree struct pointer unconditionally.
18 years ago
Michel Dänzer
89f070b3bb
Remove dubious compile-time test for pre-2.4 Linux kernels.
LINUX_VERSION_CODE shouldn't be used by userspace code, it can be defined empty
these days.
If anybody still cares about 2.2 kernels, they should reinstate this as a
proper runtime test.
18 years ago
Ian Romanick
69358e73ce
Updates for array texture shadow targets.
18 years ago
Dave Airlie
0b11203038
miniglx: implement GetProcAddressARB in miniglx as an alias for GPA
18 years ago