summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
AgeCommit message (Collapse)Author
2008-06-14r300_fragprog: Refactoring and cleanupNicolai Haehnle
Refactor so that r300_pfs_compile_state "owns"/holds a pointer to r300_fragment_program instead of the other way round. This is more natural from an object orientation point of view. Move the compiled hardware state into r300_fragment_program_code, in anticipation of on-the-fly program recompilation based on external OpenGL state.
2008-06-14r300_fragprog: Remove dead codeNicolai Haehnle
2008-06-13r300/r500: Separate fragprog compiler structuresNicolai Haehnle
r500 code still used r300_pfs_compile_state, which contains some fields that really only make sense on r3xx type hardware. In order to allow both fragprog implementations to go forward without disturbing each other, I've pushed this structure down into the respective r[3|5]00_fragprog.c
2008-06-13r300: Fix depth texture GL_LUMINANCE vs. GL_INTENSITY mixupNicolai Haehnle
2008-06-13r300: Reenable t->filter_1 (though currently not used)Nicolai Haehnle
2008-06-13dri/swrast: make unbind a noopGeorge Sapountzis
This is for loading swrast_dri.so from libGL. MakeContextCurrent() seems to unbind the context right after binding it and DRI drivers also have a noop DriverAPI.UnbindContext ...
2008-06-13dri/swrast: add OpenGL 2.1 functionsGeorge Sapountzis
2008-06-11remove obsoleted doxygen \param commentsBrian Paul
Someone changed the function parameters but didn't bother to update the comments. Also, whitespace changes, clean-ups.
2008-06-11commentsBrian Paul
2008-06-10i965: apply commit 6c1a98e97affb2163e776551eb3a9e669ff99bbf to glslXiang, Haihao
2008-06-09fix Xlib libGL.so build problem.Brian Paul
Also, build driverfuncs.c into libmesa.a since it's always needed.
2008-06-09Makefile clean-upsBrian Paul
2008-06-09Makefile clean-upsBrian Paul
2008-06-09Check for NULL pointerAlan Hourihane
2008-06-09dri/swrast: minor cosmeticGeorge Sapountzis
2008-06-08r300: Workaround hardware readcache problemNicolai Haehnle
This workaround is similar to the one found in r200_span.c. It seems like some part of the read hardware doesn't realize that VRAM has changed. By reading from an arbitrary position, this is fixed. The piglit test bugs/r300-readcache is a regression test for this bug.
2008-06-08remove realglx.[ch] from buildBrian
2008-06-08i965: fix OPCODE_TEX when additional ops are neededRoland Scheidegger
2008-06-07r300: Allow driconf to set a default anisotropy.Corbin Simpson
If an app does not use GL_EXT_tex_filter_aniso, this lets driconf set it instead.
2008-06-07r300: Some cleanups in depth and stencil state handlingNicolai Haehnle
This also fixes a bug with Zfunc set to GL_NEVER in glean/paths.
2008-06-07r300: Apply writemask when clearing stencil bufferNicolai Haehnle
This fixes the glean/maskedClear test.
2008-06-07r300: Fix stencil buffer clearNicolai Haehnle
The glean/readPixSanity test passes now.
2008-06-07r300: Further anisotropic filtering fixesNicolai Haehnle
Thanks to Corbin for the initial cut today. Fixed some minor stuff (in particular, make sure we still use a MIP_LINEAR filtering mode; anisotropy without MIP_LINEAR filtering is not the truly pleasing anisotropy).
2008-06-07r300: Update LOD_BIAS register constantsNicolai Haehnle
2008-06-07r5xx: Unbreak anisotropic filtering?Corbin Simpson
Not quite finished, maybe? Not sure.
2008-06-06r5xx: Fix speedy LIT once and for all.Corbin Simpson
To do: Add a slightly more accurate LIT. Will do later.
2008-06-06r300: Improve texture layout calculationsNicolai Haehnle
The texture layout calculations for mipmapped cubemaps used to be completely wrong, since the GPU expects images to be grouped by miplevel instead of by face number. This has been fixed now, though the memory layout is still slightly incorrect for the smaller miplevels. Unfortunately, the docs are lacking in that area.
2008-06-06r300: Cleanup TX_MIN_FILTER definesNicolai Haehnle
This commit should not affect the functionality at all, just cleanup some of the original texture filter guesswork using information from the register documentation.
2008-06-06r300: Remove unused variable r300_tex_obj::dirty_state and related definesNicolai Haehnle
This variable was only ever written to, but nobody used its value.
2008-06-06move a beos-ism down into drivers/beos/MakefileBrian Paul
2008-06-06new drivers/Makefile with simple default/clean/install rulesBrian Paul
2008-06-06move directfb-libgl into drivers/directfb/MakefileBrian Paul
2008-06-05Move fbdev driver construction into src/mesa/drivers/fbdev/MakefileBrian Paul
2008-06-05added dependenciesBrian Paul
2008-06-05new Makefile for building "stand-alone", Xlib-based libGLBrian Paul
2008-06-05prefix some includes with mesa/ or glapi/Brian Paul
2008-06-05Move construction of libOSMesa.so into src/mesa/drivers/osmesa/MakefileBrian Paul
This removes some cruft from src/mesa/Makefile. Something similar could be done for stand-alone / Xlib-Mesa libGL...
2008-06-05insert mesa/ before include filesBrian Paul
2008-06-04i915: Fix GL_DEPTH_TEXTURE_MODE issue. (bug #16221)Xiang, Haihao
2008-06-04mesa/drm/ttm: allow build against non-TTM aware libdrmDave Airlie
I'll release a libdrm 2.3.1 without TTM apis included from a special drm branch that should allow mesa 7.1 to build against it. I've had to turn off DRI2 stuff.
2008-06-02bug #16503: use INSTALL macro instead of hard-coding to bin/minstallIan Romanick
This is only part of the fix. Someone with more autoconf-fu will have to fix the rest
2008-06-02r500: add missing brackets around depth testingDave Airlie
2008-06-01r5xx: Enable depth write emission.Corbin Simpson
Thanks to nh for the r3xx version.
2008-06-01r300: Writing to result.depth in fragment programs (R3xx; only stub for R5xx)Nicolai Haehnle
Setup fg_depth_src for depth writing programs and change early Z (ztop) semantics. Piglit's version of glean/fragprog test passes now (unlike Glean, its dependency on EXT_fog_coord, which we don't support, is optional). R3xx only at the moment, but should be straightforward to adapt to R5xx (I don't own an R5xx, and I don't want to break anything.)
2008-06-01[r300] Fix KIL instruction and swizzling of texture coordinatesNicolai Haehnle
The KIL instruction only works if at least one texture unit is enabled in hardware. Texture instructions do not support swizzles, negations etc. natively, so we now emit an explicit swizzling etc. operation when the texture coordinate requires it. This fixes the Piglit fp-kil test.
2008-06-01r5xx: Add OPCODE_FLR.Corbin Simpson
Why didn't anybody tell me we were missing this one? I thought I committed it ages ago!
2008-05-31r5xx: Last emit_sop() for now.Corbin Simpson
This should also clean up LIT later on.
2008-05-31r5xx: More emit_sop(), stage 2.Corbin Simpson
SIN/COS.
2008-05-31r5xx: Cleanup SOP with emit_sop().Corbin Simpson
I wish I had a snarky commit message, but I'll save that for after I get the trig working with this.
2008-05-31r5xx: Dump shader constants when dumping program assembly.Corbin Simpson