Alan Hourihane
cce4d5cb70
Use the faster span read/write template for 16bpp
21 лет назад
Keith Whitwell
88440d2d75
Don't special-case 16bpp for colormask register - not needed.
21 лет назад
Keith Whitwell
8e5281fbe1
Simplify usage of drmHash functions and fix bug in
__driGarbageCollectDrawables which would get confused while walking
the hash values.
21 лет назад
Keith Whitwell
0aca086f7a
free buffer in t_vertex_c.c on context delete
21 лет назад
Keith Whitwell
8e46534b3b
Remove bogus write to freed memory (valgrind).
21 лет назад
Alan Hourihane
118b82145a
Check for deletion of currently bound context
Other minor cleanups
21 лет назад
Keith Whitwell
f9b89910d1
new test to exercise context and window create/delete
21 лет назад
Alan Hourihane
7ea2084513
Fixes lockups initializing AGP DMA.
21 лет назад
Keith Whitwell
4676a6ab7b
Expand out the N(x) macro so that tags can find functions like
drmHashFirst(), etc.
21 лет назад
Alan Hourihane
2937d403db
build fixes and enable agp dma
21 лет назад
Keith Whitwell
708e25142b
Add flag to clear texture caches after texture upload.
21 лет назад
Keith Whitwell
5ba7d85fea
Don't emit HC_SubA_HSPXYOS on CLE266.
21 лет назад
Keith Whitwell
09ac1d1125
Allow two GL primitives to be combined to one HW primitive
if possible.
21 лет назад
Alan Hourihane
26dcb88fb9
Fix multitexturing.
The multiarb test works now when disabling texunit0/1.
21 лет назад
Daniel Borca
a9531eb2c5
some "safer" type-punning (gcc optimizes float moves with integer moves, anyway).
21 лет назад
Brian Paul
d7b837ad4a
temporary prototypes for OpenGL 2.0
21 лет назад
Brian Paul
2a34e66d6a
OpenGL 2.0 StencilFunc/Op/MaskSeparate functions
21 лет назад
Brian Paul
a9e34c68ac
Some initial work for OpenGL 2.0: glStencilFunc/Op/MaskSeparate() functions.
21 лет назад
Ian Romanick
591b72b6a9
Added a couple missing proxy types.
21 лет назад
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.
21 лет назад
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").
21 лет назад
Alan Hourihane
5b28844dba
fix a typo
21 лет назад
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.
21 лет назад
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.
21 лет назад
Keith Whitwell
aac4d8857a
Temporarily disable pageflipping assert.
21 лет назад
Alan Hourihane
8e039bf40a
uncomment
21 лет назад
Alan Hourihane
f29aaf80a4
Fix ColorMask
21 лет назад
Brian Paul
cdb6541634
prototype _mesa_init_ati_fragment_shader()
21 лет назад
Michal Krol
43343913b9
aliasing was broken
21 лет назад
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.
21 лет назад
Alan Hourihane
51365b2d0d
fallback on polygon.stippleflag (thanks Keith)
21 лет назад
Brian Paul
0275d921ac
VMS updates from Jouk Jansen
21 лет назад
Daniel Borca
94dd520210
applied Keith's patch for "safe" type-punning.
made IS_NEGATIVE produce a boolean (useful when xoring with other booleans).
21 лет назад
Alan Hourihane
5358682aa7
Fix usage of texture units, when TEX1 is enabled, but not TEX0.
21 лет назад
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.
21 лет назад
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.
21 лет назад
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].
21 лет назад
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.
21 лет назад
Vladimir Dergachev
dd4837502c
Copy sample pixel and vertex shaders to r300_fixed_pipelines.h
21 лет назад
Brian Paul
14e98b7d7c
remove a debug line
21 лет назад
Brian Paul
ff53a4ee13
tweak output formattting, fixed uninitialized var error
21 лет назад
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.
21 лет назад
Alan Hourihane
9db66a3f9f
Fallback on PolygonStipple for CLE266 hardware.
Only upload stencil configuration when a stencil buffer exists.
21 лет назад
Brian Paul
eaf2b170ff
Windows/ReactOS patch (Gregor Anich)
21 лет назад
Keith Whitwell
574f3c7daf
More changes to cope with color stride == 0
21 лет назад
Keith Whitwell
a887a44b2d
Fix segfault in pipes by dealing with stride == 0 case in generic_interp_extras
21 лет назад
Vladimir Dergachev
8c231d2e28
Bring vertex buffer code up to date..
21 лет назад
Vladimir Dergachev
6867117b58
For some reason we need r300Flush when using textures. Perhaps the problem is
with BITBLT_MULTI call ?
21 лет назад
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.
21 лет назад
Vladimir Dergachev
8ad31013b2
Port EmitPixelShader from cmdbuf.c to SetupPixelShader in state.c.
21 лет назад