summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* docs: update links to Gallium wiki page on freedesktop.orgBrian Paul2009-07-173-3/+3
|
* python/retrace: Process the call no passed to --to option inclusively.José Fonseca2009-07-161-1/+1
|
* python/retrace: Dump the surface copy contents.José Fonseca2009-07-161-0/+10
|
* python/retrace: Flush stdout before calling the pipe driver.José Fonseca2009-07-161-0/+4
| | | | So that messages are in sync with stderr.
* mesa: Fix logbase2.José Fonseca2009-07-161-7/+5
| | | | It was providing 1 too many for non power two values.
* python: Hack to prevent segmentation faults when python exits.José Fonseca2009-07-161-1/+7
|
* wgl: Expose pipe_screen/pipe_context via an extension.José Fonseca2009-07-164-1/+133
|
* python: Obtain pipe_screen/pipe_context from the system's OpenGL driver.José Fonseca2009-07-162-3/+191
|
* softpipe: limit blend results to [0,1]Luca Barbieri2009-07-151-12/+30
|
* Fix state flag dependencies for fixed function fragment program updates.Brian Paul2009-07-152-1/+11
| | | | | | | I started looking into why _NEW_ARRAY punishes us, and while annotating dependencies noticed that a bunch of dependencies were missing. (cherry picked from master, commit e5f63c403b767f9974e8eb5d412c012b8a69287f)
* python/retrace: Interpret surface_copy.José Fonseca2009-07-151-0/+4
|
* python/samples: Use PIPE_FORMAT_Z16_UNORM instead of PIPE_FORMAT_Z32_UNORM.José Fonseca2009-07-151-1/+1
| | | | More common. True fix would be to use whatever the screen supports though.
* mesa: recognize and eliminate repeated error messagesKeith Whitwell2009-07-152-3/+38
|
* mesa: split out errorstring switch from _mesa_errorKeith Whitwell2009-07-151-36/+26
| | | | Move a chunk of code out of _mesa_error()
* mesa: remove dead code in _mesa_errorKeith Whitwell2009-07-151-6/+0
| | | | Remove early and unused snprintf and where[] string.
* mesa: don't call getenv every time _mesa_error is calledKeith Whitwell2009-07-151-11/+14
| | | | | | Buggy apps can generate thousands of mesa_error calls. Don't need to keep calling getenv to retreive the same MESA_DEBUG string each time.
* mesa: fix texture border color code for glPopAttrib()Brian Paul2009-07-141-7/+1
| | | | | The texture object's border color used to be stored as GLchan but it's been GLfloat for a while now.
* progs/tests: Use compressed texture in mipmap_comp_testsJakob Bornecrantz2009-07-141-1/+3
|
* progs/tests: Tests more views in mipmap_comp_testsJakob Bornecrantz2009-07-141-1/+4
|
* progs/tests: Add yet another mipmap testJakob Bornecrantz2009-07-144-0/+319
|
* mesa: regenerated enums.c fileBrian Paul2009-07-141-5/+6
|
* scons: Monkey patch os.spawnve on Windows to become thread safe.José Fonseca2009-07-142-0/+29
| | | | | | See also: - http://bugs.python.org/issue6476 - http://scons.tigris.org/issues/show_bug.cgi?id=2449
* mesa: Report the true face number when flushing.José Fonseca2009-07-141-3/+8
|
* r128: fix two-sided lighting segfault seen in GLUT's olight demoPeteri Andras2009-07-133-2/+7
|
* intel: Bump driver data, add RC3 tagintel_2009q2_rc3Ian Romanick2009-07-121-1/+1
|
* gallium: compare the actual register, not all the inputsZack Rusin2009-07-111-1/+1
| | | | otherwise we decrement indexes for all registers
* tgsi: update some assertionsBrian Paul2009-07-101-4/+4
|
* tgsi: tgsi: add semantic_names[] string for TGSI_SEMANTIC_FACEBrian Paul2009-07-101-1/+6
| | | | Same story as in the tgsi_dump.c code (see prev commit).
* tgsi: add semantic_names[] string for TGSI_SEMANTIC_FACEBrian Paul2009-07-101-1/+6
| | | | | | | | Fixes TGSI dump output when front/back-face register is declared. Also, add some assertions to make sure the semantic/interpolate string arrays have as many elements as there are tokens in the p_shader_tokens.h file. That should catch problems like this in the future.
* st/mesa: implement indirect addressing for destination registersBrian Paul2009-07-101-0/+5
|
* tgis: implement indirect addressing for destination registersBrian Paul2009-07-106-11/+101
| | | | Includes the TGSI interpreter, but not the SSE/PPC/etc code generators.
* vbo: fix vbo/dlist memory leakBrian Paul2009-07-101-0/+5
| | | | Based on a patch by [email protected]
* demos: set 4th component of texcoord to 1.0Brian Paul2009-07-101-0/+1
| | | | Avoid potential randomness in resulting texcoords.
* Remove stale reference to non-Gallium nouveau driver from configure.ac.Michel Dänzer2009-07-101-1/+1
|
* mesa: From float type modifier from values to large for singlesIan Romanick2009-07-091-7/+7
| | | | | | | | | The values 2147483648.0 and 4294967294.0 are too larget to be stored in single precision floats. Forcing these to be singles causes bits to be lost, which results in errors in some pixel transfer tests. This fixes bug #22344. (cherry picked from commit 70e72070fce6aa1e0918dcc62c1949465cee69f7)
* docs: document gl_TextureMatrix[i][j] array indexing bug fixBrian Paul2009-07-091-0/+1
|
* glsl: do const parameter optimization for array element actual parametersBrian Paul2009-07-091-2/+3
| | | | | | | | | | When a function parameter is const-qualified we can avoid making a copy of the actual parameter (we basically do a search/replace when inlining). This is now done for array element params too, resulting in better code (fewer MOV instructions). We should allow some other types of function arguments here but let's be conservative for the moment.
* glsl: fix incorrect indexing for gl_TextureMatrix[i][j]Brian Paul2009-07-091-5/+6
| | | | | The two indexes were mixed up when accessing a row of a matrix in an array of matrices.
* docs: document glMaterial/glShadeModel display list optimizationBrian Paul2009-07-081-0/+1
|
* mesa: only use fallback texture when using shaders, not fixed-function (take ↵Brian Paul2009-07-071-7/+13
| | | | | | | | | | | | | | two) The semantics are a little different for shaders vs. fixed-function when trying to use an incomplete texture. The fallback texture returning (0,0,0,1) should only be used with shaders. For fixed function, the texture unit is truly disabled/ignored. Fixes glean fbo test regression. (cherry picked from commit 01e16befd4809e3e93ee7855a4a5d7df9fe010d9) (cherry picked from commit 51325f44d1e7e62b47795a79f8038d10dc5bc30b) [anholt: squashed these two together from master, skipping the mess in between]
* gallium: fixup register indexes for fog/frontface/point coordZack Rusin2009-07-071-3/+12
|
* gallium: Fixes for clobbering stencil values in combined depth/stencil textures.Michel Dänzer2009-07-073-11/+64
| | | | | Also fix one case where a 32 bit depth value was incorrectly converted to a combined depth/stencil value.
* GLX/DRI1: Mark GLX visuals with depth != screen depth non-conformant.Michel Dänzer2009-07-071-0/+23
| | | | | Such visuals are subject to automatic compositing in the X server, so DRI1 can't render to them properly.
* gallium: Only set FRONT_STATUS_COPY_OF_BACK if there is a back buffer.Michel Dänzer2009-07-071-1/+2
| | | | Fixes potential crash when SwapBuffers is called but there's no back buffer.
* gallium: more fog extraction fixesZack Rusin2009-07-063-25/+39
| | | | | fix the cases when fog coord/front face/point coord are used in the same shader.
* demos: Fix vsync checking in glxgearsIan Romanick2009-07-061-19/+16
| | | | | | | | | | Of course glXGetVideoSyncSGI doesn't return the swap interval. The feature only exists in the Mesa extension... which is the whole reason I created the Mesa extension! Note that the Mesa extension allows drivers to default to a swap interval of 0. If the Mesa extension exists, use its value. Only consider the SGI extension when the Mesa extension is not available. Fixes bug #22604.
* wgl: Make the stw_framebuffer destructions threadsafe.José Fonseca2009-07-065-82/+186
| | | | | | | Ensure no other thread is accessing a framebuffer when it is being destroyed by acquiring both the global and per-framebuffer mutexes. Normal access only needs the global lock to walk the linked list and acquire the per-framebuffer mutex.
* wgl: Check for multiple threads before GET_CURRENT_CONTEXT.José Fonseca2009-07-061-2/+8
| | | | | Fixes wglthreads -- the 2nd thread MakeCurrent call was trying to flush the first thread context while still in use.
* wgl: Listen to WM_WINDOWPOSCHANGED instead of WM_SIZE messages.José Fonseca2009-07-061-44/+45
| | | | | | | | | | According to http://blogs.msdn.com/oldnewthing/archive/2008/01/15/7113860.aspx WM_SIZE is generated from WM_WINDOWPOSCHANGED by DefWindowProc so it can be masked out by the application. Also there were some weird bogus WM_SIZE 0x0 messages when starting sharedtex_mt which we don't get like this.
* i965: fix fetching constants from constant buffer in glsl pathRoland Scheidegger2009-07-044-17/+16
| | | | | | | | | | | | the driver used to overwrite grf0 then use implicit move by send instruction to move contents of grf0 to mrf1. However, we must not overwrite grf0 since it's still used later for fb write. Instead, do the move directly do mrf1 (we could use implicit move from another grf reg to mrf1 but since we need a mov to encode the data anyway it doesn't seem to make sense). I think the dp_READ/WRITE_16 functions may suffer from the same issue. While here also remove unnecessary msg_reg_nr parameter from the dataport functions since always message register 1 is used.