summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2009-08-24st/mesa: flush bitmap cache if Z value changesBrian Paul
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 <justin.dou@intel.com>
2009-08-24ARB prog parser: Regenerate parser from previous commitIan Romanick
2009-08-24ARB prog parser: use correct context limitsBrian Paul
2009-08-24r600: fix state emit sizesAlex Deucher
2009-08-24glapi: Fix a possible race in getting current context/dispatch.Chia-I Wu
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 <olvaffe@gmail.com>
2009-08-24glapi: Static mutex does not work on WIN32_THREADS.Chia-I Wu
This re-introduces the race in _glapi_check_multithread, but avoids a crash on windows. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-24glapi: Fix a race in accessing context/dispatch TSD.Chia-I Wu
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 <ian.d.romanick@intel.com> Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-24glapi: Protect _glapi_check_multithread by a mutex.Chia-I Wu
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 <ian.d.romanick@intel.com> Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-24mesa: _mesa_layout_parameters() returns a boolean valueBrian Paul
2009-08-24r300: add support for EXT_framebuffer_blitMaciej Cencora
2009-08-24r600: scissor updates for dri2Dave Airlie
Pulled from Dave's WIP patch.
2009-08-24r600: switch to common cs functionsDave Airlie
needed for dri2. Pulled from Dave's WIP patch.
2009-08-24r600: map 16 VS outputsAlex Deucher
Should cover everything exported from the VS
2009-08-23r600: fix logic copy paste errorAlex Deucher
Spotted by airlied.
2009-08-23radeon: add radeon_cs_write_table to the legacy pathAlex Deucher
2009-08-23r600: bump reloc_chunk sizeAlex Deucher
This fixes openarena reloc errors. This needs to be made more dynamic.
2009-08-23r600: fix count for CB/DB target stateAlex Deucher
2009-08-23r300: fix a typoMaciej Cencora
2009-08-23radeon: use proper macroMaciej Cencora
2009-08-23radeon: use bo_is_idle interface for checking if OQ result is availableMaciej Cencora
2009-08-23r300: minor optimizationMaciej Cencora
use properly implemented OUT_BATCH_TABLE where possible
2009-08-23ARB prog lexer: Fix lexer to eat both DOS and Unix line endingsIan Romanick
2009-08-23r600: use persistent bos for shadersAlex Deucher
2009-08-23r600: always emit CB baseAlex Deucher
Not doing so seems to cause lock-ups or rendering problems on some chips. I think there is an logic issue related to CB and VGT on some chips. We ran into similar issues in r600_demo IIRC.
2009-08-23radeon: Fix compilation with legacy memory manager.Pauli Nieminen
2009-08-23radeon: Check from kernel if dma buffer is idle.Pauli Nieminen
This makes sure that objects are leaving wait list only when they are processed by gpu. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-22r600: make state emit more fine grainedAlex Deucher
Gives a nice speed boost in most apps since we only emit what state we need.
2009-08-22ARB prog parser: include imports.h to kill some compiler warningsLuo Jinghua
2009-08-22r600: move full state to radeon state atomsAlex Deucher
2009-08-22r600: add support for RS880Alex Deucher
2009-08-22i965: Implement frag prog DPH like DP4Ian Romanick
DPH can output to any component, not just to X. This allows fpalu.c to run without hitting the assertion in emit_dph.
2009-08-22Fix r300 VBO support build on big endian.Michel Dänzer
2009-08-21r600: better default state size.Alex Deucher
Hopefully suokko's emit size impovements will land soon.
2009-08-21Merge branch 'asm-shader-rework-1'Ian Romanick
2009-08-21radeon: fix incorrect loop limit (warned by -O3)Brian Paul
2009-08-21radeon: Add comment to explain logic for freeing dma buffers.Pauli Nieminen
2009-08-20ARB prog parser: Revert part of previous change to constant parsingIan Romanick
The commit "ARP prog parser: Implement the spec, not what makes sense" broke the parsing of scalar constants. This commit reverts that part of that commit. Now vp_swizzle.c passes.
2009-08-20r600: convert to using common radeon state atomsAlex Deucher
switches more state handling to common code. We need should be more fine grained with the state atoms eventually.
2009-08-20r600: improve state emissionAlex Deucher
Slowing migrating to atom based system like the other radeon drivers.
2009-08-20r600: split state emit into block specific functionsAlex Deucher
We probably want to go finer grained eventually, but this is a good start.
2009-08-20r600: try and get everything in the draw in one IBAlex Deucher
fixes corruption issues with apps like teapot and geartrain.
2009-08-20r600: move misc regs from general stateAlex Deucher
These regs don't use the SET_CONTEXT_REG packet, so they weren't getting set correctly.
2009-08-20mesa: add GL_DEPTH_STENCIL to glCopyPixels error checkBrian Paul
Plus, add a comment about 'type' error checking. See bug 19087.
2009-08-20r600: rework emit codeAlex Deucher
make sure we allocate enough space for relocs
2009-08-20radeon: Update regulary cs processing info from kernel.Pauli Nieminen
This fixes problem that dma buffers were leaking in dri1 mode. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-19gallium: rename copy/fill_rect utility functionsBrian Paul
2009-08-19radeon: fix typo in last dma patchAlex Deucher
2009-08-19intel: Fix failure to commit -a --amend before last push.Eric Anholt
2009-08-19intel: Align cubemap texture height to its padding requirements.Eric Anholt
2009-08-19intel: Align untiled region height to 2 according to 965 docs.Eric Anholt
This may or may not be required pre-965, but it doesn't seem unlikely, and I'd rather be safe.