summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* mesa: remove some unused gl_shader fieldsBrian Paul2011-02-111-2/+0
|
* draw: tweak AA line texture minimum alphaBrian Paul2011-02-111-1/+1
| | | | | AA lines drawn as textured quads look a little better with this change. Conformance/piglit tests still pass.
* svga: add max DMA size check in svga_winsys_buffer_create()Brian Paul2011-02-111-0/+10
| | | | | | | 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.
* svga: remove old comment, remove extra whitespaceBrian Paul2011-02-111-4/+0
|
* glsl: Fix parallel build.Tobias Jakobi2011-02-111-1/+2
| | | | | | Broken since e0c1fc32832b66b52e6352ba563288ee48a1face. Signed-off-by: Kenneth Graunke <[email protected]>
* svga: Enable the draw pipeline for smooth lines.José Fonseca2011-02-111-0/+5
| | | | Spotted by Brian Paul.
* svga: Don't use the draw pipeline for non-AA lines with a fractional width.José Fonseca2011-02-111-2/+1
| | | | Spotted by Jakob Bornecrantz.
* draw: Don't use the pipeline when drawing lines with fractional widths.José Fonseca2011-02-113-5/+6
| | | | Spotted by Jakob Bornecrantz.
* llvmpipe: Use u_math's round.José Fonseca2011-02-111-12/+1
|
* util: Define round and roundf on MSVC.José Fonseca2011-02-111-1/+13
|
* svga: Stippled lines can also be drawn with triangles.José Fonseca2011-02-112-2/+3
|
* r300g: remove unused function prototypes, update copyrightMarek Olšák2011-02-114-4/+56
|
* egl_dri2: rename loader_extension to dri2_loader_extensionHaitao Feng2011-02-103-18/+18
| | | | Signed-off-by: Haitao Feng <[email protected]>
* st/egl wayland: Sync front buffer releaseBenjamin Franzke2011-02-102-1/+33
|
* egl_dri2 wayland: Sync front buffer releaseBenjamin Franzke2011-02-102-26/+67
|
* egl_dri2: Always unbind old contextsBenjamin Franzke2011-02-101-10/+11
| | | | | | This fixes __DRIdrawable refcounting. Binding a context increases their refcount, so we need to decrease it.
* egl_dri2: Use double buffering for window surfacesBenjamin Franzke2011-02-105-40/+110
|
* st/dri: Set render_buffer in dri_fill_st_visualBenjamin Franzke2011-02-101-2/+4
| | | | | st/mesa/st_managaer.c needs render_buffer in order to determinde which buffer should be rendered to.
* st/dri: img_from_renderbuf: Fix incorrect usage of dri_context()Benjamin Franzke2011-02-101-1/+1
|
* st/dri: Fix surfaceless gl using contexts with previous bound surfacesBenjamin Franzke2011-02-101-2/+6
| | | | | | | | | | | 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; }
* st/egl wayland: Set color_format according to wl_visualBenjamin Franzke2011-02-101-5/+6
|
* r600g: get correct height alignmentDave Airlie2011-02-111-3/+2
| | | | useful for s3tc
* r600g: drop two unused | 0 that are actually in word4 anyways.Dave Airlie2011-02-112-2/+2
| | | | | | these were NOPs anyways. Signed-off-by: Dave Airlie <[email protected]>
* r600g: handle 16/32 u/s norm formats properlyDave Airlie2011-02-117-12/+57
| | | | | | | 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 <[email protected]>
* r300g: prevent NULL pointer dereference in r300_buffer_createMarek Olšák2011-02-111-3/+3
| | | | | Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=33185
* mesa: Remove empty header file s_trispan.h.Kenneth Graunke2011-02-106-36/+0
|
* glsl/Makefile: glcpp doesn't need libglsl.a.Kenneth Graunke2011-02-101-1/+2
| | | | | Also, add a 'glcpp' target so you can type 'make glcpp' instead of 'make glcpp/glcpp'.
* r300g: plug a memory leak in winsysMarek Olšák2011-02-111-0/+1
|
* r300g: remove unneeded code in winsysMarek Olšák2011-02-111-6/+0
| | | | We don't need the read/write flags.
* r300g: fix warningMarek Olšák2011-02-111-1/+1
|
* r300g: import the last bits of libdrm and cleanup the whole thingMarek Olšák2011-02-1127-900/+737
| | | | | | | | | | | | | | 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.
* st/mesa: allow rendering to sRGB textures if EXT_fb_srgb is unsupportedMarek Olšák2011-02-111-5/+24
| | | | | In this case, we always use the corresponding linear format in create_surface, therefore we should check for linear format support as well.
* i915: Force lowering of all types of indirect array accesses in the FSIan Romanick2011-02-101-3/+11
| | | | NOTE: This is a candidate for the 7.9 and 7.10 branches.
* i915: Calculate partial result to temp register firstIan Romanick2011-02-101-8/+8
| | | | | | | | | | | | Previously the SNE and SEQ instructions would calculate the partial result to the destination register. This would cause problems if the destination register was also one of the source registers. Fixes piglit tests glsl-fs-any, glsl-fs-struct-equal, glsl-fs-struct-notequal, glsl-fs-vec4-operator-equal, glsl-fs-vec4-operator-notequal. NOTE: This is a candidate for the 7.9 and 7.10 branches.
* u_upload_mgr: Use PIPE_TRANSFER_FLUSH_EXPLICIT.José Fonseca2011-02-101-2/+9
| | | | This can avoid DMAing the whole buffer when just a fraction was changed.
* r300g: implement accelerated copy_region for compressed formatsMarek Olšák2011-02-101-0/+29
|
* r300g: add a way to change texture properties arbitrarilyMarek Olšák2011-02-109-76/+104
| | | | So that we can implement resource_copy on arbitrary data.
* r300g: consolidate buffers and textures to r300_resourceMarek Olšák2011-02-1018-381/+328
| | | | Transfers and create/destroy are still handled separately.
* r300g: simplify WRITE_RELOC API and cleanupMarek Olšák2011-02-1010-136/+126
|
* u_blitter: let the driver check whether there's a recursionMarek Olšák2011-02-102-6/+9
|
* r300g: use format from pipe_surface instead of pipe_resourceMarek Olšák2011-02-102-29/+14
|
* Revert "r300g: support sRGB colorbuffers"Marek Olšák2011-02-101-20/+0
| | | | | | | | This partially reverts commit 91eba2567eab9409d94efc3c1f07a4a3731d0047. Conflicts: src/gallium/drivers/r300/r300_blit.c
* mesa/st: enable GL_EXT_framebuffer_sRGBDave Airlie2011-02-103-3/+14
| | | | | | | | | If the formats don't match we need to update the surface with the new format. if we can render to SRGB formats, enable the extension Signed-off-by: Dave Airlie <[email protected]>
* svga: Don't advertise pixel shader addr register support.José Fonseca2011-02-091-3/+8
| | | | It's not fully supported.
* nvc0: serialize on PIPE_FLUSH_RENDER_CACHE as wellChristoph Bumiller2011-02-091-0/+4
| | | | Effects were easily visible in piglit/fbo-generatemipmap-formats.
* nvc0: fix stride of NVC0_3D_RT methodsChristoph Bumiller2011-02-091-8/+8
|
* nvc0: correct storage type for 16 bit surface formatsChristoph Bumiller2011-02-091-2/+2
|
* nvc0: make CSE work for ops with multiple resultsChristoph Bumiller2011-02-091-13/+72
|
* nvc0: replace branching with predicated insns where feasibleChristoph Bumiller2011-02-095-46/+123
|
* nvc0: implement local memory load and store opsChristoph Bumiller2011-02-093-12/+38
|