summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Fix mesa_next_pow_two to return same value if parameter is pow2.Pauli Nieminen2010-02-071-3/+5
| | | | | Without subtracting one pow2 value would be rounded up to next pow2 which is not correct behaviour for the function.
* r200: Fix LOD min/max emit.Pauli Nieminen2010-02-072-7/+30
| | | | | | Just emit minLod and maxLod to correct reisters. Fixes lodclamp and levelclamp test cases from piglit.
* r100/r200/r300/r600: Set MaxCombinedTextureImageunits.Pauli Nieminen2010-02-074-0/+11
| | | | | | | Fixes glActiveTexture to set GL_INVALID_ENUM when trying to activate texture unit that is not available. piglit test case general/texunit passes now.
* r200: Fix lod bias correction.Pauli Nieminen2010-02-073-4/+7
| | | | | | glean/pointSprite shows that rv280 is trying to read from better quality mipmap level. We have to correct default lod bias to match required texture selection.
* llvmpipe: Silence GCC 'type qualifiers ignored on function return type' ↵Vinson Lee2010-02-071-5/+5
| | | | warnings.
* svga: Remove unnecessary header.Vinson Lee2010-02-071-1/+0
|
* llvmpipe: Remove unnecessary headers.Vinson Lee2010-02-074-5/+0
|
* r300g: cleanup XXXs in the DSA stateMarek Olšák2010-02-062-10/+1
|
* r300g: make a local copy of framebuffer stateMarek Olšák2010-02-062-1/+5
| | | | | | The previous more direct approach was simply incorrect. piglit/levelclamp passes again.
* r300g: fix color channel masksMarek Olšák2010-02-061-4/+13
| | | | glean/maskedClear passes again.
* r300g: remove useless GA_COLOR_CONTROL emitMarek Olšák2010-02-061-2/+1
| | | | Already emitted in r300_emit_draw_xxx.
* r300g: add L8_SRGB and A8L8_SRGB texture formatsMarek Olšák2010-02-062-0/+8
|
* r200: Add some debug output to texture function.Pauli Nieminen2010-02-061-15/+30
|
* r300: Fix emit size prediction to know about primitive splitting.Pauli Nieminen2010-02-061-2/+12
| | | | Fixes ut2004 warnings about overflowing command buffer.
* radeon: Add some debug output to texture function.\nPauli Nieminen2010-02-061-26/+84
|
* radeon: Use _mesa_next_pow_two_32 instead of own implementation.Pauli Nieminen2010-02-061-14/+1
|
* mesa/main: Add function to find next higher power of two.Pauli Nieminen2010-02-061-0/+46
| | | | | | | | | With gcc implementation uses __builtin_clr which counts number of leading zeros. Fallback implementation uses bit manipulation. First it duplicates the highest bit to all lower bits and then adds one to get the power of two number.
* radeon: Add some debug output to miptree code.Pauli Nieminen2010-02-061-23/+62
|
* radeon: Remove the loop from stride size calculation.Pauli Nieminen2010-02-061-8/+14
| | | | | | Changed stride size calculation to do the math by rounding the value instead of loop. r600 minimum stride is 256 which might might cause up to about 60 rounds of the loop.
* Gallium: Add Solaris atomic function definitions to u_atomic.hAlan Coopersmith2010-02-061-1/+35
| | | | Signed-off-by: Alan Coopersmith <[email protected]>
* intel: Allow L8 PBO blit uploads.Damien Lespiau2010-02-061-0/+5
| | | | Bug #32810
* i965: Keep the CURBE BO mapped and memcpy instead of subdataing.Eric Anholt2010-02-063-11/+13
| | | | | | For the tiny bis of data we generally upload through the CURBEs, the overhead of the kernel's pagetable trickery is actually rather high. This improves cairo-gl gnome-terminal-vim performance by 3.8%.
* i965: Reset the "need new CURBE BO" flag when we make a new CURBE bo.Eric Anholt2010-02-061-0/+1
| | | | Improves cairo-gl gnome-terminal-vim times by 11%.
* intel: Check aperture size when doing a blit glClear.Eric Anholt2010-02-061-0/+10
| | | | Fixes failure in cairo-gl firefox-planet-gnome.
* intel: Allow PBO acceleration for GL_RGBA8 MESA_FORMAT_ARGB8888.Eric Anholt2010-02-061-0/+1
| | | | This improves firefox-talos-svg runtimes on cairo-gl by 14%.
* llvmpipe: Silence GCC 'no previous prototype' warning.Vinson Lee2010-02-061-1/+1
|
* i965g: Remove unnecessary headers.Vinson Lee2010-02-052-2/+0
|
* eglplatform.h: recognize __unix as well for Solaris & other SVR4 platformsAlan Coopersmith2010-02-051-1/+1
| | | | Signed-off-by: Alan Coopersmith <[email protected]>
* gallium/python: support two more formats in retrace dumpsZack Rusin2010-02-051-0/+2
| | | | dump PIPE_FORMAT_R8G8B8A8_UNORM and PIPE_FORMAT_R16G16B16_SNORM formats.
* st/mesa: allow negative index for PROGRAM_STATE_VARBrian Paul2010-02-051-1/+1
| | | | | | | | | | | | The piglit vp-address-01 test uses negative address-relative offsets. In this test we're indexing into PROGRAM_STATE_VAR which, in turn, contains references to ENV vars. We previously fixed this issue for PROGRAM_CONSTANT. piglit/vp-address-01 (the version from Feb 5) passes now. (cherry picked from commit 64be837b0b171c44f47a3c0b83f566d292ffff50)
* mesa: debug output for ARLBrian Paul2010-02-051-0/+3
|
* docs: Fix a typo in mesa3d.org HTML.Brian Paul2010-02-051-1/+1
| | | | | | Signed-off-by: Brian Paul <[email protected]> (cherry picked from commit e6ee4b49c48ec7c2e7df2cff7b253b01e88e7101)
* osmesa: Add OSMesaColorClamp and OSMesaGetProcAddress to symbol defs.Brian Paul2010-02-051-0/+2
| | | | | | | | | Without this patch, the two symbols get an underscore prepended and an "@4" appended when compiling with VC8. Signed-off-by: Brian Paul <[email protected]> (cherry picked from commit e65029e9b32ddabea0ec583c04484345b40f1557)
* progs/demos: fix typoBrian Paul2010-02-051-1/+1
|
* egl_dri2: Use pkg-config cflags and libs from configure outputKristian Høgsberg2010-02-053-5/+7
| | | | | Running pkg-config in Makefiles is bad form, since it doesn't respect the PKG_CONFIG_PATH value set at ./configure time.
* nouveau: Fix warning for void function returning value. Add missing include ↵Patrice Mandin2010-02-053-6/+6
| | | | | | for pipe_reference_init function. Signed-off-by: Patrice Mandin <[email protected]>
* glapi: Add back the reduced Noop dispatchKristian Høgsberg2010-02-051-2/+18
| | | | This got "simplified" away in e4f168a6f4911a096be97d2e83ef8ad9c5862ec0.
* glx: Don't mark the XF86DRI functions PUBLICKristian Høgsberg2010-02-051-16/+16
|
* egl_dri2: Log both driver and core extensionsKristian Høgsberg2010-02-051-1/+4
|
* egl_dri2: Audit and fix errors pathsKristian Høgsberg2010-02-051-49/+72
|
* egl_dri2: Just cast the pointer difference to an intKristian Høgsberg2010-02-051-4/+1
|
* st/mesa: 'fix' point coord semantic infoBrian Paul2010-02-051-1/+10
| | | | | | | | | | This fixes the progs/glsl/pointcoord.c demo. But this isn't a proper fix. We really need a TGSI_SEMANTIC_POINT_COORD label so that the draw module can determine which fragment input / vertex output slot needs to be set up with the point coordinate info. We've been using generic slot 0 so far. This would also require telling the draw module about fragment shaders (something it doesn't have at this time).
* tgsi: remove special-case code for fragment positionBrian Paul2010-02-051-7/+1
| | | | | | | | | Since the origin_lower_left / pixel_center_origin changes, we need to use the fragcoord info that's set up in setup_fragcoord_coeff(). The code in exec_declaration() was clobbering the the interpolated fragment position. Fixes progs/glsl/fragcoord.c demo.
* allow make to build lp_test_* for llvmpipeChris Li2010-02-052-1/+14
| | | | Signed-off-by: José Fonseca <[email protected]>
* llvmpipe: Disable multithreading on windows.José Fonseca2010-02-051-0/+6
|
* os: Don't assert on missing implementation of barrier init/destroy. Just usage.José Fonseca2010-02-051-2/+0
|
* Merge remote branch 'origin/master'José Fonseca2010-02-052-1/+17
|\
| * r200: Optimize polygon stipple emit.Pauli Nieminen2010-02-051-1/+10
| | | | | | | | Only emit polygon stipple when the state is enabled.
| * r200: Add trace logging to r200PointSize.Pauli Nieminen2010-02-051-0/+7
| |
* | Merge remote branch 'origin/lp-binning'José Fonseca2010-02-0578-3712/+7041
|\ \ | |/ |/| | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/util/u_dl.c src/gallium/auxiliary/util/u_time.h src/gallium/drivers/llvmpipe/lp_state_derived.c src/gallium/drivers/llvmpipe/lp_state_surface.c src/gallium/drivers/llvmpipe/lp_tex_cache.c src/gallium/drivers/llvmpipe/lp_tile_cache.c