summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2011-02-14gallium: always save and restore vertex buffers using cso_cacheMarek Olšák
2011-02-14r300g: Remove redundant initialization.Vinson Lee
Remove redundant initialization from commit 3b01b52bd78e3d2fc857feacebd815a5fae00c94 noticed by tstellar.
2011-02-14r600g: add alignment cases for linear alignedAlex Deucher
Matches the drm and ddx. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-02-14draw: Don't define the last two mipmap levels in aa lines.José Fonseca
Some hardware needs to make a seperate copy of all levels to obey max_lod, so simply do not define the last two levels instead of clamping.
2011-02-14svga: Set the appropriate flags when creating sampler/surface views.José Fonseca
2011-02-14r300g: put indices in CS if there's just a few of them and are in user memoryMarek Olšák
2011-02-14r300g: cleanup the draw functionsMarek Olšák
2011-02-14r300g: do not create a user buffer struct for misaligned ushort indices fallbackMarek Olšák
2011-02-14r300g: fix fallback for misaligned ushort indices with num vertices >= 65535Marek Olšák
2011-02-14r300g: consolidate emission of common draw regsMarek Olšák
2011-02-14r300g: Move declaration before code.Vinson Lee
Fixes SCons build.
2011-02-14r600g: do not destroy the original index buffer when translating indicesMarek Olšák
Because we only translate a subrange of the buffer.
2011-02-14r300g: emit 3D_LOAD_VBPNTR only when necessaryMarek Olšák
I thought I couldn't skip emitting this packet in some cases. Well it looks like I can.
2011-02-14r300g: fix reference counting when translating indicesMarek Olšák
2011-02-14u_index_modify: map buffers with PIPE_TRANSFER_UNSYNCHRONIZEDMarek Olšák
2011-02-14r300g: remove the relocation after AARESOLVE_PITCHMarek Olšák
2011-02-13nv50: fix query assertionMarcin Slusarz
2011-02-13r300g: correctly determine if a texture is blittable in texture_get_transferMarek Olšák
2011-02-13r300g: fixup the handle_compare functionMarek Olšák
Accidentally negated in 685c3262b945a7f0e9f1f3a9409a12fdda08c828.
2011-02-12r300g: when printing shader linker errors to stderr, report it's not a bugMarek Olšák
2011-02-12r300g: add debug options nozmask and nohiz which disable some hyper-z featuresMarek Olšák
2011-02-12r300g: typecast void* to unsigned correctlyMarek Olšák
2011-02-12r300g: improve function radeon_bo_is_referenced_by_csMarek Olšák
This should prevent calling into radeon_get_reloc when there's only one context.
2011-02-12u_vbuf_mgr: fix segfaultMarek Olšák
max_index could have been less than min_index, which later caused integer underflow followed by a segfault in memcpy.
2011-02-11svga: disable a debug_printf() callBrian Paul
2011-02-11svga: comments and debug codeBrian Paul
2011-02-11svga: more comments for need_pipeline fieldBrian Paul
2011-02-11draw: tweak AA line texture minimum alphaBrian Paul
AA lines drawn as textured quads look a little better with this change. Conformance/piglit tests still pass.
2011-02-11svga: add max DMA size check in svga_winsys_buffer_create()Brian Paul
This fixes a problem when trying to use large (2K x 2K) texture images. We'll DMA the image in chunks. Patch written by Jose.
2011-02-11svga: remove old comment, remove extra whitespaceBrian Paul
2011-02-11svga: Enable the draw pipeline for smooth lines.José Fonseca
Spotted by Brian Paul.
2011-02-11svga: Don't use the draw pipeline for non-AA lines with a fractional width.José Fonseca
Spotted by Jakob Bornecrantz.
2011-02-11draw: Don't use the pipeline when drawing lines with fractional widths.José Fonseca
Spotted by Jakob Bornecrantz.
2011-02-11llvmpipe: Use u_math's round.José Fonseca
2011-02-11util: Define round and roundf on MSVC.José Fonseca
2011-02-11svga: Stippled lines can also be drawn with triangles.José Fonseca
2011-02-11r300g: remove unused function prototypes, update copyrightMarek Olšák
2011-02-10st/egl wayland: Sync front buffer releaseBenjamin Franzke
2011-02-10st/dri: Set render_buffer in dri_fill_st_visualBenjamin Franzke
st/mesa/st_managaer.c needs render_buffer in order to determinde which buffer should be rendered to.
2011-02-10st/dri: img_from_renderbuf: Fix incorrect usage of dri_context()Benjamin Franzke
2011-02-10st/dri: Fix surfaceless gl using contexts with previous bound surfacesBenjamin Franzke
ctx->dPriv might be != NULL then draw which is NULL is accessed: struct dri_drawable *draw = dri_drawable(driDrawPriv); [..] if (ctx->dPriv != driDrawPriv) { ctx->dPriv = driDrawPriv; draw->texture_stamp = driDrawPriv->lastStamp - 1; }
2011-02-10st/egl wayland: Set color_format according to wl_visualBenjamin Franzke
2011-02-11r600g: get correct height alignmentDave Airlie
useful for s3tc
2011-02-11r600g: drop two unused | 0 that are actually in word4 anyways.Dave Airlie
these were NOPs anyways. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-02-11r600g: handle 16/32 u/s norm formats properlyDave Airlie
add support for the 32-bit types, also fixup the export setting to handle types with channels > 11 bits properly Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-02-11r300g: prevent NULL pointer dereference in r300_buffer_createMarek Olšák
Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=33185
2011-02-11r300g: plug a memory leak in winsysMarek Olšák
2011-02-11r300g: remove unneeded code in winsysMarek Olšák
We don't need the read/write flags.
2011-02-11r300g: fix warningMarek Olšák
2011-02-11r300g: import the last bits of libdrm and cleanup the whole thingMarek Olšák
Based on Dave's branch. The majority of this commit is a cleanup, mainly renaming things. There wasn't much code to import, just ioctl calls. Also done: - implemented unsynchronized bo_map (important optimization!) - radeon_bo_is_referenced_by_cs is no longer a refcount hack - dropped the libdrm_radeon dependency I'm surprised that this has resulted in less code in the end.