summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-04-19draw llvm: make sure use_llvm isn't used when not definedZack Rusin
2010-04-19draw llvm: fix typo (boolean, not bool)Zack Rusin
2010-04-19llvmpipe: fix surface memory allocation bugBrian Paul
We weren't always allocating the right amount of memory for image tiles for some formats (those < 32bpp). Fixes fd.o bug 27712.
2010-04-19Merge branch '7.8'Jesse Barnes
2010-04-19DRI2: synchronize swap interval with server at startup timeJesse Barnes
In the direct rendered case, we need to tell the server our initial swap interval. If we don't, the local and server values will be out of sync, since the server and client defaults may be different (as they were before this patch).
2010-04-19draw llvm: allow runtime switching of pipelines (yes/no to llvm)Zack Rusin
use DRAW_USE_LLVM to disable or enable (default) llvm
2010-04-19draw llvm: fix constructor messZack Rusin
use just one constructor to figure out whether to use llvm.
2010-04-19llvmpipe: enable draw llvm by defaultZack Rusin
2010-04-19gallium/util: specify binding type for blit src textureBrian Paul
Fixes fd.o bug 27711.
2010-04-19mesa: unmap the immediate mode VB before destroying itBrian Paul
Fixes failed assertion from fd.o bug 27713. The assertion was added with the new resource/transfer changes. This patch could apply to the 7.8 branch but it's not essential.
2010-04-19r300g: Adapt for index bias interface change.José Fonseca
2010-04-19nvfx: Adapt for index bias interface change.José Fonseca
2010-04-19nv50: Adapt for index bias interface change.José Fonseca
2010-04-19retrace: Support index bias.José Fonseca
2010-04-19mesa/st: Update for index bias interface change.José Fonseca
2010-04-19st/python: Use index bias.José Fonseca
2010-04-19trace: Implement index bias.José Fonseca
2010-04-19svga: Implement index bias.José Fonseca
Untested.
2010-04-19softpipe: Implement index bias.José Fonseca
2010-04-19llvmpipe: Implement index bias.José Fonseca
2010-04-19identity: Implement index bias.José Fonseca
2010-04-19i965g: Implement index bias.José Fonseca
2010-04-19i915: Implement index bias.José Fonseca
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