Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | swrast: fix secondary color add for glBitmap | Brian Paul | 2009-04-06 | 3 | -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é Fonseca | 2009-04-06 | 1 | -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 little | Brian Paul | 2009-04-06 | 3 | -39/+15 |
| | |||||
* | swrast: fix incorrect arithmetic for GL_ADD_SIGNED/GL_COMBINE4_NV mode | Brian Paul | 2009-04-06 | 1 | -6/+6 |
| | |||||
* | st: as with swrast, interpret texture border color according to texture format | Brian Paul | 2009-04-06 | 1 | -4/+37 |
| | | | | | Depending on the hardware driver this might not be needed, but it will cause no harm. | ||||
* | st: rename a helper function | Brian Paul | 2009-04-06 | 1 | -4/+4 |
| | |||||
* | swrast: fix texture border color interpretation | Brian Paul | 2009-04-06 | 1 | -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é Fonseca | 2009-04-06 | 1 | -1/+1 |
| | | | | Fixes conform spcorner.c & spclear.c failure. | ||||
* | intel: Avoid dri2 GetBuffers round-trips for internal Viewport calls. | Eric Anholt | 2009-04-06 | 3 | -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 Anholt | 2009-04-06 | 3 | -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 Anholt | 2009-04-06 | 1 | -3/+0 |
| | |||||
* | r300-gallium: Skeleton for integrating into the python statetracker. | José Fonseca | 2009-04-06 | 6 | -0/+1305 |
| | |||||
* | radeon: Expose a 32 bit RGBA fbconfig even when the screen depth is 16. | Michel Dänzer | 2009-04-06 | 1 | -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 Simpson | 2009-04-05 | 1 | -2/+26 |
| | |||||
* | r300-gallium: vs: Use a tab to properly set up OVM. | Corbin Simpson | 2009-04-05 | 2 | -44/+17 |
| | |||||
* | r300-gallium: Re-translate shaders if constants change. | Corbin Simpson | 2009-04-05 | 2 | -3/+9 |
| | |||||
* | r300-gallium: Properly interface with Draw for vert shaders. | Corbin Simpson | 2009-04-05 | 5 | -0/+31 |
| | |||||
* | r300-gallium: Update state handlers/setters for vertex shaders. | Corbin Simpson | 2009-04-05 | 1 | -16/+49 |
| | |||||
* | r300-gallium: vs: Moar vert shaders. | Corbin Simpson | 2009-04-04 | 2 | -5/+38 |
| | |||||
* | r300-gallium: vs: Expand instruction emission. | Corbin Simpson | 2009-04-04 | 1 | -2/+55 |
| | |||||
* | r300-gallium: Update clear() code. | Corbin Simpson | 2009-04-04 | 2 | -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 changes | Brian Paul | 2009-04-04 | 3 | -39/+25 |
| | |||||
* | python/regress: Clean up driver clear() interface. | Michal Krol | 2009-04-04 | 1 | -1/+6 |
| | |||||
* | gallium: Clean up driver clear() interface. | Michel Dänzer | 2009-04-04 | 26 | -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änzer | 2009-04-04 | 2 | -13/+23 |
| | |||||
* | python/regress: Remove trailing whitespace. | Michal Krol | 2009-04-04 | 2 | -2/+2 |
| | |||||
* | python/regress: Initial fragment shader test suite. | Michal Krol | 2009-04-04 | 27 | -0/+499 |
| | |||||
* | python/regress: Use X8R8G8B8 rendertarget in vertex shader test. | Michal Krol | 2009-04-04 | 1 | -1/+1 |
| | |||||
* | radeon: A bit of indent and line break cleanup. | Corbin Simpson | 2009-04-04 | 3 | -15/+22 |
| | |||||
* | r300-gallium: Calculate vert shader inputs for HW TCL. | Corbin Simpson | 2009-04-04 | 1 | -1/+8 |
| | | | | This is definitely not perfect. | ||||
* | radeon: If the CS emit fails, dump it to stderr. | Corbin Simpson | 2009-04-04 | 1 | -1/+7 |
| | |||||
* | r300-gallium: Fix bad register write. | Corbin Simpson | 2009-04-04 | 1 | -3/+4 |
| | |||||
* | r300-gallium: Move swtcl_emit to render to reflect its true purpose. | Corbin Simpson | 2009-04-04 | 5 | -41/+41 |
| | |||||
* | Add scons build support for radeon/r300. | Corbin Simpson | 2009-04-04 | 6 | -35/+59 |
| | |||||
* | radeon: Fix compile warnings, compile errors. | Corbin Simpson | 2009-04-04 | 1 | -1/+6 |
| | |||||
* | r300-gallium: Clean up compile warnings and strict compile errors. | Corbin Simpson | 2009-04-04 | 5 | -24/+23 |
| | |||||
* | r300-gallium: r500 surface_copy fragment shader. | Corbin Simpson | 2009-04-04 | 1 | -8/+23 |
| | |||||
* | intel: #include texgetimage.h | Brian Paul | 2009-04-03 | 1 | -0/+1 |
| | |||||
* | mesa: move glGetTexImage(), glGetCompresssedTexImage() code into new file | Brian Paul | 2009-04-03 | 9 | -335/+409 |
| | |||||
* | mesa: remove the noClamp parameter to _mesa_pack_rgba_span_float() | Brian Paul | 2009-04-03 | 8 | -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_LUMINANCE | Brian Paul | 2009-04-03 | 1 | -4/+6 |
| | | | | For luminance, we add R+G+B and it seems we should always clamp in case. | ||||
* | mesa: whitespace and comment clean-up | Brian Paul | 2009-04-03 | 1 | -11/+16 |
| | |||||
* | mesa: remove extra semicolons | Brian Paul | 2009-04-03 | 1 | -5/+5 |
| | |||||
* | softpipe: add additional surface formats in tile cache code | Brian Paul | 2009-04-03 | 1 | -0/+3 |
| | |||||
* | mesa: in mesa_add_named_constant(), avoid adding duplicate constants | Brian Paul | 2009-04-03 | 1 | -7/+12 |
| | |||||
* | mesa: fix parameter counting in ARB vertex/fragment program parsing | Brian Paul | 2009-04-03 | 1 | -5/+2 |
| | | | | Duplicated unnamed constants were getting counted more than once. | ||||
* | mesa: replace >= with > when testing if we've exceeded max local params | Brian Paul | 2009-04-03 | 1 | -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 Paul | 2009-04-03 | 1 | -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 Paul | 2009-04-03 | 1 | -2/+2 |
| | | | | Also, s/pow/_mesa_pow/ | ||||
* | python/regress: Use A8R8G8B8 rendertarget format. | Michal Krol | 2009-04-03 | 1 | -1/+1 |
| |