summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_state.c
AgeCommit message (Collapse)Author
2005-01-28Add basic sceleton for vertex programs + some other fixesAapo Tahkola
2005-01-25Fixes for clamp modes.Aapo Tahkola
2005-01-24border_color causes lockups with vertex buffers. Disabling for now.Aapo Tahkola
2005-01-24Remove lots of old code that dealed with "magic" texture formats.Vladimir Dergachev
2005-01-23Fix more warnings and compilation issues.Nicolai Haehnle
2005-01-22Properly configure routing - based on advice by Keith Whitwell.Vladimir Dergachev
2005-01-21Properly input stencil info contributed by Wladimir.Vladimir Dergachev
2005-01-16This fixes it but why mipmaps still work?Aapo Tahkola
It doesnt look like filter constants in r300_reg.h would define number of levels.
2005-01-16I was wrong...Aapo Tahkola
2005-01-16Looks like masking masking t->filter isnt needed anymore.Aapo Tahkola
texwrap still shows some problems with clamp mode with nearest filtering.
2005-01-15On the way to getting stencil working.Vladimir Dergachev
2005-01-15On the way to getting stencil and texture formats working.Vladimir Dergachev
Looks like the matter of texture formats is a lot simpler, with the wrong display in quake explained by the fact that we are not handling texture combine modes.
2005-01-14Added fixes for filter modes and support for anisotropy filters.Aapo Tahkola
Wrap modes would work perfectly but i messed up something when cleaning up the code :/ Border color code is incomplete because i forgot to check how to set border size :)
2005-01-14Remove redundant register.Vladimir Dergachev
Hook up some functions in r300Enable().
2005-01-14Reduce amount of stderr output.Vladimir Dergachev
Switch to using R300_EASY_TX_FORMAT() macro everywhere.
2005-01-14Incorporate latest data from Wladimir van der Laan.Vladimir Dergachev
2005-01-13Incorporate TX_FORMAT information contributed by Wladimir van der Laan.Vladimir Dergachev
Attempt to use it in r300_state.c We are still missing something and the formats do not quite work. Perhaps something in texture management code ?
2005-01-11Mipmapping and other texture filters now work.Aapo Tahkola
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.
2005-01-11Get NeHe lesson08 to work. Note: it appears the filtering does not work ↵Vladimir Dergachev
properly. Need to find place where it is broken and put an fprintf() complaining about it.
2005-01-11Switch back to using immediate mode code - use of AGP space is interfering ↵Vladimir Dergachev
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.
2005-01-11Move the few definitions from r300_lib.h still in use to r300_emit.h.Vladimir Dergachev
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].
2005-01-11Switch r300_state.c to use r300_fixed_pipelines.h instead of r300_lib.h.Vladimir Dergachev
This fixes potentially buggy memcpy()'s between potentially different structures.
2005-01-10Clean up the code and make it unnecessary to issue extra calls to Setup*ShadersVladimir Dergachev
in the r300_run_immediate_render function. Bumps up glxgears fps count by about 100 points.
2005-01-09Port EmitPixelShader from cmdbuf.c to SetupPixelShader in state.c.Vladimir Dergachev
2005-01-09Implement a more elaborate hashing scheme for texture formats. Still not ↵Vladimir Dergachev
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.
2005-01-06Turns out the kfountain.kss (as well as lesson19) had a bug - the size was ↵Vladimir Dergachev
set wrong. Fixed.
2005-01-06Add texture format to get lesson19 working again.Vladimir Dergachev
2005-01-06Switch to a more complicated scheme of choosing texture formats, as it looksVladimir Dergachev
like the old one was prone to collisions (different value of format field was required for same values of t->format going in). Now use a hash for these purposes - this got kfiresaver.kss and lesson06 workingfrom the same code.
2005-01-05Reduce the amount of debug output, while still printing important messages.Vladimir Dergachev
Make guessing texture formats easier.
2005-01-05Play a little bit with texture formats.Vladimir Dergachev
Get NeHe demos 06, 07 and 19 working.
2005-01-04Port code from r200 that implements color blending. Seems to work.Vladimir Dergachev
This can be tested with lesson19 from NeHe. This has also shown that the alpha code does not work - we pick up a red tint for transparent pixels somewhere.
2005-01-04Major code restructuring:Vladimir Dergachev
* move proven code into the r300_state.c * update ClearBuffer to cope with more dynamic state * cleanup !
2005-01-03Add structs describing vertex and pixel shader state to r300_state.Vladimir Dergachev
Take apart program_pipeline() and move it into appropriate pieces within the driver. Test the framework on run_flat_render()
2005-01-02Add texture units registersVladimir Dergachev
2004-12-31Qualify the magic 20B0 register as SE_VTE_CNTL similar to R200. Looks like ↵Vladimir Dergachev
disabling Z offset and scaling displays gears properly, not sure why. Perhaps the meaning of the bits has changed ? Cleanup code a bit.
2004-12-30Change default RS settings so that glxgears will display something..Vladimir Dergachev
2004-12-30Clarify some of the unkXXXX atoms.Vladimir Dergachev
2004-12-30Port viewport setting code from R200.Vladimir Dergachev
Take it outside R300ResetHwState.
2004-12-19Fix cut and paste error (reported by Jerome Glisse)Vladimir Dergachev
2004-11-02No visible changes, but commit the groundwork for further experiments:Nicolai Haehnle
- Install custom (though inactive) pipeline - Track depth test and culling state in hardware registers
2004-10-24Implement ColorMaskNicolai Haehnle
2004-10-24Hardware accelerated depth clearNicolai Haehnle
2004-10-17- FIX: flickeringNicolai Haehnle
- Scissor support works now
2004-10-15Huge dumb drop. State:Nicolai Haehnle
- Color buffer clear is accelerated, but flickers (possibly caused by a recent DDX or Mesa change or bad merge) - Everything else uses software fallback rendering - There should be no clipping-related artifacts with the sw-clipspan-fixes.patch against Mesa (posted on dri-devel) - Multiple clients should be rock solid with a DDX patch that is soon to come (soon = within the next hour or so)
2004-09-28Initial revisionNicolai Haehnle