Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | vbo: cache last dlist vertex in malloced memory | Keith Whitwell | 2009-04-16 | 3 | -10/+53 |
| | | | | | | Avoids repeated mapping of the VBO buffer on display list replay. We need access to the final vertex in order to update the GL current attrib values. | ||||
* | Merge branch 'gallium-s3tc' | José Fonseca | 2009-04-16 | 4 | -14/+292 |
|\ | |||||
| * | st: remove XXX comment | Brian Paul | 2009-04-15 | 1 | -1/+0 |
| | | |||||
| * | st: check for fast memcpy path in decompress_with_blit() | Brian Paul | 2009-04-15 | 1 | -13/+33 |
| | | |||||
| * | st: st_equal_formats() function to compare gallium/GL pixel formats | Brian Paul | 2009-04-15 | 2 | -0/+24 |
| | | |||||
| * | st: decompress_with_blit() path for glGetTexImage(). | Brian Paul | 2009-04-15 | 1 | -2/+81 |
| | | | | | | | | Decompress a texture by rendering a textured quad. | ||||
| * | mesa: Report name for missing s3tc functions | Jakob Bornecrantz | 2009-04-09 | 1 | -8/+8 |
| | | |||||
| * | st: If the hw supports it do hw conversion of texture uploads | Jakob Bornecrantz | 2009-04-09 | 1 | -4/+160 |
| | | |||||
* | | gallium: Make sure we flush before some texture / buffer operations. | Thomas Hellstrom | 2009-04-15 | 8 | -11/+112 |
| | | | | | | | | | | | | | | Also implement context member functions to optimize away those flushes whenever possible. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | ||||
* | | i965: Clean up output of WM SS state dump, and add format output. | Eric Anholt | 2009-04-15 | 1 | -3/+17 |
| | | |||||
* | | i915: Use DEBUG_WM (like 965) for printing the fragment program out. | Eric Anholt | 2009-04-15 | 1 | -4/+2 |
| | | | | | | | | | | This is nice when paired with INTEL_DEBUG=batch for debugging what's going out to the hardware. | ||||
* | | i915: Add decode of dest buffer variables (destination format) | Eric Anholt | 2009-04-15 | 1 | -0/+30 |
| | | |||||
* | | mesa: Update texenv program when _NEW_ARRAYS is updated as well. | Eric Anholt | 2009-04-15 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | This fixes a regression in fbotest1 on 915, where a transition from color+vertex array enabled to texcoord0+vertex array enabled wouldn't trigger program update on the second _mesa_update_state of DrawArrays, and we'd sample a constant texcoord of 0,0,0,1 instead of the array. The double state update in DrawArrays from 1680ef869625dc1fe9cf481b180382a34e0738e7 still needs fixing. | ||||
* | | intel: Fix segfault when doing SW mipmap generation with a PBO texture upload. | Eric Anholt | 2009-04-15 | 1 | -3/+10 |
| | | | | | | | | | | Triggered in test-fbo from clutter since 37fb2d9b23eab5dbbb43a212c3475cb8016837d8. | ||||
* | | mesa: TGSI translation of multiple render targets. | José Fonseca | 2009-04-15 | 1 | -3/+3 |
| | | |||||
* | | mesa: remove unused matrixType param from ctx->Driver.UniformMatrix() functions | Brian Paul | 2009-04-14 | 3 | -20/+11 |
| | | |||||
* | | mesa: move #define for GL_PROGRAM_BINARY_LENGTH_OES | Brian Paul | 2009-04-14 | 2 | -5/+5 |
| | | |||||
* | | mesa: remove NV vertex/fragment program print/debug code | Brian Paul | 2009-04-14 | 4 | -407/+4 |
| | | | | | | | | The code in prog_print.c can be used instead. | ||||
* | | mesa: use standard offsetof() macro | Brian Paul | 2009-04-14 | 1 | -1/+1 |
| | | |||||
* | | i965: fix VS constant buffer reads | Brian Paul | 2009-04-14 | 3 | -35/+25 |
| | | | | | | | | | | | | | | This mostly came down to finding the right MRF incantation in the brw_dp_READ_4_vs() function. Note: this feature is still disabled (but getting close to done). | ||||
* | | mesa: Fix gcc assembly enable logic. | José Fonseca | 2009-04-14 | 1 | -1/+1 |
| | | | | | | | | The i386 symbol is defined on WINDDK. | ||||
* | | DRI2: Don't fault on NULL DrawBuffer | Ian Romanick | 2009-04-14 | 1 | -1/+1 |
|/ | | | | | | | | | | It is possible for ctx->DrawBuffer to be NULL, so don't fault when that happens. This change is not being committed to master because it doesn't appear to be necessary there. Signed-off-by: Ian Romanick <[email protected]> Cherry picked from mesa_7_4_branch, commit 49e0c74ddd91900fc4effb6d305d56e0563b456d | ||||
* | i965: checkpoint commit: VS constant buffers | Brian Paul | 2009-04-14 | 11 | -91/+477 |
| | | | | | | Hook up a constant buffer, binding table, etc for the VS unit. This will allow using large constant buffers with vertex shaders. The new code is disabled at this time (use_const_buffer=FALSE). | ||||
* | dri glx: Swap before checking for cliprects. | Younes Manton | 2009-04-13 | 1 | -3/+3 |
| | | | | | | | | | | | | We don't update drawables anymore unless they are completely uninitialized, so we need to swap even if we don't have cliprects yet, otherwise we never end up calling the driver's SwapBuffers(). The driver should update the drawable in its SwapBuffers() anyway. See 8e753d04045a82062ac34d3b2622eb9dba8af374, "dri glx: Fix dri_util::driBindContext" for the change that exposed it. | ||||
* | i965: remove unused var | Brian Paul | 2009-04-10 | 1 | -1/+0 |
| | |||||
* | i965: clean-up in prepare_wm_surfaces() | Brian Paul | 2009-04-10 | 1 | -8/+4 |
| | |||||
* | mesa: reduce makefile output | Brian Paul | 2009-04-10 | 1 | -4/+5 |
| | |||||
* | i965: added null const_buffer pointer check in update_constant_buffer() | Brian Paul | 2009-04-10 | 1 | -1/+1 |
| | |||||
* | intel: added screen->dri2.loader null pointer check in intel_flush() | Brian Paul | 2009-04-10 | 1 | -1/+2 |
| | | | | Fixes segfaults when rendering to front buffer. | ||||
* | gallium: remove pipe_texture::compressed field | Brian Paul | 2009-04-10 | 1 | -1/+0 |
| | | | | | The format field encodes compressed vs. uncompressed already. We can easily check if a texture is compressed with pf_is_compressed(texture->format). | ||||
* | swrast: remove some unneeded CHAN_TYPE!=GL_FLOAT code | Brian Paul | 2009-04-09 | 1 | -7/+0 |
| | |||||
* | i965: re-org of some of the new constant buffer code | Brian Paul | 2009-04-09 | 4 | -48/+81 |
| | | | | Plus, begin the new code for vertex shader const buffers. | ||||
* | i965: new SURF_INDEX_ macros | Brian Paul | 2009-04-09 | 5 | -40/+49 |
| | | | | | Used to map drawables, textures and constant buffers to surface binding table indexes. | ||||
* | intel / DRI2: Accept fake front-buffer from loader | Ian Romanick | 2009-04-09 | 1 | -0/+5 |
| | | | | | | | | | Handle the loader returning a fake front-buffer. Since the driver never specifically requests a fake front-buffer, the driver assumes that it will never receive both a fake and a real front-buffer. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]> | ||||
* | intel / DRI2: Track and flush front-buffer rendering | Ian Romanick | 2009-04-09 | 3 | -0/+46 |
| | | | | | | | | | | | Track two flags: whether or not front-buffer rendering is currently enabled and whether or not front-buffer rendering has been enabled since the last glFlush. If the second flag is set, the front-buffer is flushed via a loader call back. If the first flag is cleared, the second flag is cleared at this time. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]> | ||||
* | st: remove another unneeded 'is compressed' comparison | Brian Paul | 2009-04-09 | 1 | -2/+3 |
| | |||||
* | st: remove unneeded "is compressed" check | Brian Paul | 2009-04-09 | 1 | -2/+1 |
| | | | | The format indicates compressed vs. uncompressed. | ||||
* | st: rearrange some code to be a little more clear | Brian Paul | 2009-04-09 | 1 | -9/+7 |
| | |||||
* | gallium: remove unneeded compressed=0 assignment | Brian Paul | 2009-04-09 | 1 | -1/+0 |
| | |||||
* | st: remove comp_byte parameter to st_texture_create() | Brian Paul | 2009-04-09 | 6 | -20/+9 |
| | | | | We can determine if the texture is compressed by checking the format. | ||||
* | st: consolidate format->usage computation | Brian Paul | 2009-04-09 | 1 | -9/+23 |
| | |||||
* | st: add const qualifiers, use GL types | Brian Paul | 2009-04-09 | 1 | -13/+10 |
| | |||||
* | st: make loops over 3D texture slices a litte more intuitive | Brian Paul | 2009-04-09 | 1 | -10/+16 |
| | |||||
* | st: reformatting and clean-ups in texture code | Brian Paul | 2009-04-09 | 1 | -95/+67 |
| | |||||
* | mesa: fix potential recursive locking deadlock in _mesa_HashWalk() | Brian Paul | 2009-04-09 | 1 | -4/+14 |
| | | | | If the walk callback called _mesa_HashRemove() we'd deadlock. | ||||
* | i965: free shader's constant buffer in brwDeleteProgram() | Brian Paul | 2009-04-09 | 1 | -0/+6 |
| | | | | Fixes mem leak observed with texcombine test. | ||||
* | i965: set BRW_MASK_DISABLE flag in "send" instruction in brw_dp_READ_4() | Brian Paul | 2009-04-08 | 1 | -1/+2 |
| | | | | | | This fixes the random results that were seen when fetching a constant inside an IF/ELSE clause. Disabling the execution mask ensures that all the components of the register are written. | ||||
* | i965: clean-ups, debug code in brw_wm_glsl.c | Brian Paul | 2009-04-08 | 1 | -34/+15 |
| | |||||
* | i965: init current_const[i].index = -1 | Brian Paul | 2009-04-08 | 1 | -3/+4 |
| | |||||
* | i965: move the fetch_constants() call before setting conditional mod state | Brian Paul | 2009-04-08 | 1 | -4/+4 |
| | | | | | | | | Before, the instruction's CondUpdate field was mistakenly effecting the constant-fetch operation. Fixes progs/glsl/bump.c demo. But there are some other issues related to condition flags and IF/ELSE that need investigation... |