summaryrefslogtreecommitdiff
path: root/src/mesa/sparc
AgeCommit message (Collapse)Author
2006-10-16Fix build when DEBUG is defined but DEBUG_MATH is not.Ian Romanick
A couple places attempted to call _math_test_all_*_functions when DEBUG was defined. These routines only exist when DEBUG_MATH is defined.
2006-10-11Fix bug #4681.Ian Romanick
glDeleteTextures and glDeleteTexturesEXT were erroneously listed as aliases of each other. For anything /except/ GLX protocol they are aliases. This set of changes allows functions that are functionally identical but have different GLX protocol to be listed as aliases. When building with GLX_INDIRECT_RENDERING set, different static functions are used. These functions determine whether the current context is direct rendering or not. If the context is direct rendering, the aliased function (e.g., glDeleteTextures in the case of glDeleteTexturesEXT) is called. If the context is not direct rendering, the correct GLX protocol is sent. For a deeper explanation of what is changed, please see: http://dri.freedesktop.org/wiki/PartiallyAliasedFunctions
2006-10-04Changes to generated code caused by the previous commits.Ian Romanick
2006-08-29Deprecate GL_EXT_vertex_weighting.Ian Romanick
Nvidia no longer supports this extension, and they no longer export its entry points from their libGL. There's no reason for us to keep dragging it around either.
2006-08-29More static dispatch function removal.Ian Romanick
Make functions for the following extensions available only via glXGetProcAddress. In cases where there are other aliases to the same functions (e.g., between GL_EXT_histogram and GL_ARB_imaging), the alias functions may still be statically exported. - GL_ATI_blend_equation_separate - GL_EXT_blend_equation_separate - GL_EXT_convolution - GL_EXT_color_sub_table - GL_EXT_cull_vertex - GL_EXT_depth_bounds_test - GL_EXT_framebuffer_blit - GL_EXT_histogram - GL_EXT_multisample - GL_EXT_stencil_two_side - GL_EXT_timer_query - GL_IBM_multimode_draw_arrays - GL_INGR_blend_func_separate - GL_NV_fence - GL_SGI_color_table - GL_SGIS_multisample - GL_SGIS_pixel_texture - GL_SGIS_point_parameters - GL_SGIX_pixel_texture
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-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-22Add new attribute called static_dispatch to the <function> element. ThisIan Romanick
boolean attribute, which defaults to true, determines whether or not a static dispatch function is available in libGL for applications to link against. Ideally, any new functions that are not part of the ABI should not have directly accessable dispatch functions. This forces applications to use glXGetProcAddress to access these functions. By doing this we can gracefully remove functions from libGL without breaking the linkage of applications. Note that the static dispatch functions are still generated. However, they are given names like gl_dispatch_stub_820 and are marked with the "hidden" linker attribute. All extension functions added since the previous Mesa release (6.5) have been marked as 'static_dispatch="false"'.
2006-08-15Add support for GL_EXT_gpu_program_parameters. Any driver that enablesIan Romanick
either GL_ARB_vertex_program or GL_ARB_fragment_program should enable this extension as well.
2006-06-12Add support for GL_APPLE_vertex_array_object. Several test programsIan Romanick
and demos are also added. Adding basic support to drivers should be as easy as just enabling the extension, though thorough test would also be required.
2006-04-07regenerate SPARC assembly dispatch (bug 6484)Brian Paul
2005-07-28Fix SPARC assembly for 64-bitIan Romanick
- The test for whether or not we're building for 64-bit is '#ifdef __arch64__'. This appears to be correct on both Linux and Solaris. - The test for Solaris is now '#if defined(SVR4) || defined(__SVR4) || defined(__svr4__)'. GCC 3.4.0 has all three defined on Solaris 9. - Enables assembly language clip routines. - Fixes to make GLSL code build on Solaris. - Update gl_SPARC_asm.py.
2004-11-22silence warning, minor clean-upBrian Paul
2004-11-22applied SPARC patch (freedesktop bug 1898)Brian Paul
2004-06-26Re-enable SPARC assembly on sunos5-gcc platform.Ian Romanick
2004-04-26bring over build fixes from stable branchAlan Hourihane
2004-01-27Added support for EXT_blend_equation_separate / ATI_blend_equation_separate.Ian Romanick
The internal driver interface was also changed to use BlendEquationSeparate instead of BlendEquation.
2003-12-01fix __sparc_v9__ test to exclude linux (bug 852204)Brian Paul
2003-11-24generate the OpenGL 1.5 entrypointsBrian Paul
2003-08-24regenerated for GL_IBM_multimode_draw_arraysBrian Paul
2003-08-22Added support for GL_IBM_multimode_draw_arrays.Ian Romanick
Added non-static entrypoints and the name string for GL_SUN_multi_draw_arrays (identical to GL_EXT_multi_draw_arrays). Made add_newer_entrypoints (in src/mesa/main/context.c) table driven. This reduced the size of context.o by about 3KB.
2003-06-13Implemented GL_ARB_occlusion_query (not 100% finalized).Brian Paul
2003-06-10Further makefile clean-up, concentrated on the x86 assembly files.Brian Paul
2003-04-21alias ARB/NV program functions where possibleBrian Paul
2003-03-29GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_NV_fragment_program ↵Brian Paul
entrypoints
2003-02-08disable normal xform code - see bug 673938Brian Paul
2002-11-07added glBlendFuncSeparate, glMultiDrawArrays, glMultiDrawElementsBrian Paul
2002-11-07added missing 1.4 glFogCoord functionsBrian Paul
2002-09-06fixed glSampleCoverage typoBrian Paul
2002-09-06added GL_EXT_stencil_two_side and GL_NV_fenceBrian Paul
2002-09-06added OpenGL 1.4 entrypointsBrian Paul
2002-07-12fix patching offsets (Sven Panne) (patch 544637)Brian Paul
2002-06-30Implemented GL_EXT_multi_draw_arrays: glMultiDrawArraysEXT() and ↵Brian Paul
glMultiDrawElementsEXT().
2002-05-29Added GL_NV_point_sprite functions: glPointParameteri[v]NV().Brian Paul
Removed dead ARB_window_pos functions (we alias the MESA_window_pos funcs).
2002-05-27updated vertex program dispatchBrian Paul
2002-04-17Disabled SPARC cliptest functions for now. See bug report 544665.Brian Paul
2002-04-09remove dead vertex assemblyKeith Whitwell
2002-01-03regenerated from updated glsparcasm.py scriptBrian Paul
2001-12-14vertex program check-inBrian Paul
2001-12-04dispatch changes to minimize hassle with XFree86 libGLBrian Paul
2001-11-19fixed a glitchBrian Paul
2001-11-18added test implementation of GL_ARB_window_posBrian Paul
2001-11-18API dispath updatesBrian Paul
2001-10-17added new entrypoints for 1.3Brian Paul
2001-08-03Use #function instead of @functiondavem69
in .type directive so it works with Solaris assembler as well as GNU assembler.
2001-07-27undo previous check-in (restore the @ symbols)Brian Paul
2001-07-27replaced @ with ## or # to allow compilation on SunOS 5.6 (Bug 442742)Brian Paul
2001-06-06Remove dependency on MESA sources from gl* filesdavem69
in SPARC glapi optimizations by moving the icache flush into the glapi_sparc.S file. Brian, how is this?
2001-06-06SPARC normal tnl optimizations.davem69