summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-08-28Add two new gl_function methods. dispatch_name returns the name ofIan Romanick
the true static dispatch name (either the glFooBar name or the gl_dispatch_stub_XXX name). static_name returns the name of the static function for a specific alias of a GL function. Adding (and using) these two functions corrects some problems in the generated code related to functions with multiple aliases where some of the aliases have true static dispatch functions and some don't. I have verified that everything under progs, except xdemos/xdemo, correctly link. I did this by doing 'make linux-dri-x86-64 PROGRAM_DIRS="demos redbook samples xdemos tests"'.
2006-08-28Add dependencies for all API XML files.Ian Romanick
2006-08-28remove unused varBrian Paul
2006-08-28fix the check for force_s3tc_enable (bug 8042)Brian Paul
2006-08-28omit installmesa script from tarballsBrian Paul
2006-08-28check for GL_ARB_point_parametersBrian Paul
2006-08-27close #6318Aapo Tahkola
2006-08-27The colormap code is now simpler, 15bpp works where it did not before.Sean D'Epagnier
The input is fixed so that delete reports '\b' and backspace 127 The vt switching works both right and left.
2006-08-26Explicitly store the names for each function that should have a staticIan Romanick
entry point generated. This allows us to do things like generate a static entry point for glPointParameterfvARB but not for glPointParameterfvSGIS.
2006-08-26Fix bug 8010 - locking issues.Alan Hourihane
2006-08-26fix #8008Aapo Tahkola
2006-08-25delete buffers, destroy window upon exitBrian Paul
2006-08-25include texobj.h to silence warningBrian Paul
2006-08-256.5.1 bug fixesBrian Paul
2006-08-25Error detection/reporting was broken in several places.Brian Paul
2006-08-25Add a couple of the missing GL 2.0 functions. Enable GLX protocol forIan Romanick
glBlendEquationSeparateEXT. Add missing enum "get" information for GL_EXT_texture_filter_anisotropic.
2006-08-25Free vertex program TnlData, if any. Fixes a mem leak.Brian Paul
2006-08-25clamp result.depth to [0,1] if written toBrian Paul
2006-08-25Remove XFree86 CVS keyword.Brian Paul
2006-08-25Rearrange glBindProgram() code to do all error checking before changingBrian Paul
the binding. Prevent a potential dangling pointer error. SF Bug 1544507.
2006-08-25In _save_End(), set CurrentExecPrimitive = PRIM_OUTSIDE_BEGIN_END ifBrian Paul
we're in GL_COMPILE_AND_EXECUTE mode. This fixes bug 7984.
2006-08-25improved commentsBrian Paul
2006-08-25Rename _mesa_append_modelview_code() to _mesa_insert_mvp_code().Brian Paul
The four DP4 instructions are now inserted at the top of the program instead of appended to tail.
2006-08-25use _mesa_alloc_instructions()Brian Paul
2006-08-25added _mesa_alloc_instructions() utility functionBrian Paul
2006-08-25Add missing enums for GL_SGI_color_table.Ian Romanick
2006-08-24recent bug fixesBrian Paul
2006-08-24update MAX_INSTRUCTIONS limitBrian Paul
2006-08-24According to GL_NV_fragment_program, max frag prog length is 1024 instructions.Brian Paul
Updated MAX_NV_FRAGMENT_PROGRAM_INSTRUCTIONS to 1024.
2006-08-24Cg tries to bind NV fragment programs to the GL_FRAGMENT_PROGRAM_ARB targetBrian Paul
with glBindProgramARB(). I guess the GL_ARB_fragment_program specification allows that, but Mesa didn't. Relaxed the check with a new predicate function: compatible_program_targets().
2006-08-24scalar sources such as 'time.x' weren't accepted by parserBrian Paul
2006-08-24Functions for vertex/fragment program transformations, optimizations, etc.Brian Paul
2006-08-24fix bad casts, carry over r200 fix to check for null program string in ↵Brian Paul
r300_translate_vertex_shader()
2006-08-24Check for NULL program string in r200_translate_vertex_program().Brian Paul
Fixes bug reported by Chris Rankin. Added some new comments.
2006-08-24use _mesa_realloc_instructions()Brian Paul
2006-08-24Added _mesa_realloc_instructions() utility function.Brian Paul
Fixed/updated comments for parameter list functions.
2006-08-24GL_EXT_paletted_texture functions should alias GL_SGI_color_table functions.Ian Romanick
The functions for GL_EXT_paletted_texture that do not share GLX protocol with GL_ARB_imaging are supposed to alias the similar functions from GL_SGI_color_table. They didn't. This patch corrects this problem and enables GLX protocol for both extensions. Since this removes 3 entries from the dispatch table, this change creates a lot of changes in the generated files.
2006-08-24Add a new offset mode to the GL API XML. This mode, called "assign,"Ian Romanick
tells the scripts to assign an available offset to the function. The important changes are in src/mesa/glapi/gl_XML.py and src/mesa/glapi/*.xml. Since the DRI drivers only depend on functions required by the ABI (e.g., GL 1.2 + ARB_multitexture) having fixed offsets, all functions not in the ABI use "assign" mode. This has caused the offset of basically every function outside the ABI to change. I have verified that a libGL with this patch works with a DRI driver without the patch. Futher, several function were removed from the dispatch tables altogether. These are the functions for the following extensions: GL_SGIS_texture_filter4 GL_SGIS_texture4D GL_SGIS_detail_texture GL_SGIS_sharpen_texture GL_SGIX_sprite GL_SGIX_instruments GL_SGIX_framezoom GL_SGIX_tag_sample_buffer GL_SGIX_reference_plane GL_SGIX_flush_raster GL_SGIX_list_priority GL_SGIX_fragment_lighting GL_PGI_misc_hints GL_EXT_index_material GL_EXT_index_func GL_3DFX_tbuffer This removes 50 functions from the dispatch table.
2006-08-24fix fragment.position initialization bugBrian Paul
2006-08-24Make sure that _GNU_SOURCE is enabled in the linux configs that setIan Romanick
HAVE_POSIX_MEMALIGN. This eliminates a compiler warning. Also, clean up some crufty linux-sparc* configs.
2006-08-24add point-position.cKeith Whitwell
2006-08-24Test for fragment.position in points primitives. Currently rendersKeith Whitwell
incorrectly on software mesa.
2006-08-24added glut/mini/ sources to glut tarballBrian Paul
2006-08-24Check if mesa_vp->Base.Parameters is null before dereferencing (bug reportBrian Paul
from Chris Rankin). Also, fix some bad casts.
2006-08-24Fix some problems with the generation of the size tables. EnableIan Romanick
generation of protocol tables for Render.
2006-08-23silence warningBrian Paul
2006-08-23Added _mesa_lookup_program() and _mesa_lookup_bufferobj() functions to avoidBrian Paul
a lot of casting elsewhere. Use _mesa_lookup_texture() in tdfx driver, use _mesa_lookup_bufferobj() in r300 driver.
2006-08-23New script and API description file to enable generate of GLX protocolIan Romanick
decode tables in the server.
2006-08-23update glut fbdev sources listBrian Paul
2006-08-23VT switching now uses correct keys.Sean D'Epagnier
exiting when virtual screen size is larger than regular size doesn't corrupt screen. colormap is reset when using stdin input on exit. return is not reported as ctrl-m but '\r' as it should be backspace keycode was incorrect and not working, fixed