summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* r300_fragprog: Refactoring and cleanupNicolai Haehnle2008-06-144-399/+417
| | | | | | | | | | 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.
* r300_fragprog: Remove dead codeNicolai Haehnle2008-06-141-10/+0
|
* r300/r500: Separate fragprog compiler structuresNicolai Haehnle2008-06-133-97/+176
| | | | | | | 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
* r300: Fix depth texture GL_LUMINANCE vs. GL_INTENSITY mixupNicolai Haehnle2008-06-131-3/+3
|
* r300: Reenable t->filter_1 (though currently not used)Nicolai Haehnle2008-06-131-2/+1
|
* dri/swrast: make unbind a noopGeorge Sapountzis2008-06-131-1/+0
| | | | | | | 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 ...
* dri/swrast: add OpenGL 2.1 functionsGeorge Sapountzis2008-06-131-1/+3
|
* silly bug: it's PROGRAM_VARYINGZack Rusin2008-06-121-1/+1
|
* glsl: make sure we replace all output reads with temporariesZack Rusin2008-06-123-7/+10
| | | | test in if.glsl
* glsl: allow uniformsZack Rusin2008-06-121-1/+2
|
* glsl: fix array size initialiazers using const variablesZack Rusin2008-06-121-2/+26
| | | | | | e.g. const int kernelSize = 9; uniform vec2 kernel[kernelSize];
* almost forgot - RelAddr is a boolean so use it hereZack Rusin2008-06-121-1/+1
|
* shaders: fix allocation of arrays of parametersZack Rusin2008-06-121-1/+23
|
* glsl: implement variable array indexesZack Rusin2008-06-124-12/+24
|
* remove obsoleted doxygen \param commentsBrian Paul2008-06-111-23/+18
| | | | | | | Someone changed the function parameters but didn't bother to update the comments. Also, whitespace changes, clean-ups.
* commentsBrian Paul2008-06-111-1/+10
|
* remove unnecessary swrast, tnl includesBrian Paul2008-06-101-3/+0
|
* add some missing rule dependenciesBrian Paul2008-06-101-3/+3
|
* i965: apply commit 6c1a98e97affb2163e776551eb3a9e669ff99bbf to glslXiang, Haihao2008-06-101-1/+1
|
* fix Xlib libGL.so build problem.Brian Paul2008-06-093-2/+2
| | | | Also, build driverfuncs.c into libmesa.a since it's always needed.
* s/SOLO/MESA/Brian Paul2008-06-091-2/+2
|
* Makefile clean-upsBrian Paul2008-06-091-2/+2
|
* more old stuff, rename SOLO->MESA, etcBrian Paul2008-06-091-25/+8
|
* Makefile clean-upsBrian Paul2008-06-091-1/+1
|
* Check for NULL pointerAlan Hourihane2008-06-091-0/+2
|
* dri/swrast: minor cosmeticGeorge Sapountzis2008-06-091-50/+52
|
* r300: Workaround hardware readcache problemNicolai Haehnle2008-06-081-0/+24
| | | | | | | | 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.
* remove realglx.[ch] from buildBrian2008-06-081-2/+0
|
* i965: fix OPCODE_TEX when additional ops are neededRoland Scheidegger2008-06-081-2/+7
|
* r300: Allow driconf to set a default anisotropy.Corbin Simpson2008-06-071-2/+4
| | | | If an app does not use GL_EXT_tex_filter_aniso, this lets driconf set it instead.
* r300: Some cleanups in depth and stencil state handlingNicolai Haehnle2008-06-073-33/+8
| | | | This also fixes a bug with Zfunc set to GL_NEVER in glean/paths.
* r300: Apply writemask when clearing stencil bufferNicolai Haehnle2008-06-071-1/+2
| | | | This fixes the glean/maskedClear test.
* r300: Fix stencil buffer clearNicolai Haehnle2008-06-071-13/+2
| | | | The glean/readPixSanity test passes now.
* r300: Further anisotropic filtering fixesNicolai Haehnle2008-06-072-33/+26
| | | | | | 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).
* r300: Update LOD_BIAS register constantsNicolai Haehnle2008-06-071-1/+2
|
* r5xx: Unbreak anisotropic filtering?Corbin Simpson2008-06-072-6/+16
| | | | Not quite finished, maybe? Not sure.
* r5xx: Fix speedy LIT once and for all.Corbin Simpson2008-06-061-61/+52
| | | | To do: Add a slightly more accurate LIT. Will do later.
* r300: Improve texture layout calculationsNicolai Haehnle2008-06-062-110/+120
| | | | | | | | | 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.
* r300: Cleanup TX_MIN_FILTER definesNicolai Haehnle2008-06-063-63/+39
| | | | | | This commit should not affect the functionality at all, just cleanup some of the original texture filter guesswork using information from the register documentation.
* r300: Remove unused variable r300_tex_obj::dirty_state and related definesNicolai Haehnle2008-06-065-31/+1
| | | | This variable was only ever written to, but nobody used its value.
* s/subdirs/asm_subdirs/Brian Paul2008-06-061-3/+3
|
* move the install rulesBrian Paul2008-06-061-20/+20
|
* remove stray semicolonBrian Paul2008-06-061-1/+1
|
* move a beos-ism down into drivers/beos/MakefileBrian Paul2008-06-062-3/+2
|
* Remove the old, complicated default build rule; use the new driver_subdirs ruleBrian Paul2008-06-061-66/+13
| | | | Also, all the old driver-specific rules are now gone.
* remove more old stuff, insert new driver_subdir build rules (but not enabled ↵Brian Paul2008-06-061-18/+32
| | | | yet)
* new drivers/Makefile with simple default/clean/install rulesBrian Paul2008-06-061-0/+29
|
* move directfb-libgl into drivers/directfb/MakefileBrian Paul2008-06-062-7/+14
|
* Move fbdev driver construction into src/mesa/drivers/fbdev/MakefileBrian Paul2008-06-052-12/+43
|
* reorder some lines, more make clean cmdsBrian Paul2008-06-051-15/+16
|