summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* swrast: fix secondary color add for glBitmapBrian Paul2009-04-063-11/+30
| | | | | Also, clean up the logic involved in choosing per-vertex vs. per-fragment primary+secondary color addition.
* stw: Choose a color buffer format that matches the visual.José Fonseca2009-04-061-5/+37
| | | | | | | The massive ifs are ugly, but it's not worth to automate this for just a handful of formats. Fixes conform bcolor.c.
* softpipe: clean up the buffer clear and tile cache code a littleBrian Paul2009-04-063-39/+15
|
* swrast: fix incorrect arithmetic for GL_ADD_SIGNED/GL_COMBINE4_NV modeBrian Paul2009-04-061-6/+6
|
* st: as with swrast, interpret texture border color according to texture formatBrian Paul2009-04-061-4/+37
| | | | | Depending on the hardware driver this might not be needed, but it will cause no harm.
* st: rename a helper functionBrian Paul2009-04-061-4/+4
|
* swrast: fix texture border color interpretationBrian Paul2009-04-061-30/+68
| | | | | | | The texture border color must be interpreted according to the texture's base format. For example, for a GL_ALPHA texture, sampling the border color should return (0,0,0,borderAlpha). This wasn't an issue here until I removed the legacy texenv code (we always use the combiner path now).
* mesa: Fix orientation adjustment for reading stencil pixels.José Fonseca2009-04-061-1/+1
| | | | Fixes conform spcorner.c & spclear.c failure.
* intel: Avoid dri2 GetBuffers round-trips for internal Viewport calls.Eric Anholt2009-04-063-3/+10
| | | | | | This gets us the savings for driver-internal viewport calls that dd1c68f15123a889a3ce9d2afe724e272d163e32 was attempting, without relying on Xlib internals or clients handling X events.
* i965: Use GTT maps when available to upload vertex arrays and system VBOs.Eric Anholt2009-04-063-18/+55
| | | | | | | This speeds up OA on my GM45 by 21% (more than the original CPU cost of the upload path). We might still be able to squeeze a few more percent out by avoiding repeatedly mapping/unmapping buffers as we upload elements into them.
* intel: Clean up some a leftover from sedding of bufmgr context->screen move.Eric Anholt2009-04-061-3/+0
|
* r300-gallium: Skeleton for integrating into the python statetracker.José Fonseca2009-04-066-0/+1305
|
* radeon: Expose a 32 bit RGBA fbconfig even when the screen depth is 16.Michel Dänzer2009-04-061-15/+20
| | | | | | | Otherwise current xserver / libGL no longer expose a 32 bit RGBA GLX visual, and compiz fails. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=20479 .
* r300-gallium: vp: Moar.Corbin Simpson2009-04-051-2/+26
|
* r300-gallium: vs: Use a tab to properly set up OVM.Corbin Simpson2009-04-052-44/+17
|
* r300-gallium: Re-translate shaders if constants change.Corbin Simpson2009-04-052-3/+9
|
* r300-gallium: Properly interface with Draw for vert shaders.Corbin Simpson2009-04-055-0/+31
|
* r300-gallium: Update state handlers/setters for vertex shaders.Corbin Simpson2009-04-051-16/+49
|
* r300-gallium: vs: Moar vert shaders.Corbin Simpson2009-04-042-5/+38
|
* r300-gallium: vs: Expand instruction emission.Corbin Simpson2009-04-041-2/+55
|
* r300-gallium: Update clear() code.Corbin Simpson2009-04-042-8/+20
| | | | We have a huge optimization opportunity, but for now we'll just use the util.
* cell: update clear() code to catch up to gallium changesBrian Paul2009-04-043-39/+25
|
* python/regress: Clean up driver clear() interface.Michal Krol2009-04-041-1/+6
|
* gallium: Clean up driver clear() interface.Michel Dänzer2009-04-0426-256/+263
| | | | | Only allows clearing currently bound buffers, but colour and depth/stencil in a single call.
* gallium: Add utility helper for packing combined depth/stencil values.Michel Dänzer2009-04-042-13/+23
|
* python/regress: Remove trailing whitespace.Michal Krol2009-04-042-2/+2
|
* python/regress: Initial fragment shader test suite.Michal Krol2009-04-0427-0/+499
|
* python/regress: Use X8R8G8B8 rendertarget in vertex shader test.Michal Krol2009-04-041-1/+1
|
* radeon: A bit of indent and line break cleanup.Corbin Simpson2009-04-043-15/+22
|
* r300-gallium: Calculate vert shader inputs for HW TCL.Corbin Simpson2009-04-041-1/+8
| | | | This is definitely not perfect.
* radeon: If the CS emit fails, dump it to stderr.Corbin Simpson2009-04-041-1/+7
|
* r300-gallium: Fix bad register write.Corbin Simpson2009-04-041-3/+4
|
* r300-gallium: Move swtcl_emit to render to reflect its true purpose.Corbin Simpson2009-04-045-41/+41
|
* Add scons build support for radeon/r300.Corbin Simpson2009-04-046-35/+59
|
* radeon: Fix compile warnings, compile errors.Corbin Simpson2009-04-041-1/+6
|
* r300-gallium: Clean up compile warnings and strict compile errors.Corbin Simpson2009-04-045-24/+23
|
* r300-gallium: r500 surface_copy fragment shader.Corbin Simpson2009-04-041-8/+23
|
* intel: #include texgetimage.hBrian Paul2009-04-031-0/+1
|
* mesa: move glGetTexImage(), glGetCompresssedTexImage() code into new fileBrian Paul2009-04-039-335/+409
|
* mesa: remove the noClamp parameter to _mesa_pack_rgba_span_float()Brian Paul2009-04-038-15/+18
| | | | | It was only set to GL_TRUE in one place where it isn't really needed (glGetTexImage(sRGB format)).
* mesa: clamp colors to [0,1] for glGetTexImage() when format is GL_LUMINANCEBrian Paul2009-04-031-4/+6
| | | | For luminance, we add R+G+B and it seems we should always clamp in case.
* mesa: whitespace and comment clean-upBrian Paul2009-04-031-11/+16
|
* mesa: remove extra semicolonsBrian Paul2009-04-031-5/+5
|
* softpipe: add additional surface formats in tile cache codeBrian Paul2009-04-031-0/+3
|
* mesa: in mesa_add_named_constant(), avoid adding duplicate constantsBrian Paul2009-04-031-7/+12
|
* mesa: fix parameter counting in ARB vertex/fragment program parsingBrian Paul2009-04-031-5/+2
| | | | Duplicated unnamed constants were getting counted more than once.
* mesa: replace >= with > when testing if we've exceeded max local paramsBrian Paul2009-04-031-2/+2
| | | | Now a program that uses 256 locals works as it should.
* mesa: only clear matrix MAT_DIRTY_INVERSE flag when we actually compute the ↵Brian Paul2009-04-031-3/+2
| | | | | | | | inverse If _math_matrix_analyse() got called before we allocated the inverse matrix array we could lose the flag indicating that we needed to compute the inverse. This could happen with certain vertex shader cases.
* mesa: for OPCODE_LIT, use _mesa_pow() instead of exp() and log()Brian Paul2009-04-031-2/+2
| | | | Also, s/pow/_mesa_pow/
* python/regress: Use A8R8G8B8 rendertarget format.Michal Krol2009-04-031-1/+1
|