summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-04-18fix error strings, add a sanity checkBrian
2007-04-19xmesa: drop glide (FX) backend.George Sapountzis
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.
2007-04-18Remove bad assertions, decrement NumShaders in _mesa_detach_shader().Brian
Fixes crashes w/ Brad King's depth peeling test.
2007-04-18s/GL_SHADER_PROGRAM/GL_SHADER_PROGRAM_MESA/ (a Mesa-specific token)Brian
2007-04-18Replace _mesa_parameter_longest_name() with _mesa_longest_parameter_name().Brian
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.
2007-04-18call ProgramStringNotify() after linkingBrian
2007-04-18check _PreferPixelFog in _swrast_span_default_fog(), see bug 10669Brian
2007-04-18improved fog commentBrian
2007-04-18fig segment fault issue in TAG(triangle), (see bug 10589)Xiang, Haihao
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.
2007-04-17omit the glide/svga sources from stand-alone libGL (anyone using them?)Brian
2007-04-17Enable texture sampling for vertex programs/shaders.Brian
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.
2007-04-17In bind_inputs() set VB->EdgeFlag to NULL if it's not needed.Brian
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.
2007-04-17regeneratedBrian
2007-04-17fix/simplify some texture functionsBrian
2007-04-17more matrix function updatesBrian
2007-04-17don't set GL_TEXTURE_MAX_LEVEL for GL_TEXTURE_RECTANGLE_ARB as that ↵Brian
generates an error
2007-04-17Defer buffer pool creation to the first context creation.Thomas Hellstrom
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.
2007-04-17cleanups for t_vb_program.cRoland Scheidegger
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.
2007-04-17r300: r300_render.c:391: warning: unused variable 'i'Oliver McFadden
2007-04-16just clean-upsBrian
2007-04-16move GL_EXT_stencil_two_side into alphabetical positionBrian
2007-04-16Fix glActiveStencilFaceEXT dispatch problem (bug 10523).Brian
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.
2007-04-16remove _tnl_arb_vertex_program_stageBrian
2007-04-16remove _tnl_arb_vertex_program_stageBrian
2007-04-16need to clamp MAD for linear fogBrian
2007-04-16removed unused t_vb_arbprogram stageBrian
2007-04-16remove t_vb_arbprogram.cBrian
2007-04-16unhook t_vb_arbprogram.c code - it's going awayBrian
2007-04-16Use generic program limits instead of NV-specific ones to init program ↵Brian
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.
2007-04-16Fix some assertions that could occur when an error was earlier logged.Brian
2007-04-16use b->display instead of b->xm_visual->display to fix some problems ↵Brian
detected w/ valgrind
2007-04-16Make sure we are locked when creating drm buffer objects.Thomas Hellstrom
Don't place buffer objects on unfenced list when newly created. Fix a buffer object wait-for-idle deadlock.
2007-04-14illegal to set GL_TEXTURE_MAX_LEVEL w/ GL_TEXTURE_RECTANGLE_ARBBrian
2007-04-14implement shadow2DRect functionsBrian
2007-04-14Fix sample_depth_texture() to handle texture rectangle coords.Brian
2007-04-14set osmesa renderbuffer refcount=1 upon creation, free renderbuffer in ↵Brian
OSMesaDestroyContext()
2007-04-14more _mesa_unreference_framebuffer() calls, remove dead codeBrian
2007-04-14fix negative zoom factor bug (10636), more commentsBrian
2007-04-14r300: emit different clear paths for non-TCL, this gets the clear color correctDave Airlie
2007-04-14r300: remove unneeded semicolon from macroDave Airlie
2007-04-14r300: if we don't have TCL don't setup state emissions for vertex shadersDave Airlie
2007-04-13xmesa: drop unused XMesaPutImageHelper.George Sapountzis
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.
2007-04-13xmesa: export xmesa functions used by xfree86.George Sapountzis
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.
2007-04-12s/version/vertex/Brian
2007-04-12fix bug in _playback_copy_to_current(): need to skip version position data ↵Brian
(see bug 10587)
2007-04-12disable debug printfsBrian
2007-04-12Added sanity checking in _slang_sizeof_type_specifier() to be sure sizes are ↵Brian
what's expected.
2007-04-12use _mesa_clear_shader_program_data()Brian
2007-04-12New _mesa_reference_shader/program() function to consolidate refcounting.Brian
Note that (unlike texture objects), shader handles remain valid (in the hash table) after glDeleteShader/Program() if the refcount isn't zero.
2007-04-11regeneratedBrian