Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util: Handle correctly 24bit formats. | José Fonseca | 2010-02-24 | 1 | -61/+64 |
| | |||||
* | util: Minor tweaks to ambigous/unused format descriptions. | José Fonseca | 2010-02-24 | 1 | -6/+6 |
| | |||||
* | util: Fix swizzles for SRGB formats. | José Fonseca | 2010-02-24 | 1 | -10/+10 |
| | | | | | | Based on Marek Olšák's fix 8-bits-per-channel formats swizzles, with the exception that the notation for several formats (the vector formats) is actually reversed so they should be left alone. | ||||
* | util: Organize formats in groups. Add comments. | José Fonseca | 2010-02-24 | 1 | -35/+61 |
| | |||||
* | util: Allow '#' comments in u_format.csv. | José Fonseca | 2010-02-24 | 1 | -1/+9 |
| | |||||
* | mesa: disable unreachable meta mipmap gen code | Brian Paul | 2010-02-24 | 1 | -0/+3 |
| | | | | | | | More work is needed to support 3D mipmap generation. Disable unreachable code until then. See bug 26722. | ||||
* | util: Kill unused UTIL_FORMAT_LAYOUT_SCALAR. | José Fonseca | 2010-02-24 | 1 | -6/+0 |
| | |||||
* | llvmpipe: Kill unused UTIL_FORMAT_LAYOUT_SCALAR. | José Fonseca | 2010-02-24 | 1 | -4/+2 |
| | |||||
* | util: Store more derived data in the the format description. | José Fonseca | 2010-02-24 | 3 | -0/+48 |
| | |||||
* | radeon/r200: fix the state emission before kernel clear | Dave Airlie | 2010-02-24 | 2 | -1/+4 |
| | | | | | | this moves the emission outside the lock and adds r200 support. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600: Assert that array index is not negative. | Vinson Lee | 2010-02-24 | 1 | -0/+1 |
| | |||||
* | radeon: fix bad state emission causes kernel to do bad depth clear | Dave Airlie | 2010-02-24 | 1 | -0/+1 |
| | | | | | | | | | The kernel lets you clear depth without getting a depth offset from userspace, mesa used to emit state before clear, but that got lost in the refactoring, which made the kernel bug show up. Fix mesa driver to emit the state properly now. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | intel: Call intel_prepare_render() in intelMakeCurrent() | Kristian Høgsberg | 2010-02-23 | 1 | -0/+1 |
| | | | | | | | | This restores old behaviour, where we end up doing a DRI2GetBuffers() call from intelMakeCurrent(). The idea was that we could do this lazily, just before we start rendering. However, if we don't do the DRI2GetBuffers() round-trip we don't get the drawable size and higher level mesa ends up short-cutting a number of GL calls, such as glClear(). | ||||
* | gallivm: added clamp and int_to_float functions | Brian Paul | 2010-02-23 | 2 | -1/+50 |
| | |||||
* | llvmpipe: add lp_tile_image.c to sources | Brian Paul | 2010-02-23 | 2 | -0/+2 |
| | |||||
* | llvmpipe: whole image tile/untile functions | Brian Paul | 2010-02-23 | 2 | -0/+183 |
| | |||||
* | st/mesa: whitespace fixes | Brian Paul | 2010-02-23 | 1 | -4/+1 |
| | |||||
* | llvmpipe: remove Z16 format override hack | Brian Paul | 2010-02-23 | 1 | -6/+0 |
| | |||||
* | llvmpipe: Z16 format is not supported | Brian Paul | 2010-02-23 | 1 | -0/+4 |
| | |||||
* | st/glx: improved depth/stencil format selection code | Brian Paul | 2010-02-23 | 3 | -43/+71 |
| | | | | | Actually ask the gallium screen what Z/stencil format is supported. This will let us remove some hacks in the llvmpipe driver. | ||||
* | st/glx: added PIPE_FORMAT_Z24S8_UNORM code | Brian Paul | 2010-02-23 | 1 | -1/+6 |
| | |||||
* | llvmpipe: added assertions to verify that scene is empty | Brian Paul | 2010-02-23 | 2 | -0/+5 |
| | |||||
* | llvmpipe: added some assertions | Brian Paul | 2010-02-23 | 1 | -0/+3 |
| | |||||
* | glapi: fix es after mv | George Sapountzis | 2010-02-24 | 14 | -17/+17 |
| | |||||
* | glapi: fix code generation Makefile after mv | George Sapountzis | 2010-02-24 | 1 | -73/+118 |
| | |||||
* | glapi: mv code generation to subdir | George Sapountzis | 2010-02-24 | 42 | -0/+0 |
| | | | | This just moves files, code generation Makefile will be fixed in next commit for easier review. | ||||
* | r300g: fix texture swizzling for the SRGB formats | Marek Olšák | 2010-02-24 | 1 | -4/+20 |
| | |||||
* | glx: Fix some typos in pointer checking for OML_sync_control entry points. | kleinerm | 2010-02-23 | 1 | -3/+3 |
| | | | | | Signed-off-by: Mario Kleiner <[email protected]> Signed-off-by: Brian Paul <[email protected]> | ||||
* | pipebuffer: slab: if size < alignment, use alignment to find bucket | Luca Barbieri | 2010-02-23 | 1 | -1/+5 |
| | | | | | | | | | | If the size is lower than the alignment, we must use the alignment to select the bucket. Otherwise, the selected bucket won't be able to satisfy our request and will fail. Signed-off-by: José Fonseca <[email protected]> | ||||
* | pipebuffer: fix inverted signalled checking | Luca Barbieri | 2010-02-23 | 1 | -1/+1 |
| | | | | | | A return of 0 means the fence is signalled. Signed-off-by: José Fonseca <[email protected]> | ||||
* | pipebuffer: avoid assert due to increasing a zeroed refcnt | Luca Barbieri | 2010-02-23 | 1 | -1/+1 |
| | | | | | | | | The cache manager stores buffers with a reference count that dropped to 0. pipe_reference asserts in this case on debug builds, so use pipe_reference_init instead. Signed-off-by: José Fonseca <[email protected]> | ||||
* | i965: Enable GL_ARB_fragment_coord_conventions now that the GLSL is fixed. | Eric Anholt | 2010-02-23 | 1 | -0/+1 |
| | | | | Tested with piglit glsl-arb-fragment-coord-conventions. | ||||
* | egl: Remove unused _EGL_SKIP_HANDLE_CHECK. | Chia-I Wu | 2010-02-23 | 4 | -53/+0 |
| | | | | | | It was added to skip checking EGLDisplay, EGLSurface, and etc. It is never defined and the spec does not allow the checks to be skipped. Remove it for good. | ||||
* | st/egl: Unify surface creation. | Chia-I Wu | 2010-02-23 | 1 | -107/+97 |
| | | | | | Add a new function egl_g3d_create_surface and use it to create window, pixmap, buffer, and screen surfaces. | ||||
* | mesa: Assert that array index is not negative. | Vinson Lee | 2010-02-23 | 1 | -0/+1 |
| | |||||
* | glsl/apps: Assert that ftell does not return an error. | Vinson Lee | 2010-02-22 | 5 | -0/+6 |
| | |||||
* | i965g: Add fallthrough comments in switch statement. | Vinson Lee | 2010-02-22 | 1 | -3/+3 |
| | | | | Silences warnings about missing break statements in static analysis. | ||||
* | draw: Remove dead code. | Vinson Lee | 2010-02-22 | 1 | -7/+1 |
| | |||||
* | r300g: fix draw_elements for "start" != 0 | Marek Olšák | 2010-02-23 | 1 | -7/+2 |
| | | | | Reported-by: Andre Maasikas <[email protected]> | ||||
* | svga: Upload user buffers only once. | José Fonseca | 2010-02-22 | 4 | -29/+46 |
| | |||||
* | svga: Fix the guest offset of piecewise buffer DMAs. | José Fonseca | 2010-02-22 | 3 | -7/+9 |
| | | | | | It was being erroneously set equal to the host offset, but it should be zero. | ||||
* | svga: Emit a scalar rcp in shadow maps. | José Fonseca | 2010-02-22 | 1 | -4/+4 |
| | | | | Small improvement in Lightsmark 2008. | ||||
* | svga: Don't emit zero writemasks. | José Fonseca | 2010-02-22 | 2 | -28/+39 |
| | | | | | | | | This fixes a regression with Lightsmark, where more compact TGSI from Mesa was causing a zero mask MOV to be emitted for shadow map compare, causing problems in some backends. Add a few more assertions to catch cases like this. | ||||
* | tgsi: Report an error when a destination has an empty writemask. | José Fonseca | 2010-02-22 | 1 | -0/+3 |
| | |||||
* | svga: Upload the dirty ranges instead of the whole buffer. | José Fonseca | 2010-02-22 | 1 | -45/+48 |
| | |||||
* | svga: Break uploads of big buffers into smaller pieces. | José Fonseca | 2010-02-22 | 2 | -22/+147 |
| | | | | | | Fixes crash in Homeworld2 which tries to create a 14MB buffer, because we now avoid creating GMR buffers larger than 8MB to ensure progress given we have only a 16MB pool. | ||||
* | svga: Note ranges even when there is no hardware buffer around. | José Fonseca | 2010-02-22 | 1 | -5/+2 |
| | | | | | Not having a hardware buffer around doesn't change the fact that the range is dirty and needs to be uploaded eventually. | ||||
* | svga: Further cleanup/comment svga buffer code. | José Fonseca | 2010-02-22 | 2 | -112/+142 |
| | | | | Just cosmetic changes -- no behavior change. | ||||
* | svga: Temporarily create a sw vertex buf when failed to create a hw buf. | José Fonseca | 2010-02-22 | 1 | -7/+20 |
| | | | | | Many apps don't check the return of map buffer so it is better not to fail. | ||||
* | svga: Remove unused buffer download code. | José Fonseca | 2010-02-22 | 2 | -45/+0 |
| | | | | Unnecessary now that we never destroy buffer storage. |