summaryrefslogtreecommitdiffstats
path: root/src/mesa/sparc
Commit message (Collapse)AuthorAgeFilesLines
* Fix build when DEBUG is defined but DEBUG_MATH is not.Ian Romanick2006-10-161-1/+1
| | | | | | A couple places attempted to call _math_test_all_*_functions when DEBUG was defined. These routines only exist when DEBUG_MATH is defined.
* Fix bug #4681.Ian Romanick2006-10-111-83/+68
| | | | | | | | | | | | | | | | | 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
* Changes to generated code caused by the previous commits.Ian Romanick2006-10-041-4/+4
|
* Deprecate GL_EXT_vertex_weighting.Ian Romanick2006-08-291-32/+26
| | | | | | 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.
* More static dispatch function removal.Ian Romanick2006-08-291-103/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Add a couple of the missing GL 2.0 functions. Enable GLX protocol forIan Romanick2006-08-251-0/+2
| | | | | glBlendEquationSeparateEXT. Add missing enum "get" information for GL_EXT_texture_filter_anisotropic.
* GL_EXT_paletted_texture functions should alias GL_SGI_color_table functions.Ian Romanick2006-08-241-16/+13
| | | | | | | | | | 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.
* Add a new offset mode to the GL API XML. This mode, called "assign,"Ian Romanick2006-08-241-626/+526
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Add new attribute called static_dispatch to the <function> element. ThisIan Romanick2006-08-221-12/+12
| | | | | | | | | | | | | | | | | | | 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"'.
* Add support for GL_EXT_gpu_program_parameters. Any driver that enablesIan Romanick2006-08-151-0/+4
| | | | | either GL_ARB_vertex_program or GL_ARB_fragment_program should enable this extension as well.
* Add support for GL_APPLE_vertex_array_object. Several test programsIan Romanick2006-06-121-0/+8
| | | | | | | 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.
* regenerate SPARC assembly dispatch (bug 6484)Brian Paul2006-04-071-6/+12
|
* Fix SPARC assembly for 64-bitIan Romanick2005-07-286-19281/+1876
| | | | | | | | | | | | | | - 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.
* silence warning, minor clean-upBrian Paul2004-11-221-7/+4
|
* applied SPARC patch (freedesktop bug 1898)Brian Paul2004-11-225-922/+922
|
* Re-enable SPARC assembly on sunos5-gcc platform.Ian Romanick2004-06-261-5/+2
|
* bring over build fixes from stable branchAlan Hourihane2004-04-263-2/+21
|
* Added support for EXT_blend_equation_separate / ATI_blend_equation_separate.Ian Romanick2004-01-271-0/+42
| | | | | The internal driver interface was also changed to use BlendEquationSeparate instead of BlendEquation.
* fix __sparc_v9__ test to exclude linux (bug 852204)Brian Paul2003-12-015-922/+926
|
* generate the OpenGL 1.5 entrypointsBrian Paul2003-11-241-0/+399
|
* regenerated for GL_IBM_multimode_draw_arraysBrian Paul2003-08-241-42/+42
|
* Added support for GL_IBM_multimode_draw_arrays.Ian Romanick2003-08-221-0/+42
| | | | | | | | 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.
* Implemented GL_ARB_occlusion_query (not 100% finalized).Brian Paul2003-06-131-0/+168
|
* Further makefile clean-up, concentrated on the x86 assembly files.Brian Paul2003-06-101-2/+10
|
* alias ARB/NV program functions where possibleBrian Paul2003-04-211-318/+339
|
* GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_NV_fragment_program ↵Brian Paul2003-03-291-0/+1659
| | | | entrypoints
* disable normal xform code - see bug 673938Brian Paul2003-02-081-3/+6
|
* added glBlendFuncSeparate, glMultiDrawArrays, glMultiDrawElementsBrian Paul2002-11-071-105/+168
|
* added missing 1.4 glFogCoord functionsBrian Paul2002-11-071-0/+105
|
* fixed glSampleCoverage typoBrian Paul2002-09-061-0/+21
|
* added GL_EXT_stencil_two_side and GL_NV_fenceBrian Paul2002-09-061-0/+168
|
* added OpenGL 1.4 entrypointsBrian Paul2002-09-061-0/+777
|
* fix patching offsets (Sven Panne) (patch 544637)Brian Paul2002-07-121-3/+3
|
* Implemented GL_EXT_multi_draw_arrays: glMultiDrawArraysEXT() and ↵Brian Paul2002-06-301-0/+42
| | | | glMultiDrawElementsEXT().
* Added GL_NV_point_sprite functions: glPointParameteri[v]NV().Brian Paul2002-05-291-0/+42
| | | | Removed dead ARB_window_pos functions (we alias the MESA_window_pos funcs).
* updated vertex program dispatchBrian Paul2002-05-271-309/+309
|
* Disabled SPARC cliptest functions for now. See bug report 544665.Brian Paul2002-04-171-4/+8
|
* remove dead vertex assemblyKeith Whitwell2002-04-091-2/+1
|
* regenerated from updated glsparcasm.py scriptBrian Paul2002-01-031-1499/+1496
|
* vertex program check-inBrian Paul2001-12-141-6/+1350
|
* dispatch changes to minimize hassle with XFree86 libGLBrian Paul2001-12-041-597/+576
|
* fixed a glitchBrian Paul2001-11-191-685/+685
|
* added test implementation of GL_ARB_window_posBrian Paul2001-11-181-0/+336
|
* API dispath updatesBrian Paul2001-11-181-1077/+2463
|
* added new entrypoints for 1.3Brian Paul2001-10-171-0/+921
|
* Use #function instead of @functiondavem692001-08-031-3/+3
| | | | | in .type directive so it works with Solaris assembler as well as GNU assembler.
* undo previous check-in (restore the @ symbols)Brian Paul2001-07-271-3/+3
|
* replaced @ with ## or # to allow compilation on SunOS 5.6 (Bug 442742)Brian Paul2001-07-271-3/+3
|
* Remove dependency on MESA sources from gl* filesdavem692001-06-063-6/+17
| | | | | | | in SPARC glapi optimizations by moving the icache flush into the glapi_sparc.S file. Brian, how is this?
* SPARC normal tnl optimizations.davem692001-06-063-2/+644
|