Keith Whitwell
8e5281fbe1
Simplify usage of drmHash functions and fix bug in
__driGarbageCollectDrawables which would get confused while walking
the hash values.
20 år sedan
Keith Whitwell
0aca086f7a
free buffer in t_vertex_c.c on context delete
20 år sedan
Keith Whitwell
8e46534b3b
Remove bogus write to freed memory (valgrind).
20 år sedan
Alan Hourihane
118b82145a
Check for deletion of currently bound context
Other minor cleanups
20 år sedan
Keith Whitwell
f9b89910d1
new test to exercise context and window create/delete
20 år sedan
Alan Hourihane
7ea2084513
Fixes lockups initializing AGP DMA.
20 år sedan
Keith Whitwell
4676a6ab7b
Expand out the N(x) macro so that tags can find functions like
drmHashFirst(), etc.
20 år sedan
Alan Hourihane
2937d403db
build fixes and enable agp dma
20 år sedan
Keith Whitwell
708e25142b
Add flag to clear texture caches after texture upload.
20 år sedan
Keith Whitwell
5ba7d85fea
Don't emit HC_SubA_HSPXYOS on CLE266.
20 år sedan
Keith Whitwell
09ac1d1125
Allow two GL primitives to be combined to one HW primitive
if possible.
20 år sedan
Alan Hourihane
26dcb88fb9
Fix multitexturing.
The multiarb test works now when disabling texunit0/1.
20 år sedan
Daniel Borca
a9531eb2c5
some "safer" type-punning (gcc optimizes float moves with integer moves, anyway).
20 år sedan
Brian Paul
d7b837ad4a
temporary prototypes for OpenGL 2.0
20 år sedan
Brian Paul
2a34e66d6a
OpenGL 2.0 StencilFunc/Op/MaskSeparate functions
20 år sedan
Brian Paul
a9e34c68ac
Some initial work for OpenGL 2.0: glStencilFunc/Op/MaskSeparate() functions.
20 år sedan
Ian Romanick
591b72b6a9
Added a couple missing proxy types.
20 år sedan
Aapo Tahkola
ff04e50e2e
Mipmapping and other texture filters now work.
Beaware that R300_TX_MIN_FILTER_MASK might be incorrect because i havent
been able to confirm that all filters operate correctly. Because of this its
also pretty pointless trying to get other features that use filter field to
work.
Lod bias should also work but have been unable to test it because lodbias
test doesnt work.
20 år sedan
Ian Romanick
d24e49f301
Put quotes around the CC and CXX variables passed to mklib. This make
them work with multi-work compiler names (e.g., "ccache gcc").
20 år sedan
Alan Hourihane
5b28844dba
fix a typo
20 år sedan
Keith Whitwell
3bd6e3d532
Disable bogus pbuffer code (though this could be revived with a little
attention).
Correctly advertise FBConfigs with GL_BGRA rather than GL_BGR.
20 år sedan
Alan Hourihane
5b5e6cc120
Fix the calculation of the alpha reference value which negates the
need for the big nasty fallback - so I've commented out that code.
20 år sedan
Keith Whitwell
aac4d8857a
Temporarily disable pageflipping assert.
20 år sedan
Alan Hourihane
8e039bf40a
uncomment
20 år sedan
Alan Hourihane
f29aaf80a4
Fix ColorMask
20 år sedan
Brian Paul
cdb6541634
prototype _mesa_init_ati_fragment_shader()
20 år sedan
Michal Krol
43343913b9
aliasing was broken
20 år sedan
Keith Whitwell
b13eaf2698
Add a big nasty fallback for AlphaTest -- seems to always be wrong
on CLE266 because Z values are written even for fragments which
fail the test.
20 år sedan
Alan Hourihane
51365b2d0d
fallback on polygon.stippleflag (thanks Keith)
20 år sedan
Brian Paul
0275d921ac
VMS updates from Jouk Jansen
20 år sedan
Daniel Borca
94dd520210
applied Keith's patch for "safe" type-punning.
made IS_NEGATIVE produce a boolean (useful when xoring with other booleans).
20 år sedan
Alan Hourihane
5358682aa7
Fix usage of texture units, when TEX1 is enabled, but not TEX0.
20 år sedan
Vladimir Dergachev
0cb0a36d8c
Get NeHe lesson08 to work. Note: it appears the filtering does not work properly. Need to find place where it is broken and put an fprintf() complaining about it.
20 år sedan
Vladimir Dergachev
d5432ac584
Switch back to using immediate mode code - use of AGP space is interfering with texture management.
Ideally, r300_render is ready to be rewritten to use standard Mesa include files, but I don't think I'll get around to it.
20 år sedan
Vladimir Dergachev
864137984a
Move the few definitions from r300_lib.h still in use to r300_emit.h.
Rework *vb* function to not use AOS_ARRAY structure, but rather work directly with r300->state.aos.
Remove references to r300_lib.h and r300_lib.c
Remove r300_lib.[c,h].
20 år sedan
Vladimir Dergachev
086ca3dffb
Switch r300_state.c to use r300_fixed_pipelines.h instead of r300_lib.h.
This fixes potentially buggy memcpy()'s between potentially different structures.
20 år sedan
Vladimir Dergachev
dd4837502c
Copy sample pixel and vertex shaders to r300_fixed_pipelines.h
20 år sedan
Brian Paul
14e98b7d7c
remove a debug line
20 år sedan
Brian Paul
ff53a4ee13
tweak output formattting, fixed uninitialized var error
20 år sedan
Felix Kuehling
86f1439f82
Fixes to cope with the lack of AGP textures. This is all that's needed
to support PCI Savages on the Mesa side. Bumped driver date.
20 år sedan
Alan Hourihane
9db66a3f9f
Fallback on PolygonStipple for CLE266 hardware.
Only upload stencil configuration when a stencil buffer exists.
20 år sedan
Brian Paul
eaf2b170ff
Windows/ReactOS patch (Gregor Anich)
20 år sedan
Keith Whitwell
574f3c7daf
More changes to cope with color stride == 0
20 år sedan
Keith Whitwell
a887a44b2d
Fix segfault in pipes by dealing with stride == 0 case in generic_interp_extras
20 år sedan
Vladimir Dergachev
8c231d2e28
Bring vertex buffer code up to date..
20 år sedan
Vladimir Dergachev
6867117b58
For some reason we need r300Flush when using textures. Perhaps the problem is
with BITBLT_MULTI call ?
20 år sedan
Vladimir Dergachev
5f61c6f21f
Clean up the code and make it unnecessary to issue extra calls to Setup*Shaders
in the r300_run_immediate_render function.
Bumps up glxgears fps count by about 100 points.
20 år sedan
Vladimir Dergachev
8ad31013b2
Port EmitPixelShader from cmdbuf.c to SetupPixelShader in state.c.
20 år sedan
Vladimir Dergachev
e9acd0ca5f
Implement a more elaborate hashing scheme for texture formats. Still not perfect.
Transform EmitVertexShader in cmdbuf.c to SetupVertexShader in state.c.
The latter is only temporary and is to be rewritten to auto-generate shaders based on current GL context.
20 år sedan
Brian Paul
527af7571e
minor readtex fixes
20 år sedan