summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
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.
2011-02-10u_upload_mgr: Use PIPE_TRANSFER_FLUSH_EXPLICIT.José Fonseca
This can avoid DMAing the whole buffer when just a fraction was changed.
2011-02-10r300g: implement accelerated copy_region for compressed formatsMarek Olšák
2011-02-10r300g: add a way to change texture properties arbitrarilyMarek Olšák
So that we can implement resource_copy on arbitrary data.
2011-02-10r300g: consolidate buffers and textures to r300_resourceMarek Olšák
Transfers and create/destroy are still handled separately.
2011-02-10r300g: simplify WRITE_RELOC API and cleanupMarek Olšák
2011-02-10u_blitter: let the driver check whether there's a recursionMarek Olšák
2011-02-10r300g: use format from pipe_surface instead of pipe_resourceMarek Olšák
2011-02-10Revert "r300g: support sRGB colorbuffers"Marek Olšák
This partially reverts commit 91eba2567eab9409d94efc3c1f07a4a3731d0047. Conflicts: src/gallium/drivers/r300/r300_blit.c
2011-02-09svga: Don't advertise pixel shader addr register support.José Fonseca
It's not fully supported.
2011-02-09nvc0: serialize on PIPE_FLUSH_RENDER_CACHE as wellChristoph Bumiller
Effects were easily visible in piglit/fbo-generatemipmap-formats.
2011-02-09nvc0: fix stride of NVC0_3D_RT methodsChristoph Bumiller
2011-02-09nvc0: correct storage type for 16 bit surface formatsChristoph Bumiller
2011-02-09nvc0: make CSE work for ops with multiple resultsChristoph Bumiller
2011-02-09nvc0: replace branching with predicated insns where feasibleChristoph Bumiller
2011-02-09nvc0: implement local memory load and store opsChristoph Bumiller
2011-02-09nvc0: make sure phi-ops really have one source per in-blockChristoph Bumiller
2011-02-09nv50,nvc0: do not forget to apply sign mode to saved TGSI inputsChristoph Bumiller
2011-02-09nvc0: do not generate a backwards jump if a loop ends with BRKChristoph Bumiller
2011-02-09nvc0: store only one value per basic block for TGSI regsChristoph Bumiller
2011-02-09nv50,nvc0: fix condition code change when commuting SET sourcesChristoph Bumiller
2011-02-09nvc0: set basic block on manual instruction insertionChristoph Bumiller
2011-02-09nvc0: try to fix register conflicts for vector instructionsChristoph Bumiller
Vector here means using multiple 32 bit regs which are forced to be consecutive in the register file. This still isn't quite nice.
2011-02-09nvc0: reset texture base address after read transferChristoph Bumiller
2011-02-09nvc0: don't combine memory loads across block boundariesChristoph Bumiller
2011-02-09nvc0: detect no-op MIN/MAX, do CSE earlier to succeed more oftenChristoph Bumiller
2011-02-09gallium/docs: fix typoMarek Olšák
2011-02-08st/egl: Fix platform selectionBenjamin Franzke
A break for case _EGL_PLATFORM_X11 is missing. introduced by: 381ea0d67a6d84a34d23571c49bbf4339ffda364
2011-02-08r600g: fixup assertionMarek Olšák
2011-02-08r600g: add a faster implementation of transfer_inline_writeMarek Olšák
u_default_transfer_inline_write uses util_copy_rect, which is kinda slow.
2011-02-08r600g: slab-allocate buffer and transfer structuresMarek Olšák
2011-02-08r300g: use the same upload buffer for vertices and indicesMarek Olšák
2011-02-08r600g: use the same upload buffer for vertices, indices, and constantsMarek Olšák
This should reduce memory consumption.
2011-02-08u_vbuf_mgr: add a way to specify the BIND flag for the upload bufferMarek Olšák
2011-02-08u_vbuf_mgr: remove tabsMarek Olšák
2011-02-08u_vbuf_mgr: make the uploader publicMarek Olšák
2011-02-08Revert "r600g: do not flush the uploader" (with comments)Marek Olšák
This reverts commit 1c2a4f0820ff2272f993e6da28dcf8bcbbc3252a.
2011-02-08r600g: silence a few valgrind warningsBrian Paterni
2011-02-07r600g: Add support for relative addressing on constant buffers.Henri Verbeet
Relative addressing of constant buffers can't work properly through the kcache, since you can only address within the currently locked kcache window. Instead, this patch binds the constant buffer as a shader resource, and then explicitly fetches the constant using a vertex fetch with fetch type VTX_FETCH_NO_INDEX_OFFSET from the shader. There's probably still some room for improvement, doing the fetch right before the instruction that needs the value may not be quite optimal for example.