summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* nv04-nv40: Fix swizzle transfers for NPOT sizes.Younes Manton2009-10-061-113/+34
| | | | | | Workarounds not necessary, SIFM can handle NPOT, we just weren't setting dst dimensions properly. SIFM can't handle odd w,h though, that still needs fixing.
* nv50: fix segfault when there's gaps in enabled texture unitsBen Skeggs2009-10-062-4/+10
| | | | Tested with progs/demos/multiarb.
* nouveau: fix buffer object leakBen Skeggs2009-10-061-1/+4
| | | | Very apparent with resizing windows on DRI2.
* i915g: Add more defines to tweek batchbufferJakob Bornecrantz2009-10-061-13/+28
|
* i915g: Tweek vertexbuffer sizeJakob Bornecrantz2009-10-061-4/+4
|
* i965g: remove 965/brw files from XLIB_WINSYS_SOURCESBrian Paul2009-10-051-3/+0
|
* Merge branch 'mesa_7_6_branch'Brian Paul2009-10-0511-21/+15
|\ | | | | | | | | | | Conflicts: src/gallium/auxiliary/util/u_cpu_detect.c
| * gallium/xlib: use bitwise-and to test GLX_RGBA_BIT in choose_visual()Brian Paul2009-10-021-2/+2
| | | | | | | | The parameter is a bitmask.
| * gallium/xlib: return GLX_RGBA_BIT or GLX_COLOR_INDEX_BIT in get_config()Brian Paul2009-10-021-2/+2
| | | | | | | | This reverts part of commit a6b84aef4ad3a7bac40704146a98977c62bfb6e8
| * gallium: replace // comments with /* */Brian Paul2009-10-029-11/+11
| |
| * gallium: remove // comment and extra whitespaceBrian Paul2009-10-021-7/+0
| |
| * gallium/util: silence uninitialized var warningBrian Paul2009-10-011-0/+1
| |
* | i915g: Drop the simple sufixJakob Bornecrantz2009-10-0541-11/+11
| | | | | | | | | | | | None of the other driver have a silly sufix, so just drop it. Nothing new added in this commit or any other commit but this is better marketing.
* | i965g: Drop i965simpleJakob Bornecrantz2009-10-0574-19978/+0
| | | | | | | | | | | | The driver never work with real hardware and has bitrotted for quite some time now, might as well drop it. If somebody wants to look at it just use git.
* | r300g: fix scons buildJoakim Sindholt2009-10-054-10/+17
| | | | | | | | | | | | So I didn't touch r300compiler, but r300g now compiles after having declarations and code untangled. As nha so gently points out, we shouldn't have to do this just to comply with MSVC compilers.
* | util: Improve the cpuid assembly.José Fonseca2009-10-051-10/+12
| | | | | | | | | | | | No need to save ebx on 64bit. Use just xchgl. Refer to gcc's cpuid.h header. Thanks to Uros Bizjak for pointing this out.
* | util: add lost code to util_make_fragment_tex_shader_writemask()Keith Whitwell2009-10-051-1/+9
| | | | | | | | | | This got ported to ureg at some point, but lost the code that distinguishes it from regular util_make_fragment_tex_shader().
* | st/dri: avoid segfault if we can't get a pixmap's buffersBen Skeggs2009-10-051-0/+3
| | | | | | | | Signed-off-by: Ben Skeggs <[email protected]>
* | nv50: support PIPE_FORMAT_X8R8G8B8_UNORMBen Skeggs2009-10-053-0/+12
| | | | | | | | Signed-off-by: Ben Skeggs <[email protected]>
* | nouveau: return pitch value from local_handle_from_texture()Ben Skeggs2009-10-051-0/+1
| | | | | | | | Signed-off-by: Ben Skeggs <[email protected]>
* | st/dri: no need to request fake front buffer, only handle it being returnedBen Skeggs2009-10-051-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | The previous behaviour was incorrect, and resulted in EXT_tfp being broken for DDX drivers that implement the correct behaviour (intel/radeon/nouveau). In the cases where a fake front buffer is required, the X server will return one when requesting __DRI_BUFFER_FRONT_LEFT. The Xorg state tracker (aka modesetting_drv) is likely broken now until it's modified to match the other drivers. Signed-off-by: Ben Skeggs <[email protected]>
* | util: Make assert a no-op on non-debug builds.José Fonseca2009-10-041-1/+4
| | | | | | | | | | | | | | | | | | This ensures that an assertion like assert(expensive_test()); won't have any penalty on release builds. It also implies that no vital code should be in assert expressions.
* | llvmpipe: Ensure tile cache transfers are mapped before flushing it.José Fonseca2009-10-043-2/+9
| |
* | llvmpipe: Autogenerate lp_tile_soa.c from u_format.csv.José Fonseca2009-10-047-974/+339
| | | | | | | | | | | | | | | | | | This is just a temporary change until we code generate the tile read/write functions in runtime. The new code avoids an extra memcpy that exists in u_tile.c functions, from which lp_tile_soa.c was originally based. This achieves up to 5% improvement, particularly in frames with little geometry overlap.
* | util: Fix cpuid invocation for x86_64.José Fonseca2009-10-041-11/+23
| |
* | llvmpipe: Remove loop testing from format testing.José Fonseca2009-10-041-6/+0
| | | | | | | | Loop building will be rewritten.
* | llvmpipe: Match header's protection macro with filename.José Fonseca2009-10-041-3/+3
| |
* | llvmpipe: Adjust format assertion.José Fonseca2009-10-041-3/+4
| | | | | | | | We support array layout too -- if it has a single channel.
* | r300g: xRGB and RGBx formats.Corbin Simpson2009-10-043-0/+15
| | | | | | | | | | We now have 48 GLX visuals. Pretty soon, we'll have 90+ visuals, only five of which ever get tested. :3
* | llvmpipe: Fetch tile only if a color buffer is bound.José Fonseca2009-10-032-2/+11
| |
* | r300g: Do not abort on fragment program compiler errorNicolai Hähnle2009-10-032-4/+9
| | | | | | | | Signed-off-by: Nicolai Hähnle <[email protected]>
* | r300g: Fix memory leak in radeon_texture_from_shared_handleNicolai Hähnle2009-10-031-1/+6
| | | | | | | | Signed-off-by: Nicolai Hähnle <[email protected]>
* | r300g: Build in the trace and softpipe driver for xorg state trackerSedat Dilek2009-10-031-0/+2
| | | | | | | | | | | | | | | | | | Same as in src/gallium/winsys/drm/intel/xorg/Makefile Thanks MrCooper for explanations on IRC [ Summary amended by Michel Dänzer to clarify that this is related to the xorg state tracker ]
* | r300g: Remove an unnecessarily created pipe buffer (and thus fix a leak)Nicolai Hähnle2009-10-031-7/+0
| | | | | | | | Signed-off-by: Nicolai Hähnle <[email protected]>
* | st/dri: Install APPLE_vertex_array_object functionsNicolai Hähnle2009-10-031-0/+2
| | | | | | | | | | | | | | Besides from being necessary to use that extension, it also fixes a crash when deleting the currently bound vertex array object. Signed-off-by: Nicolai Hähnle <[email protected]>
* | r300g: Reset vbo_offset after allocation of a new bufferNicolai Hähnle2009-10-031-2/+3
| | | | | | | | | | | | This fixes the glxgears bug, among other things. Signed-off-by: Nicolai Hähnle <[email protected]>
* | st/dri: Install ARB_vertex_array_object functionsNicolai Hähnle2009-10-031-0/+2
| | | | | | | | Signed-off-by: Nicolai Hähnle <[email protected]>
* | st/xorg: Use PIPE_TRANSFER_MAP_DIRECTLY flag in EXA PrepareAccess hook.Michel Dänzer2009-10-021-59/+34
| | | | | | | | | | | | | | Propagate NULL return value. This also allows removing the DRM_MODE_FEATURE_DIRTYFB specific pixmap management hacks.
* | gallium: Add PIPE_TRANSFER_MAP_DIRECTLY usage flag.Michel Dänzer2009-10-021-1/+12
| | | | | | | | | | Asks the driver to map the texture storage directly or return NULL if that's not possible.
* | gallium: Preparations for adding more PIPE_TRANSFER_* usage flags.Michel Dänzer2009-10-0216-160/+61
| | | | | | | | | | | | Always test for PIPE_TRANSFER_READ/WRITE using the bit-wise and operator, and add a pipe_transfer_buffer_flags() helper for getting the buffer usage flags corresponding to them.
* | g3dvl: Formatting.Younes Manton2009-10-011-175/+172
| |
* | g3dvl: Delete state_trackers/g3dvl, other unused files.Younes Manton2009-10-0123-4778/+0
| |
* | g3dvl: Copyright blocks.Younes Manton2009-10-0129-0/+783
| |
* | st/xvmc: Set default CSC matrix to BT.601, no ProcAmp, full range RGB.Younes Manton2009-10-011-0/+11
| |
* | g3dvl: Color space conv interface & vl impl.Younes Manton2009-10-018-113/+249
| | | | | | | | | | | | | | | | Interface is pipe_video_context::set_csc_matrix(). vl_csc.h defines some helpers to generate CSC matrices based on one of the color standard and a user defined ProcAmp (brightness, contrast, saturation, hue).
* | Merge branch 'mesa_7_6_branch'Brian Paul2009-10-011-4/+4
|\|
| * gallium/xlib: fix GLX_RENDER_TYPE queryBrian Paul2009-09-291-4/+4
| | | | | | | | Return GLX_RGBA_TYPE or GLX_COLOR_INDEX_TYPE.
* | st/xorg: Check that ms->api->destroy is not NULL before calling it.Michel Dänzer2009-10-011-1/+3
| | | | | | | | Fixes potential crash on X server shutdown.
* | util: Enable sockets on BSDRobert Noland2009-10-013-5/+5
| | | | | | | | | | | | | | I think this should be safe for all of the BSDs. Signed-off-by: Robert Noland <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* | util: define PIPE_OS_FREEBSD to correct u_cpu_detect on FreeBSD.Robert Noland2009-10-011-0/+13
| | | | | | | | | | | | | | Since the various BSDs use some different features here, define PIPE_OS_OPENBSD and PIPE_OS_NETBSD as well Signed-off-by: Robert Noland <[email protected]>