summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* gallium: Make sure we flush before some texture / buffer operations.Thomas Hellstrom2009-04-1522-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 Simpson2009-04-151-13/+29
|
* r300-gallium: Don't use indexbufs for now.Corbin Simpson2009-04-151-2/+14
| | | | They aren't working, so best to turn it off.
* r300-gallium: Point size is at OVM position 15, not 1.Corbin Simpson2009-04-152-1/+4
| | | | Or so sayeth osiris, and he would know. :3
* r300-gallium: vs: Dot products.Corbin Simpson2009-04-152-0/+34
|
* i965: Clean up output of WM SS state dump, and add format output.Eric Anholt2009-04-151-3/+17
|
* i915: Use DEBUG_WM (like 965) for printing the fragment program out.Eric Anholt2009-04-151-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 Anholt2009-04-151-0/+30
|
* mesa: Update texenv program when _NEW_ARRAYS is updated as well.Eric Anholt2009-04-151-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 Anholt2009-04-151-3/+10
| | | | | Triggered in test-fbo from clutter since 37fb2d9b23eab5dbbb43a212c3475cb8016837d8.
* mesa: TGSI translation of multiple render targets.José Fonseca2009-04-151-3/+3
|
* glx: added null pointer check in glXGetFBConfigs()Brian Paul2009-04-151-1/+2
| | | | Fixes segfault seen with glxinfo with NVIDIA OpenGL.
* mesa: remove unused matrixType param from ctx->Driver.UniformMatrix() functionsBrian Paul2009-04-143-20/+11
|
* mesa: move #define for GL_PROGRAM_BINARY_LENGTH_OESBrian Paul2009-04-142-5/+5
|
* mesa: remove NV vertex/fragment program print/debug codeBrian Paul2009-04-144-407/+4
| | | | The code in prog_print.c can be used instead.
* mesa: use standard offsetof() macroBrian Paul2009-04-141-1/+1
|
* i965: fix VS constant buffer readsBrian Paul2009-04-143-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 DRI2Adam Jackson2009-04-141-21/+35
|
* mesa: Fix gcc assembly enable logic.José Fonseca2009-04-141-1/+1
| | | | The i386 symbol is defined on WINDDK.
* DRI2: Don't fault on NULL DrawBufferIan Romanick2009-04-141-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 buffersBrian Paul2009-04-1411-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 Manton2009-04-131-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 clearBen Skeggs2009-04-131-8/+11
|
* r300-gallium: Split up vertex format tallying for HW and SW TCL.Corbin Simpson2009-04-101-27/+50
| | | | This makes things draw (again) with HW TCL. Yay?
* r300-gallium: Finish up cleanup of vertex format state.Corbin Simpson2009-04-101-21/+80
| | | | This makes texcoords route properly, and also fixes a few asserts.
* r300-gallium: Clean up vertex format setup.Corbin Simpson2009-04-102-76/+108
|
* i965: remove unused varBrian Paul2009-04-101-1/+0
|
* i965: clean-up in prepare_wm_surfaces()Brian Paul2009-04-101-8/+4
|
* mesa: reduce makefile outputBrian Paul2009-04-101-4/+5
|
* wgl: Protect the framebuffer with a lock.José Fonseca2009-04-103-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é Fonseca2009-04-106-84/+34
|
* wgl: Query the screen for supported formats.José Fonseca2009-04-101-9/+52
|
* wgl: Walk through the pixel formats combinations.José Fonseca2009-04-103-68/+94
|
* wgl: Keep copies of the PIXELFORMATDESCRIPTOR structures.José Fonseca2009-04-104-133/+139
|
* i965: added null const_buffer pointer check in update_constant_buffer()Brian Paul2009-04-101-1/+1
|
* intel: added screen->dri2.loader null pointer check in intel_flush()Brian Paul2009-04-101-1/+2
| | | | Fixes segfaults when rendering to front buffer.
* gallium: remove pipe_texture::compressed fieldBrian Paul2009-04-107-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é Fonseca2009-04-101-52/+44
|
* wgl: Move pixel format information into device structure.José Fonseca2009-04-103-18/+25
|
* wgl: Combine alpha pixelformat info in color.José Fonseca2009-04-104-26/+12
|
* stw: Reorder the pixelformats, so that no alpha pixelformats get chosen ↵José Fonseca2009-04-101-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é Fonseca2009-04-101-1/+1
|
* stw: Free the mesa framebuffer.José Fonseca2009-04-101-0/+2
|
* tgsi/sse2: Cleanup NRM/NRM4 implementation.Michal Krol2009-04-101-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 Krol2009-04-101-0/+2
|
* draw: Silence pointer-to-integer cast warning.Michal Krol2009-04-101-1/+1
|
* draw: Fix vertex_header initialisation.Michal Krol2009-04-101-1/+1
|
* swrast: remove some unneeded CHAN_TYPE!=GL_FLOAT codeBrian Paul2009-04-091-7/+0
|
* gallium: comments for surface_copy(), surface_fill() in p_context.hBrian Paul2009-04-091-2/+9
|
* i965: re-org of some of the new constant buffer codeBrian Paul2009-04-094-48/+81
| | | | Plus, begin the new code for vertex shader const buffers.