Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r300g: consolidate emission of common draw regs | Marek Olšák | 2011-02-14 | 1 | -21/+23 |
| | |||||
* | r300g: Move declaration before code. | Vinson Lee | 2011-02-14 | 1 | -3/+4 |
| | | | | Fixes SCons build. | ||||
* | r600g: do not destroy the original index buffer when translating indices | Marek Olšák | 2011-02-14 | 1 | -2/+2 |
| | | | | Because we only translate a subrange of the buffer. | ||||
* | r300g: emit 3D_LOAD_VBPNTR only when necessary | Marek Olšák | 2011-02-14 | 4 | -64/+33 |
| | | | | | I thought I couldn't skip emitting this packet in some cases. Well it looks like I can. | ||||
* | r300g: fix reference counting when translating indices | Marek Olšák | 2011-02-14 | 1 | -0/+3 |
| | |||||
* | u_index_modify: map buffers with PIPE_TRANSFER_UNSYNCHRONIZED | Marek Olšák | 2011-02-14 | 1 | -3/+12 |
| | |||||
* | r300g: remove the relocation after AARESOLVE_PITCH | Marek Olšák | 2011-02-14 | 2 | -3/+1 |
| | |||||
* | nv50: fix query assertion | Marcin Slusarz | 2011-02-13 | 1 | -1/+1 |
| | |||||
* | r300g: correctly determine if a texture is blittable in texture_get_transfer | Marek Olšák | 2011-02-13 | 1 | -4/+5 |
| | |||||
* | r300g: fixup the handle_compare function | Marek Olšák | 2011-02-13 | 1 | -2/+2 |
| | | | | Accidentally negated in 685c3262b945a7f0e9f1f3a9409a12fdda08c828. | ||||
* | r300g: when printing shader linker errors to stderr, report it's not a bug | Marek Olšák | 2011-02-12 | 1 | -3/+6 |
| | |||||
* | r300g: add debug options nozmask and nohiz which disable some hyper-z features | Marek Olšák | 2011-02-12 | 3 | -0/+9 |
| | |||||
* | r300g: typecast void* to unsigned correctly | Marek Olšák | 2011-02-12 | 1 | -2/+4 |
| | |||||
* | r300g: improve function radeon_bo_is_referenced_by_cs | Marek Olšák | 2011-02-12 | 5 | -18/+30 |
| | | | | | This should prevent calling into radeon_get_reloc when there's only one context. | ||||
* | u_vbuf_mgr: fix segfault | Marek Olšák | 2011-02-12 | 1 | -1/+1 |
| | | | | | max_index could have been less than min_index, which later caused integer underflow followed by a segfault in memcpy. | ||||
* | svga: disable a debug_printf() call | Brian Paul | 2011-02-11 | 1 | -5/+9 |
| | |||||
* | svga: comments and debug code | Brian Paul | 2011-02-11 | 1 | -0/+10 |
| | |||||
* | svga: more comments for need_pipeline field | Brian Paul | 2011-02-11 | 1 | -1/+4 |
| | |||||
* | draw: tweak AA line texture minimum alpha | Brian Paul | 2011-02-11 | 1 | -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 Paul | 2011-02-11 | 1 | -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 whitespace | Brian Paul | 2011-02-11 | 1 | -4/+0 |
| | |||||
* | svga: Enable the draw pipeline for smooth lines. | José Fonseca | 2011-02-11 | 1 | -0/+5 |
| | | | | Spotted by Brian Paul. | ||||
* | svga: Don't use the draw pipeline for non-AA lines with a fractional width. | José Fonseca | 2011-02-11 | 1 | -2/+1 |
| | | | | Spotted by Jakob Bornecrantz. | ||||
* | draw: Don't use the pipeline when drawing lines with fractional widths. | José Fonseca | 2011-02-11 | 3 | -5/+6 |
| | | | | Spotted by Jakob Bornecrantz. | ||||
* | llvmpipe: Use u_math's round. | José Fonseca | 2011-02-11 | 1 | -12/+1 |
| | |||||
* | util: Define round and roundf on MSVC. | José Fonseca | 2011-02-11 | 1 | -1/+13 |
| | |||||
* | svga: Stippled lines can also be drawn with triangles. | José Fonseca | 2011-02-11 | 2 | -2/+3 |
| | |||||
* | r300g: remove unused function prototypes, update copyright | Marek Olšák | 2011-02-11 | 4 | -4/+56 |
| | |||||
* | st/egl wayland: Sync front buffer release | Benjamin Franzke | 2011-02-10 | 2 | -1/+33 |
| | |||||
* | st/dri: Set render_buffer in dri_fill_st_visual | Benjamin Franzke | 2011-02-10 | 1 | -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 Franzke | 2011-02-10 | 1 | -1/+1 |
| | |||||
* | st/dri: Fix surfaceless gl using contexts with previous bound surfaces | Benjamin Franzke | 2011-02-10 | 1 | -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_visual | Benjamin Franzke | 2011-02-10 | 1 | -5/+6 |
| | |||||
* | r600g: get correct height alignment | Dave Airlie | 2011-02-11 | 1 | -3/+2 |
| | | | | useful for s3tc | ||||
* | r600g: drop two unused | 0 that are actually in word4 anyways. | Dave Airlie | 2011-02-11 | 2 | -2/+2 |
| | | | | | | these were NOPs anyways. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: handle 16/32 u/s norm formats properly | Dave Airlie | 2011-02-11 | 7 | -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_create | Marek Olšák | 2011-02-11 | 1 | -3/+3 |
| | | | | | Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=33185 | ||||
* | r300g: plug a memory leak in winsys | Marek Olšák | 2011-02-11 | 1 | -0/+1 |
| | |||||
* | r300g: remove unneeded code in winsys | Marek Olšák | 2011-02-11 | 1 | -6/+0 |
| | | | | We don't need the read/write flags. | ||||
* | r300g: fix warning | Marek Olšák | 2011-02-11 | 1 | -1/+1 |
| | |||||
* | r300g: import the last bits of libdrm and cleanup the whole thing | Marek Olšák | 2011-02-11 | 27 | -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. | ||||
* | u_upload_mgr: Use PIPE_TRANSFER_FLUSH_EXPLICIT. | José Fonseca | 2011-02-10 | 1 | -2/+9 |
| | | | | This can avoid DMAing the whole buffer when just a fraction was changed. | ||||
* | r300g: implement accelerated copy_region for compressed formats | Marek Olšák | 2011-02-10 | 1 | -0/+29 |
| | |||||
* | r300g: add a way to change texture properties arbitrarily | Marek Olšák | 2011-02-10 | 9 | -76/+104 |
| | | | | So that we can implement resource_copy on arbitrary data. | ||||
* | r300g: consolidate buffers and textures to r300_resource | Marek Olšák | 2011-02-10 | 18 | -381/+328 |
| | | | | Transfers and create/destroy are still handled separately. | ||||
* | r300g: simplify WRITE_RELOC API and cleanup | Marek Olšák | 2011-02-10 | 10 | -136/+126 |
| | |||||
* | u_blitter: let the driver check whether there's a recursion | Marek Olšák | 2011-02-10 | 2 | -6/+9 |
| | |||||
* | r300g: use format from pipe_surface instead of pipe_resource | Marek Olšák | 2011-02-10 | 2 | -29/+14 |
| | |||||
* | Revert "r300g: support sRGB colorbuffers" | Marek Olšák | 2011-02-10 | 1 | -20/+0 |
| | | | | | | | | This partially reverts commit 91eba2567eab9409d94efc3c1f07a4a3731d0047. Conflicts: src/gallium/drivers/r300/r300_blit.c | ||||
* | svga: Don't advertise pixel shader addr register support. | José Fonseca | 2011-02-09 | 1 | -3/+8 |
| | | | | It's not fully supported. |