Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: Make sure we flush before some texture / buffer operations. | Thomas Hellstrom | 2009-04-15 | 22 | -12/+466 |
| | | | | | | | Also implement context member functions to optimize away those flushes whenever possible. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | ||||
* | r300-gallium: Use viewport state. | Corbin Simpson | 2009-04-15 | 1 | -13/+29 |
| | |||||
* | r300-gallium: Don't use indexbufs for now. | Corbin Simpson | 2009-04-15 | 1 | -2/+14 |
| | | | | They aren't working, so best to turn it off. | ||||
* | r300-gallium: Point size is at OVM position 15, not 1. | Corbin Simpson | 2009-04-15 | 2 | -1/+4 |
| | | | | Or so sayeth osiris, and he would know. :3 | ||||
* | r300-gallium: vs: Dot products. | Corbin Simpson | 2009-04-15 | 2 | -0/+34 |
| | |||||
* | 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 |
| | |||||
* | glx: added null pointer check in glXGetFBConfigs() | Brian Paul | 2009-04-15 | 1 | -1/+2 |
| | | | | Fixes segfault seen with glxinfo with NVIDIA OpenGL. | ||||
* | 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). | ||||
* | glx: Make glXGetScreenDriver() work for DRI2 | Adam Jackson | 2009-04-14 | 1 | -21/+35 |
| | |||||
* | 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. | ||||
* | nv50: fix mrt clear | Ben Skeggs | 2009-04-13 | 1 | -8/+11 |
| | |||||
* | r300-gallium: Split up vertex format tallying for HW and SW TCL. | Corbin Simpson | 2009-04-10 | 1 | -27/+50 |
| | | | | This makes things draw (again) with HW TCL. Yay? | ||||
* | r300-gallium: Finish up cleanup of vertex format state. | Corbin Simpson | 2009-04-10 | 1 | -21/+80 |
| | | | | This makes texcoords route properly, and also fixes a few asserts. | ||||
* | r300-gallium: Clean up vertex format setup. | Corbin Simpson | 2009-04-10 | 2 | -76/+108 |
| | |||||
* | 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 |
| | |||||
* | wgl: Protect the framebuffer with a lock. | José Fonseca | 2009-04-10 | 3 | -22/+41 |
| | | | | | | Unfortunately this doesn't catch all the cases, as the mesa state tracker can still use the framebuffer without giving the wgl state tracker the chance to lock it. | ||||
* | wgl: Note down the gallium pixel formats, instead of re-guessing them. | José Fonseca | 2009-04-10 | 6 | -84/+34 |
| | |||||
* | wgl: Query the screen for supported formats. | José Fonseca | 2009-04-10 | 1 | -9/+52 |
| | |||||
* | wgl: Walk through the pixel formats combinations. | José Fonseca | 2009-04-10 | 3 | -68/+94 |
| | |||||
* | wgl: Keep copies of the PIXELFORMATDESCRIPTOR structures. | José Fonseca | 2009-04-10 | 4 | -133/+139 |
| | |||||
* | 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 | 7 | -7/+0 |
| | | | | | The format field encodes compressed vs. uncompressed already. We can easily check if a texture is compressed with pf_is_compressed(texture->format). | ||||
* | wgl: Slightly simplify pixelformat creation. | José Fonseca | 2009-04-10 | 1 | -52/+44 |
| | |||||
* | wgl: Move pixel format information into device structure. | José Fonseca | 2009-04-10 | 3 | -18/+25 |
| | |||||
* | wgl: Combine alpha pixelformat info in color. | José Fonseca | 2009-04-10 | 4 | -26/+12 |
| | |||||
* | stw: Reorder the pixelformats, so that no alpha pixelformats get chosen ↵ | José Fonseca | 2009-04-10 | 1 | -9/+9 |
| | | | | | | | before alpha. Some applications might not handle a alpha visual when when they did not request for one. | ||||
* | stw: Don't make assumptions about integer size. | José Fonseca | 2009-04-10 | 1 | -1/+1 |
| | |||||
* | stw: Free the mesa framebuffer. | José Fonseca | 2009-04-10 | 1 | -0/+2 |
| | |||||
* | tgsi/sse2: Cleanup NRM/NRM4 implementation. | Michal Krol | 2009-04-10 | 1 | -25/+76 |
| | | | | | | Fix comments. Make sure .w is set to 1.0 for NRM. Optimise for non-.xyzw writemasks. | ||||
* | rtasm: Silence `static function not used' warning. | Michal Krol | 2009-04-10 | 1 | -0/+2 |
| | |||||
* | draw: Silence pointer-to-integer cast warning. | Michal Krol | 2009-04-10 | 1 | -1/+1 |
| | |||||
* | draw: Fix vertex_header initialisation. | Michal Krol | 2009-04-10 | 1 | -1/+1 |
| | |||||
* | swrast: remove some unneeded CHAN_TYPE!=GL_FLOAT code | Brian Paul | 2009-04-09 | 1 | -7/+0 |
| | |||||
* | gallium: comments for surface_copy(), surface_fill() in p_context.h | Brian Paul | 2009-04-09 | 1 | -2/+9 |
| | |||||
* | 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. |