Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix some bugs related to querying active uniforms. | Brian | 2007-04-18 | 3 | -10/+53 |
| | |||||
* | fix error strings, add a sanity check | Brian | 2007-04-18 | 1 | -2/+14 |
| | |||||
* | xmesa: drop glide (FX) backend. | George Sapountzis | 2007-04-19 | 3 | -284/+6 |
| | | | | | | glide is no longer compiled with stand-alone libGL, so this will not link. There are still the glide config files. some code in demos and the GLX_MESA_set_3dfx_mode code which could be removed. | ||||
* | Remove bad assertions, decrement NumShaders in _mesa_detach_shader(). | Brian | 2007-04-18 | 1 | -2/+1 |
| | | | | Fixes crashes w/ Brad King's depth peeling test. | ||||
* | s/GL_SHADER_PROGRAM/GL_SHADER_PROGRAM_MESA/ (a Mesa-specific token) | Brian | 2007-04-18 | 3 | -6/+6 |
| | |||||
* | Replace _mesa_parameter_longest_name() with _mesa_longest_parameter_name(). | Brian | 2007-04-18 | 3 | -8/+13 |
| | | | | | | The later takes a type parameter so we can match uniforms or attributes/inputs. Used by the GL_ACTIVE_ATTRIBUTE_MAX_LENGTH and GL_ACTIVE_UNIFORM_MAX_LENGTH queries. Fixes problem reported by Brad King in VTK. | ||||
* | call ProgramStringNotify() after linking | Brian | 2007-04-18 | 1 | -0/+6 |
| | |||||
* | check _PreferPixelFog in _swrast_span_default_fog(), see bug 10669 | Brian | 2007-04-18 | 1 | -5/+14 |
| | |||||
* | improved fog comment | Brian | 2007-04-18 | 1 | -1/+1 |
| | |||||
* | fig segment fault issue in TAG(triangle), (see bug 10589) | Xiang, Haihao | 2007-04-18 | 1 | -19/+24 |
| | | | | | | Bit SS_TWOSIDE_BIT is set if gl_FrontFacing lives in fragment input (see commit 10b5895597d5e069183cb647d17eb412effceb4f). However, VB->ColorPtr[1] isn't assigned after that. | ||||
* | omit the glide/svga sources from stand-alone libGL (anyone using them?) | Brian | 2007-04-17 | 1 | -3/+1 |
| | |||||
* | Enable texture sampling for vertex programs/shaders. | Brian | 2007-04-17 | 4 | -20/+70 |
| | | | | | | | This is a bit of a hack for now because the tnl module is using the swrast module to fetch texels. The texture fetch/filter code should probably be moved into the main/ module since it doesn't really depend upon other swrast code. | ||||
* | In bind_inputs() set VB->EdgeFlag to NULL if it's not needed. | Brian | 2007-04-17 | 1 | -1/+4 |
| | | | | | | Otherwise, the clip/interp code was finding VB->EdgeFlag to be non-null and reading/writing it when the memory may have been freed earlier in free_space(). This fixes several VTK segfaults/failures reported by Brad King @ Kitware. | ||||
* | regenerated | Brian | 2007-04-17 | 2 | -378/+438 |
| | |||||
* | fix/simplify some texture functions | Brian | 2007-04-17 | 1 | -23/+10 |
| | |||||
* | more matrix function updates | Brian | 2007-04-17 | 1 | -96/+300 |
| | |||||
* | don't set GL_TEXTURE_MAX_LEVEL for GL_TEXTURE_RECTANGLE_ARB as that ↵ | Brian | 2007-04-17 | 1 | -1/+2 |
| | | | | generates an error | ||||
* | Defer buffer pool creation to the first context creation. | Thomas Hellstrom | 2007-04-17 | 3 | -43/+55 |
| | | | | | | This way we have a hw context so that we can take the hardware lock. Also, at this point, AIGLX isn't locked with the X server context as it is at screen creation. | ||||
* | cleanups for t_vb_program.c | Roland Scheidegger | 2007-04-17 | 1 | -13/+19 |
| | | | | | | use VertexProgram._Current instead of VertexProgram.Current in a few more places. Only fixup fogc and psiz in case this is really a nv program (others are fine if undefined), and fix this case up so the values actually get written. | ||||
* | r300: r300_render.c:391: warning: unused variable 'i' | Oliver McFadden | 2007-04-17 | 1 | -1/+0 |
| | |||||
* | just clean-ups | Brian | 2007-04-16 | 2 | -55/+48 |
| | |||||
* | move GL_EXT_stencil_two_side into alphabetical position | Brian | 2007-04-16 | 1 | -1/+1 |
| | |||||
* | Fix glActiveStencilFaceEXT dispatch problem (bug 10523). | Brian | 2007-04-16 | 1 | -6/+3 |
| | | | | | | | | OK, _all_ extensions that might get enabled by the driver need to be in the card_extensions[] list. driInitExtensions() is called at least twice: first during screen creation, then once for each context that's created. The first call sets up the dispatch table. The second call just sets the extension enable/disable flags. | ||||
* | remove _tnl_arb_vertex_program_stage | Brian | 2007-04-16 | 1 | -1/+0 |
| | |||||
* | remove _tnl_arb_vertex_program_stage | Brian | 2007-04-16 | 6 | -11/+0 |
| | |||||
* | need to clamp MAD for linear fog | Brian | 2007-04-16 | 1 | -0/+1 |
| | |||||
* | removed unused t_vb_arbprogram stage | Brian | 2007-04-16 | 3 | -3153/+0 |
| | |||||
* | remove t_vb_arbprogram.c | Brian | 2007-04-16 | 1 | -2/+0 |
| | |||||
* | unhook t_vb_arbprogram.c code - it's going away | Brian | 2007-04-16 | 3 | -14/+19 |
| | |||||
* | Use generic program limits instead of NV-specific ones to init program ↵ | Brian | 2007-04-16 | 2 | -5/+8 |
| | | | | | | | | | constants. Previously, this limited us to 12 temp regs for vertex programs. Many vertex shaders could exceed that. This forces us to stop using t_vb_arbprogram.c for now because of its particular register indexing scheme. Need to increase bits allocated for register indexing, etc. | ||||
* | Fix some assertions that could occur when an error was earlier logged. | Brian | 2007-04-16 | 1 | -4/+19 |
| | |||||
* | use b->display instead of b->xm_visual->display to fix some problems ↵ | Brian | 2007-04-16 | 1 | -7/+7 |
| | | | | detected w/ valgrind | ||||
* | Make sure we are locked when creating drm buffer objects. | Thomas Hellstrom | 2007-04-16 | 6 | -5/+37 |
| | | | | | Don't place buffer objects on unfenced list when newly created. Fix a buffer object wait-for-idle deadlock. | ||||
* | illegal to set GL_TEXTURE_MAX_LEVEL w/ GL_TEXTURE_RECTANGLE_ARB | Brian | 2007-04-14 | 1 | -4/+8 |
| | |||||
* | implement shadow2DRect functions | Brian | 2007-04-14 | 2 | -74/+72 |
| | |||||
* | Fix sample_depth_texture() to handle texture rectangle coords. | Brian | 2007-04-14 | 1 | -30/+85 |
| | |||||
* | set osmesa renderbuffer refcount=1 upon creation, free renderbuffer in ↵ | Brian | 2007-04-14 | 1 | -2/+7 |
| | | | | OSMesaDestroyContext() | ||||
* | more _mesa_unreference_framebuffer() calls, remove dead code | Brian | 2007-04-14 | 1 | -24/+2 |
| | |||||
* | fix negative zoom factor bug (10636), more comments | Brian | 2007-04-14 | 1 | -3/+11 |
| | |||||
* | r300: emit different clear paths for non-TCL, this gets the clear color correct | Dave Airlie | 2007-04-14 | 1 | -2/+15 |
| | |||||
* | r300: remove unneeded semicolon from macro | Dave Airlie | 2007-04-14 | 1 | -1/+1 |
| | |||||
* | r300: if we don't have TCL don't setup state emissions for vertex shaders | Dave Airlie | 2007-04-14 | 3 | -88/+104 |
| | |||||
* | xmesa: drop unused XMesaPutImageHelper. | George Sapountzis | 2007-04-13 | 2 | -24/+0 |
| | | | | | | | | It could only be called from XMesaCopySubBuffer but this function is not used by XFree86. It seems that XMesaPutImageHelper would handle sub-images but never got finished. Proper sub-image helpers should be written if need be. | ||||
* | xmesa: export xmesa functions used by xfree86. | George Sapountzis | 2007-04-13 | 2 | -14/+15 |
| | | | | | | | | | This uses xmesa.h as the GLcore interface and avoids adding an explicit GLcore inteface which would not be a proper interface anyway. It puts the declarations of the three functions specific for XMesa/XFree86 in xmesa.h, we can push them down to xmesa_xf86.h if hiding behind XFree86Server ifdef's is not enough. | ||||
* | s/version/vertex/ | Brian | 2007-04-12 | 1 | -1/+1 |
| | |||||
* | fix bug in _playback_copy_to_current(): need to skip version position data ↵ | Brian | 2007-04-12 | 1 | -0/+2 |
| | | | | (see bug 10587) | ||||
* | disable debug printfs | Brian | 2007-04-12 | 1 | -8/+6 |
| | |||||
* | Added sanity checking in _slang_sizeof_type_specifier() to be sure sizes are ↵ | Brian | 2007-04-12 | 1 | -27/+68 |
| | | | | what's expected. | ||||
* | use _mesa_clear_shader_program_data() | Brian | 2007-04-12 | 1 | -1/+1 |
| | |||||
* | New _mesa_reference_shader/program() function to consolidate refcounting. | Brian | 2007-04-12 | 2 | -49/+166 |
| | | | | | Note that (unlike texture objects), shader handles remain valid (in the hash table) after glDeleteShader/Program() if the refcount isn't zero. |