summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | st/xorg: create and destroy shader cacheZack Rusin2009-08-272-0/+8
| |
* | st/xorg: Set shared usage of pixmaps for use via DRI2.Michel Dänzer2009-08-273-13/+10
| | | | | | | | | | Also allow pixmaps to have both the shared and displayed usage flags, as is the case for the screen pixmap now.
* | st/dri: Make sure the front left renderbuffer is there for texture-from-pixmap.Michel Dänzer2009-08-271-0/+8
| |
* | st/xorg: Don't hardcode ExaPrepareCopy to fall back to software.Michel Dänzer2009-08-271-3/+0
| |
* | st/xorg: Flush context if necessary in ExaPrepareAccess.Michel Dänzer2009-08-271-0/+4
| |
* | st/dri: Only ask for fake front buffer for single buffer visuals by default.Michel Dänzer2009-08-271-1/+2
| |
* | st/xorg/dri: Pass texture formats via the DRI2 protocol flags.Michel Dänzer2009-08-272-11/+7
| | | | | | | | No need to guess.
* | r300: Cleanup reported native program limitsNicolai Hähnle2009-08-271-6/+3
| | | | | | | | | | | | | | | | The fragment program native limits are actually higher on R4xx as reported by Alex Deucher, but using those requires some bit-twiddling changes to program handling. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
* | r300: Debug messages are written to stderr, so fflush thatNicolai Hähnle2009-08-275-10/+10
| | | | | | | | Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
* | radeon/r200/r300: Fix swtcl prediction to work after primitie change.Pauli Nieminen2009-08-274-41/+86
| | | | | | | | | | Swtcl calls flush everytime primitive changes so prediction has to made again after flushing.
* | Merge branch 'mesa_7_5_branch'Brian Paul2009-08-272-0/+206
|\ \ | |/
| * gallium/util: added support for SRGB formatsBrian Paul2009-08-271-0/+196
| | | | | | | | Fixes glean/texture_srgb failure, bug #23449.
| * gallium/util: added cases for SRGB formatsBrian Paul2009-08-271-0/+10
| |
* | progs: EGL/X progs should link to libX11.Chia-I Wu2009-08-273-74/+29
| | | | | | | | | | | | | | | | Since 5a459d58fca2b71cb77c39f98df8a81ce6298421, libEGL no longer links to libX11. Add the dependency to affected progs and cleanup prog/egl/Makefile. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
* | mesa: move decls before codeVinson Lee2009-08-271-2/+4
| |
* | r300g: Correct scissor setting, subtract 1 from window's width and heightCooper Yuan2009-08-272-7/+7
| |
* | radeon: fix scissor calcs.Dave Airlie2009-08-271-15/+20
| | | | | | | | | | | | For non-FBOs we need to invert, for FBOs the scissors are non-inverted. no matter what we need to clamp them to the buffer sizes.
* | i965: Increase assmebly shader program parameter limitsIan Romanick2009-08-261-2/+2
| | | | | | | | | | Increase the number of native program parameters to the same values exposed by GLSL.
* | ARB prog: Change handling of program parameter limitsIan Romanick2009-08-264-28/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Several changes are made to program parameter limits. Several of the non-NATIVE limits are set higher. All of the NATIVE limits are set to zero in the core Mesa code. Each driver must set the actual value in its context creation routine. If the NATIVE value remains zero, this indicates that hardware shaders may not be supported. Each of the preceeding changes matches the bahavior of Apple's shader assembler, so it seems safe. Finally, we limit the value of MaxEnvParams to be no greater than MaxNativeAttribs. At least one case has been found where an application does the wrong thing if MaxNativeAttribs < MaxEnvParams. See also bugzilla #23490.
* | radeon: fix max indx/vertex emission due to state checkerDave Airlie2009-08-272-2/+4
| |
* | mesa: gitignoreYounes Manton2009-08-262-0/+2
| |
* | nv04: Handle more Z formats.Younes Manton2009-08-261-0/+4
| | | | | | | | Based on the patch from Luo Jinghua.
* | r300/compiler: Fix vertex program MAD emitNicolai Hähnle2009-08-271-6/+46
| | | | | | | | | | | | | | Only use the macro variant of MAD when absolutely necessary. Apparently it cannot deal with relative addressing. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
* | r300/compiler: Fix bug in rc_find_free_temporaryNicolai Hähnle2009-08-271-2/+8
| | | | | | | | | | | | | | Find used temporaries even if they are only written to in dead code. This fixes a bug in the NQSSADCE stage. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
* | egl: Remove Xdpy from EGLDisplay.Chia-I Wu2009-08-262-11/+0
| | | | | | | | | | | | It is not used anymore. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
* | egl_glx: Make fbconfigs and visuals per display.Chia-I Wu2009-08-261-114/+135
| | | | | | | | | | | | | | This is to allow a driver to drive multiple displays. Remove the use of _EGL_PLATFORM_X and obsolete code along the way. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
* | egl_softpipe: Make winsys and pipe screen per display.Chia-I Wu2009-08-262-27/+77
| | | | | | | | | | | | | | This is to allow a driver to drive multiple displays. Remove the use of _EGL_PLATFORM_X along the way. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
* | EGL_i915: Make struct drm_device per display.Chia-I Wu2009-08-264-43/+55
| | | | | | | | | | | | This is to allow a driver to drive multiple displays. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
* | Merge branch 'fix_r300_swtcl' into push_masterPauli Nieminen2009-08-276-26/+84
|\ \
| * | radeon: Fix loop en condition so debug output doesn't flood meaningless values.Pauli Nieminen2009-08-271-1/+1
| | |
| * | radeon: Make RADEON_CMDBUF more fine grained.Pauli Nieminen2009-08-271-2/+8
| | |
| * | radeon/r200/r300: Fix swtcl flushing not to invalidate dma region.Pauli Nieminen2009-08-275-23/+75
| | | | | | | | | | | | | | | We were check command buffer sizes too alte so allocated dma regions were freed before relocations so space checking failed.
* | | Merge branch 'mesa_7_5_branch'Brian Paul2009-08-262-4/+16
|\ \ \ | | |/ | |/|
| * | glsl: signal that the program needs to be re-translated when samplers changeBrian Paul2009-08-261-4/+15
| | |
| * | docs: document sampler array bug fixBrian Paul2009-08-261-0/+1
| | |
* | | i965: init the tex_units_used fieldBrian Paul2009-08-261-0/+1
| | |
* | | i965: fix incorrect tex unit in emit_tex() and emit_txb()Brian Paul2009-08-261-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | The instructions we're translating already went through the brw_wm_pass_fp() function which does the sampler->texture unit mapping. We were applying the sample->unit mapping a second time in the GLSL texture emitters. Often, this made no difference but other times it could lead to accessing an invalid texture and could cause a GPU lockup.
* | | i965: clean-up tex target switchesBrian Paul2009-08-261-2/+10
| | |
* | | glsl: asst. clean-ups in set_program_uniform()Brian Paul2009-08-261-14/+7
| |/ |/| | | | | | | Remove redunant type check for samplers (assert instead). Move some local vars. Update comments.
* | progs/glsl: asst. changes in shtest.cBrian Paul2009-08-261-3/+16
| |
* | i965: added texture unit sanity checkBrian Paul2009-08-261-0/+13
| | | | | | | | | | Check that all the textures needed by the current fragment program actually exist and are valid.
* | i965: keep track of which texture units the fragment shader accessesBrian Paul2009-08-262-3/+18
| | | | | | | | We'll use this for debug/sanity checking.
* | i965: clean up texture target switchesBrian Paul2009-08-261-2/+10
| |
* | mesa: var renaming, new assertionBrian Paul2009-08-261-4/+5
| |
* | mesa: additional instruction field size assertionsBrian Paul2009-08-261-0/+6
| |
* | Merge branch 'mesa_7_5_branch'Brian Paul2009-08-264-7/+24
|\ \ | |/
| * progs/glsl: add special Makefile rule for samplers_arrayBrian Paul2009-08-261-1/+3
| |
| * progs/glsl: change samplers.c to better test sampler/texture indexingBrian Paul2009-08-261-4/+12
| | | | | | | | | | Now the left half is yellow and the right half is red, with the gradients going in opposite directions.
| * glsl: fix bug in sampler array indexingBrian Paul2009-08-261-3/+7
| | | | | | | | | | | | | | | | | | Need to add the 'offset' parameter when indexing the parameter array. Before, if we were setting arrays of samplers, we were actually only setting the 0th sampler's value. Because of how progs/glsl/samplers.c is constructed, this wasn't showing up as a failure in the samplers_array output.
| * ARB prog: Set error instead of falling through with incorrect valueBrian Paul2009-08-241-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If a fragment program only parameter was queried of a vertex program (e.g., GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB) no error would be set and a random value would be returned. This caused 'glxinfo -l' to show the same values for GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB, GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB, GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB, GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB, GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB, GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB as for GL_MAX_PROGRAM_ENV_PARAMETERS_ARB. This is confusing and incorrect. (cherry picked from master, commit 4bccd693a72a0b42dffc849034263a68e779ca91)