summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-04-19failover: Implement index bias.José Fonseca
2010-04-19cell: Implement index bias.José Fonseca
2010-04-19draw: Implement index bias.José Fonseca
2010-04-19st/mesa: invert scissor rect depending on FB orientationBrian Paul
Fixes fd.o bug 27715
2010-04-19mesa: Fix build with gcc 3.3.Matthieu Herrb
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-04-19radeon: Let this build with gcc 3.3Matthieu Herrb
Declaring the loop index inside for () is not supported by this version. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-04-19radeon: Fix command type for DRM_RADEON_IRQ_EMIT ioctl.Owain Ainsworth
This should be drmCommandWriteRead to avoid an EINVAL error on systems that strictly check ioctl args. This command has been r/w for ever. Discussion with airlied agreed that this was the correct course. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-04-19mesa: Use __OpenBSD__ to check for OpenBSD.Matthieu Herrb
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-04-19llvmpipe: triangle function commentsBrian Paul
2010-04-19gallium/draw: use a local var to simplify some codeBrian Paul
2010-04-19softpipe: add option to do polygon stipple in softpipe vs. draw moduleBrian Paul
For debugging purposes.
2010-04-19Merge branch '7.8'Brian Paul
Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pipe_aaline.c src/gallium/drivers/llvmpipe/lp_context.c
2010-04-19gallium/draw: use correct rasterization state for wide/AA points/linesBrian Paul
When points or lines are decomposed into triangles, we need to be sure to disable polygon culling, stippling, "un-filled" modes, etc. This patch sets the rasterization state to disable those things prior to drawing points/lines with triangles, then restores the previous state afterward. The new piglit point-no-line-cull test checks this problem & solution.
2010-04-19docs: Document indexBias.José Fonseca
2010-04-19r300c/r300g: add 3155 rv380 pci idDave Airlie
2010-04-19gallivm: Remove redundant initialization of dst_vec_type.Vinson Lee
dec_vec_type is already initialized to lp_build_vec_type(dst_type) at its declaration.
2010-04-19nv50: Fix include recursion.Vinson Lee
Don't include nv50_context.h and use a forward declaration instead. nv50_context.h includes nv50_screen.h (itself).
2010-04-19gallium: Add index bias parameter to draw_elements and friends.José Fonseca
indexBias corresponds to: - BaseVertexIndex parameter of D3D9's IDirect3DDevice9::DrawIndexedPrimitive method - BaseVertexLocation parameter of ID3D10Device::DrawIndexed Although a positive indexBias can be easily be implemented in Gallium by adding indexBias*stride to each vertex buffer base offset, a negative indexBias cannot, as the final vertex buffer offset could be negative. I'm not aware of this functionality being exposed to GL drivers, so for now all hardware drivers will just assert(indexBias == 0). See also: - http://msdn.microsoft.com/en-us/library/bb174369.aspx (D3D9) - http://msdn.microsoft.com/en-us/library/ff556126.aspx (D3D10 DDI)
2010-04-18nvfx: Fix include recursion.Vinson Lee
Don't include nvfx_context.h and use a forward reference instead. nvfx_context.h includes nvfx_screen.h (itself).
2010-04-18auxiliary: Move loop variable declaration outside for loop.Vinson Lee
Fixes MSVC build.
2010-04-18nvfx: Add missing header and forward declaration.Vinson Lee
2010-04-18nouveau: Add missing header.Vinson Lee
2010-04-18r300g: Remove unnecessary headers.Vinson Lee
2010-04-18i915g: Remove unnecessary header.Vinson Lee
2010-04-18auxiliary: Initialize variable.Vinson Lee
2010-04-18auxiliary: Add util/u_surfaces.c to SCons build.Vinson Lee
This was missed in commit ac4b8db62d056fa5b85661f67ba5e1d1d29e3fcf.
2010-04-18st/mesa: s/st_get_stobj_texture/st_get_stobj_resource/Brian Paul
2010-04-18st/mesa: s/st_get_texobj_texture/st_get_texobj_resource/Brian Paul
2010-04-18st/mesa: remove st_texture_object::pipe fieldBrian Paul
Just pass the pipe context to st_get_texture_sampler_view() as is done for st_get_renderbuffer_sampler_view().
2010-04-18st/mesa: s/st_renderbuffer_get_sampler_view/st_get_renderbuffer_sampler_view/Brian Paul
2010-04-18st/mesa: s/st_sampler_view_from_texture/st_create_texture_sampler_view/Brian Paul
2010-04-18st/mesa: s/st_get_stobj_sampler_view/st_get_texture_sampler_view/Brian Paul
2010-04-19r300g: implement TRUNC as floorMarek Olšák
2010-04-19r300/compiler: lower CEILMarek Olšák
2010-04-19r300/compiler: enable branch emulation for vertex shadersMarek Olšák
2010-04-19r300/compiler: optimize CMP for vertex shaders a bitMarek Olšák
2010-04-19r300/compiler: Use memory_pool_array_reserve in deadcode eliminationNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2010-04-19r300/compiler: Use memory_pool_array_reserve in r500-fragprog_emitNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2010-04-19r300/compiler: enable branch emulation for R500 fragment programsMarek Olšák
2010-04-19r300/compiler: Implement branch emulation for R300 fragment programsNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2010-04-18u_inlines: split pipe_surface_init in pipe_surface_reset and *_initLuca Barbieri
2010-04-18tgsi: add comment about potential code removalBrian Paul
2010-04-18softpipe: new comment and assertion for face valueBrian Paul
2010-04-18tgsi: replace 0xf with TGSI_WRITEMASK_XYZWBrian Paul
2010-04-18softpipe: fix computation of fragment[FACE] attributeBrian Paul
In TGSI, front facing is +1 and back-facing is -1. We were computing this attribute as +1 and 0 before. However, the value isn't actually used anywhere because we machine->Face attribute overrides it in tgsi_exec.c. That could be changed, removing some special-case code...
2010-04-18softpipe: clean-up and commentsBrian Paul
2010-04-18softpipe: document MAX_QUADSBrian Paul
2010-04-18r300g: more solid is_buffer_referenced implementationMarek Olšák
This fixes crash from 7a1b5c937fa32968a04a11649e456a1ef8c5b442, and also removes the unused "map" pointer.
2010-04-18u_surfaces: silence warningLuca Barbieri
2010-04-18Revert "r300g: save vertex buffers around u_blitter calls"Marek Olšák
Not sure why it crashes.