summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-04-20draw llvm: Move dereference of pointer after NULL check.Vinson Lee
2010-04-19draw llvm: Remove unnecessary header.Vinson Lee
2010-04-19egl: Fix demos to build with user specified XlibDan Nicholson
Commit 88be2171e7 fixed the egl demos on the stable branch, but now they're spread out across multiple subdirectories. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2010-04-19Merge branch '7.8'Dan Nicholson
Conflicts: progs/egl/Makefile progs/egl/Makefile is gone on master with the egl demos split into subdirectories. Will require an additional commit.
2010-04-19egl: Pass flags to locate Xlib headers and librariesDan Nicholson
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 <dbn.lists@gmail.com>
2010-04-19progs: Fix linking of Xlib demos for non-autoconf buildsDan Nicholson
The Xlib demos were fixed to use $(X11_LIBS) so that configure could detect the proper directory to link the library from, but this broke the non-autoconf builds. Give X11_LIBS a default value to fallback on. (cherry picked from commit e40fce13e152ecf929c899ed38a8e5f7d198c738)
2010-04-19Change libX11 variables to not conflict with AC_PATH_XTRADan Nicholson
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 <dbn.lists@gmail.com> (cherry picked from commit e725ef171b5a4d5425461f237d9ccab223806913)
2010-04-19gallium: Respect user's CFLAGS for including X headersDan Nicholson
This can break on systems that don't have a system X installation. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> (cherry picked from commit de4ee20578a79e024b0de83c40648112f42c994e) Conflicts: src/gallium/winsys/xlib/Makefile
2010-04-19Use X_LIBS from pkg-config, instead of libdir, for locating libX11Jeff Smith
Signed-off-by: Jeff Smith <whydoubt@yahoo.com> Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> (cherry picked from commit 8d86d395dcf6a5f192b6987485bb7aef49f1fefc)
2010-04-19glapi: GL 3.x xml fileBrian Paul
Some of the entrypoints defined in other .xml files will need to be removed in favor of these...
2010-04-19llvmpipe: remove dead codeBrian Paul
2010-04-19llvmpipe: use llvmpipe_resource_stride()Brian Paul
2010-04-19gallivm: pass 3D texture stride as an arrayBrian Paul
This should have been included with the previous commit.
2010-04-19llvmpipe: get 3D texture image stride from an array rather than computing itBrian Paul
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.
2010-04-19llvmpipe: consolidate some code in llvmpipe_set_texture_image_layout()Brian Paul
2010-04-19llvmpipe: fix rendering to 3D texturesBrian Paul
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.
2010-04-19llvmpipe: checkpoint: fixes for render to 3D textureBrian Paul
2010-04-19llvmpipe: another fix for surface memory allocationBrian Paul
The previous patch broke cube maps. The logic is a bit clearer now.
2010-04-20r300g: add is_rv350 flagMarek Olšák
2010-04-19Merge branch '7.8'Jesse Barnes
2010-04-19DRI2: check for swapAvailable before using swap interval protocolJesse Barnes
This should have been part of the last change...
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-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-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-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