summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* draw llvm: Move dereference of pointer after NULL check.Vinson Lee2010-04-201-1/+3
|
* draw llvm: Remove unnecessary header.Vinson Lee2010-04-191-1/+0
|
* Merge branch '7.8'Dan Nicholson2010-04-192-1/+3
|\ | | | | | | | | | | | | | | Conflicts: progs/egl/Makefile progs/egl/Makefile is gone on master with the egl demos split into subdirectories. Will require an additional commit.
| * egl: Pass flags to locate Xlib headers and librariesDan Nicholson2010-04-191-0/+1
| | | | | | | | | | | | | | | | eglplatform.h pulls in Xlib.h on X11 platforms. Likewise, the egl glx driver and egl programs needs to link to libX11. Make sure we use the locations the user told us about. Signed-off-by: Dan Nicholson <[email protected]>
| * Change libX11 variables to not conflict with AC_PATH_XTRADan Nicholson2010-04-192-2/+2
| | | | | | | | | | | | | | | | | | The variable X_LIBS from AC_PATH_XTRA contains only the -L searchdir parameter and not the -lX11 to link to Xlib. Use X11 prefixed build vars for linking with Xlib to avoid the conflict. Signed-off-by: Dan Nicholson <[email protected]> (cherry picked from commit e725ef171b5a4d5425461f237d9ccab223806913)
| * gallium: Respect user's CFLAGS for including X headersDan Nicholson2010-04-192-2/+4
| | | | | | | | | | | | | | | | | | | | | | This can break on systems that don't have a system X installation. Signed-off-by: Dan Nicholson <[email protected]> (cherry picked from commit de4ee20578a79e024b0de83c40648112f42c994e) Conflicts: src/gallium/winsys/xlib/Makefile
* | llvmpipe: remove dead codeBrian Paul2010-04-191-5/+0
| |
* | llvmpipe: use llvmpipe_resource_stride()Brian Paul2010-04-191-2/+3
| |
* | gallivm: pass 3D texture stride as an arrayBrian Paul2010-04-192-9/+18
| | | | | | | | This should have been included with the previous commit.
* | llvmpipe: get 3D texture image stride from an array rather than computing itBrian Paul2010-04-197-17/+34
| | | | | | | | | | | | This fixes broken 3D texture indexing when the height of the 3D texture was less than 64 (the tile size). It's simpler to pass this as an array (as we do with the row stride) than to compute it on the fly.
* | llvmpipe: consolidate some code in llvmpipe_set_texture_image_layout()Brian Paul2010-04-191-16/+22
| |
* | llvmpipe: fix rendering to 3D texturesBrian Paul2010-04-194-76/+114
| | | | | | | | | | | | Treat cube faces and 3D texture slices in the same manner (they're layed out out continuously in memory). Additional clean-ups and improvements coming.
* | llvmpipe: checkpoint: fixes for render to 3D textureBrian Paul2010-04-192-60/+70
| |
* | llvmpipe: another fix for surface memory allocationBrian Paul2010-04-191-6/+12
| | | | | | | | | | The previous patch broke cube maps. The logic is a bit clearer now.
* | r300g: add is_rv350 flagMarek Olšák2010-04-204-14/+25
| |
* | draw llvm: make sure use_llvm isn't used when not definedZack Rusin2010-04-191-1/+1
| |
* | draw llvm: fix typo (boolean, not bool)Zack Rusin2010-04-191-1/+1
| |
* | llvmpipe: fix surface memory allocation bugBrian Paul2010-04-191-12/+36
| | | | | | | | | | | | | | We weren't always allocating the right amount of memory for image tiles for some formats (those < 32bpp). Fixes fd.o bug 27712.
* | draw llvm: allow runtime switching of pipelines (yes/no to llvm)Zack Rusin2010-04-192-1/+4
| | | | | | | | use DRAW_USE_LLVM to disable or enable (default) llvm
* | draw llvm: fix constructor messZack Rusin2010-04-194-36/+9
| | | | | | | | use just one constructor to figure out whether to use llvm.
* | llvmpipe: enable draw llvm by defaultZack Rusin2010-04-191-1/+1
| |
* | gallium/util: specify binding type for blit src textureBrian Paul2010-04-191-0/+1
| | | | | | | | Fixes fd.o bug 27711.
* | llvmpipe: triangle function commentsBrian Paul2010-04-191-0/+10
| |
* | gallium/draw: use a local var to simplify some codeBrian Paul2010-04-191-8/+8
| |
* | softpipe: add option to do polygon stipple in softpipe vs. draw moduleBrian Paul2010-04-193-0/+14
| | | | | | | | For debugging purposes.
* | Merge branch '7.8'Brian Paul2010-04-1922-61/+219
|\| | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pipe_aaline.c src/gallium/drivers/llvmpipe/lp_context.c
| * gallium/draw: use correct rasterization state for wide/AA points/linesBrian Paul2010-04-1919-55/+211
| | | | | | | | | | | | | | | | | | | | | | 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.
| * softpipe: Fix division by zeroArpad Borsos2010-04-141-3/+3
| | | | | | | | | | | | | | This can be triggered by running the cairo tests using the gl backend and softpipe. Signed-off-by: Brian Paul <[email protected]>
* | r300c/r300g: add 3155 rv380 pci idDave Airlie2010-04-191-0/+1
| |
* | gallivm: Remove redundant initialization of dst_vec_type.Vinson Lee2010-04-191-2/+0
| | | | | | | | | | dec_vec_type is already initialized to lp_build_vec_type(dst_type) at its declaration.
* | nv50: Fix include recursion.Vinson Lee2010-04-191-1/+2
| | | | | | | | | | Don't include nv50_context.h and use a forward declaration instead. nv50_context.h includes nv50_screen.h (itself).
* | nvfx: Fix include recursion.Vinson Lee2010-04-181-1/+2
| | | | | | | | | | Don't include nvfx_context.h and use a forward reference instead. nvfx_context.h includes nvfx_screen.h (itself).
* | auxiliary: Move loop variable declaration outside for loop.Vinson Lee2010-04-181-1/+2
| | | | | | | | Fixes MSVC build.
* | nvfx: Add missing header and forward declaration.Vinson Lee2010-04-181-0/+4
| |
* | nouveau: Add missing header.Vinson Lee2010-04-181-0/+2
| |
* | r300g: Remove unnecessary headers.Vinson Lee2010-04-182-3/+0
| |
* | i915g: Remove unnecessary header.Vinson Lee2010-04-181-1/+0
| |
* | auxiliary: Initialize variable.Vinson Lee2010-04-181-1/+1
| |
* | auxiliary: Add util/u_surfaces.c to SCons build.Vinson Lee2010-04-181-0/+1
| | | | | | | | This was missed in commit ac4b8db62d056fa5b85661f67ba5e1d1d29e3fcf.
* | r300g: implement TRUNC as floorMarek Olšák2010-04-191-1/+1
| |
* | r300/compiler: lower CEILMarek Olšák2010-04-191-1/+1
| |
* | u_inlines: split pipe_surface_init in pipe_surface_reset and *_initLuca Barbieri2010-04-182-3/+10
| |
* | tgsi: add comment about potential code removalBrian Paul2010-04-181-0/+6
| |
* | softpipe: new comment and assertion for face valueBrian Paul2010-04-181-0/+3
| |
* | tgsi: replace 0xf with TGSI_WRITEMASK_XYZWBrian Paul2010-04-181-2/+2
| |
* | softpipe: fix computation of fragment[FACE] attributeBrian Paul2010-04-181-3/+7
| | | | | | | | | | | | | | 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...
* | softpipe: clean-up and commentsBrian Paul2010-04-181-40/+57
| |
* | softpipe: document MAX_QUADSBrian Paul2010-04-181-1/+6
| |
* | r300g: more solid is_buffer_referenced implementationMarek Olšák2010-04-183-11/+19
| | | | | | | | | | This fixes crash from 7a1b5c937fa32968a04a11649e456a1ef8c5b442, and also removes the unused "map" pointer.
* | u_surfaces: silence warningLuca Barbieri2010-04-181-1/+1
| |