summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* r200: Addd missing parameter to debug output.Pauli Nieminen2009-08-251-1/+1
|
* r200: Fix commit size prediction.Pauli Nieminen2009-08-251-1/+4
| | | | Scissor are emited for every primitive so fix that in prediction.
* xorg: insert shaders into the cacheZack Rusin2009-08-251-0/+49
|
* exa: add basic code to cache vertex and fragment shadersZack Rusin2009-08-252-40/+84
|
* exa: check whether the op is acceleratedZack Rusin2009-08-252-21/+57
|
* radeon: Fix all compiler warnings.Pauli Nieminen2009-08-2513-43/+31
|
* mesa: remove -I$(TOP)/src/gallium/drivers from sources.makBrian Paul2009-08-251-1/+0
| | | | Core Mesa and the state tracker do not depend on any gallium drivers.
* Revert "glapi: Fix a possible race in getting current context/dispatch."Brian Paul2009-08-253-41/+41
| | | | | | | This reverts commit 17090cf3efb0db8fa01b502a9c0df27cbd1a67da. We're reverting this because it causes ABI breakage with the X server. Maybe re-attempt with another patch.
* xorg: revert bad mergeZack Rusin2009-08-251-0/+15
|
* Add support for building the Xorg state tracker with scons.Michel Dänzer2009-08-253-1/+28
| | | | scons ... statetrackers=xorg
* Revert "glx: Make drawables persistent untill they are changed by ↵Pauli Nieminen2009-08-251-80/+41
| | | | | | | | | glXMakeCurrent" This commit was not mean to end in to master yet. It is still queston if this right design to fix the problem. This reverts commit 45e3be3c07f543f3f2869ba7750ba4695cd25122.
* Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into ↵Pauli Nieminen2009-08-2541-1102/+1508
|\ | | | | | | r600_state_predict
| * r300: fix condition logicMaciej Cencora2009-08-251-1/+1
| | | | | | | | The s3tc extensions are properly enabled now, when force_s3tc_enable option is set in driconf.
| * r300: set proper CS section sizeMaciej Cencora2009-08-251-1/+1
| |
| * xorg: fix compilationZack Rusin2009-08-241-1/+2
| |
| * xorg: start on code accelerating renderZack Rusin2009-08-246-51/+255
| |
| * r300: add support for getting Z pipe info from drmAlex Deucher2009-08-245-16/+36
| | | | | | | | | | | | Needed for occulsion queries on rv530 chips Signed-off-by: Alex Deucher <[email protected]>
| * r600: code cleanupAlex Deucher2009-08-245-108/+74
| |
| * radeon: fix fbo size calculation to after pitchDave Airlie2009-08-251-1/+2
| |
| * Merge branch 'master' of ssh://[email protected]/git/mesa/mesaZack Rusin2009-08-2423-923/+1137
| |\
| | * ARB prog: Set error instead of falling through with incorrect valueIan Romanick2009-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.
| | * mesa: add new program parser sources to tarballBrian Paul2009-08-241-1/+2
| | | | | | | | | | | | | | | The end user doesn't need the .y or .l or Makefile but include them anyway in case someone wants to patch or debug things.
| | * docs: recent 7.5.1 bug fixesBrian Paul2009-08-241-0/+2
| | |
| | * xlib: fix single buffer window resize bugBrian Paul2009-08-241-0/+1
| | | | | | | | | | | | | | | | | | When a single-buffered window was resized the new window size was never detected. This fix that, but there's still a bug which causes window contents corruption for certain window sizes...
| | * vbo: fix divide by zero exceptionBrian Paul2009-08-241-1/+1
| | | | | | | | | | | | Fixes bug 23489.
| | * glsl: Silence gcc uninitialized variable warning.Vinson Lee2009-08-241-1/+1
| | |
| | * st/mesa: flush bitmap cache if Z value changesBrian Paul2009-08-241-5/+11
| | | | | | | | | | | | | | | | | | | | | When adding a new bitmap to the cache we have to check if the Z value is changing and flush first if it is. This is a modified version of a patch from Justin Dou <[email protected]>
| | * ARB prog parser: Regenerate parser from previous commitIan Romanick2009-08-241-6/+6
| | |
| | * ARB prog parser: use correct context limitsBrian Paul2009-08-241-6/+6
| | |
| | * r600: fix state emit sizesAlex Deucher2009-08-243-14/+75
| | |
| | * egl_xdri: Revive the driver.Chia-I Wu2009-08-246-832/+953
| | | | | | | | | | | | | | | | | | | | | | | | | | | egl_xdri does not compile for some time. This commit revives the driver. It no longer depends on libGL.so for GLX related functions. Instead, it uses code from src/glx/ directly. Both DRI and DRI2 are supported. Signed-off-by: Chia-I Wu <[email protected]>
| | * glapi: Fix a possible race in getting current context/dispatch.Chia-I Wu2009-08-243-41/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a possbile race that _glapi_Context is reset by another thread after it is tested in GET_CURRENT_CONTEXT but before it is returned. We definitely do not want a lock here to solve the race. To have correct results even under a race, no other threads should reset _glapi_Context (or _glapi_Dispatch). This patch adds a new global variable _glapi_SingleThreaded. Since _glapi_Context or _glapi_Dispatch are no longer reset, _glapi_SingleThreaded is tested instead, before accessing them. DRI drivers compiled with this patch applied will not work with existing libGL.so because of the missing new symbol. If this turns out to be a real problem, this patch should be reverted. Signed-off-by: Chia-I Wu <[email protected]>
| | * glapi: Static mutex does not work on WIN32_THREADS.Chia-I Wu2009-08-241-2/+11
| | | | | | | | | | | | | | | | | | | | | This re-introduces the race in _glapi_check_multithread, but avoids a crash on windows. Signed-off-by: Chia-I Wu <[email protected]>
| | * glapi: Fix a race in accessing context/dispatch TSD.Chia-I Wu2009-08-241-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | If multiple threads set/get a TSD at roughly same time for the first time, glthread might (wrongly) initialize it more than once. This patch solves the race by initializing context/dispatch TSDs early. Acked-by: Ian Romanick <[email protected]> Signed-off-by: Chia-I Wu <[email protected]>
| | * glapi: Protect _glapi_check_multithread by a mutex.Chia-I Wu2009-08-241-14/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | Multiple threads might call _glapi_check_multithread at roughly the same time. It is possbile that all of them are wrongly regarded as firstCall if there is no mutex. This bug causes xeglthreads to crash sometimes. Acked-by: Ian Romanick <[email protected]> Signed-off-by: Chia-I Wu <[email protected]>
| | * mesa: _mesa_layout_parameters() returns a boolean valueBrian Paul2009-08-242-5/+10
| | |
| * | openvg: fix vgTransformPath with relative coordsZack Rusin2009-08-241-1/+1
| |/
* | radeon/r200/r300/r600: Warn if we emit more than prediction was.Pauli Nieminen2009-08-254-12/+44
| | | | | | | | | | | | Prediction code making too small prediction may cause space check aserttion failure later in rendering. So warning about any failure to predict correctly should be fixed.
* | radeon: Add debug output to radeonCountStateEmitSize.Pauli Nieminen2009-08-241-4/+17
| |
* | r600: Fix indetion and add useful debug output.Pauli Nieminen2009-08-241-9/+14
| |
* | Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into ↵Pauli Nieminen2009-08-2411-129/+177
|\| | | | | | | r600_state_predict
| * r300: add support for EXT_framebuffer_blitMaciej Cencora2009-08-243-44/+44
| |
| * tgsi: Fix build error due to commit acc7da90Cooper Yuan2009-08-241-6/+6
| |
| * tgsi: Only free temp uregs.José Fonseca2009-08-241-2/+3
| | | | | | | | | | Shorthand. (cherry picked from commit de911220bbbe74cff0c79b260456ff36122b7b5b)
| * tgsi: Pass pipe_context as a parameter to ureg_create_shader.José Fonseca2009-08-242-14/+30
| | | | | | | | | | Simplifies migration to tgsi_ureg. (cherry picked from commit f574398c07c41cb8d31249a7186fc178ef7d552a)
| * tgsi: add generic instruction builderKeith Whitwell2009-08-242-0/+33
| | | | | | | | | | | | When translating an incoming shader (rather than building one from scratch) it's preferable to be able to call a single, generic instruction emitter rather than figuring out which of the opcode-specific functions to call.
| * r300g: Set the vector address in the input memory for ↵Cooper Yuan2009-08-241-16/+20
| | | | | | | | bypass_vs_clip_and_viewport case
| * r600: scissor updates for dri2Dave Airlie2009-08-241-14/+23
| | | | | | | | Pulled from Dave's WIP patch.
| * r600: switch to common cs functionsDave Airlie2009-08-242-31/+14
| | | | | | | | needed for dri2. Pulled from Dave's WIP patch.
| * r600: map 16 VS outputsAlex Deucher2009-08-241-0/+2
| | | | | | | | Should cover everything exported from the VS