summaryrefslogtreecommitdiffstats
path: root/src/mesa/x86-64
Commit message (Collapse)AuthorAgeFilesLines
* Use 3Dnow! x86-64 routines only on processors that support 3Dnow!Ian Romanick2008-09-282-19/+46
| | | | | | | | | Added an x86-64 CPUID function and use it to detect 3Dnow! If 3Dnow! is available, use _mesa_3dnow_transform_points4_3d_no_rot, _mesa_3dnow_transform_points4_perspective, _mesa_3dnow_transform_points4_2d_no_rot, and _mesa_3dnow_transform_points4_2d. This fixes long standing bug #8724.
* Remove CVS keywords.Keith Whitwell2008-09-212-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cherry-picked from gallium-0.1 Conflicts: src/glu/sgi/libnurbs/interface/bezierEval.h src/glu/sgi/libnurbs/interface/bezierPatch.h src/glu/sgi/libnurbs/interface/bezierPatchMesh.h src/glu/sgi/libnurbs/internals/dataTransform.h src/glu/sgi/libnurbs/internals/displaymode.h src/glu/sgi/libnurbs/internals/sorter.h src/glu/sgi/libnurbs/nurbtess/definitions.h src/glu/sgi/libnurbs/nurbtess/directedLine.h src/glu/sgi/libnurbs/nurbtess/gridWrap.h src/glu/sgi/libnurbs/nurbtess/monoChain.h src/glu/sgi/libnurbs/nurbtess/monoPolyPart.h src/glu/sgi/libnurbs/nurbtess/monoTriangulation.h src/glu/sgi/libnurbs/nurbtess/partitionX.h src/glu/sgi/libnurbs/nurbtess/partitionY.h src/glu/sgi/libnurbs/nurbtess/polyDBG.h src/glu/sgi/libnurbs/nurbtess/polyUtil.h src/glu/sgi/libnurbs/nurbtess/primitiveStream.h src/glu/sgi/libnurbs/nurbtess/quicksort.h src/glu/sgi/libnurbs/nurbtess/rectBlock.h src/glu/sgi/libnurbs/nurbtess/sampleComp.h src/glu/sgi/libnurbs/nurbtess/sampleCompBot.h src/glu/sgi/libnurbs/nurbtess/sampleCompRight.h src/glu/sgi/libnurbs/nurbtess/sampleCompTop.h src/glu/sgi/libnurbs/nurbtess/sampleMonoPoly.h src/glu/sgi/libnurbs/nurbtess/sampledLine.h src/glu/sgi/libnurbs/nurbtess/searchTree.h src/glu/sgi/libnurbs/nurbtess/zlassert.h src/glu/sgi/libutil/error.c src/glu/sgi/libutil/glue.c src/glu/sgi/libutil/gluint.h src/glu/sgi/libutil/project.c src/glu/sgi/libutil/registry.c src/glx/x11/glxclient.h src/glx/x11/glxext.c src/mesa/drivers/dri/ffb/ffb_dd.h src/mesa/drivers/dri/ffb/ffb_points.h src/mesa/drivers/dri/gamma/gamma_context.h src/mesa/drivers/dri/gamma/gamma_macros.h src/mesa/drivers/dri/i810/i810context.h src/mesa/drivers/dri/r128/r128_dd.h src/mesa/drivers/dri/tdfx/tdfx_dd.h
* mesa: Prefix main includes with dir to avoid conflicts.José Fonseca2008-09-211-2/+2
| | | | Eliminate a couple of differences with gallium-0.2
* mesa: Remove assyntax.h include from generated matypes.h.José Fonseca2008-09-211-1/+1
| | | | | | | matypes.h doesn't really depend on assyntax.h; assyntax.h is only present on x86; and this way we remove the need of grep being available (which is relevant for scons and non-unix platforms). (cherry picked from commit fc286ff3ba089af5f1aca2d35b93b53a9383b1cf)
* Never fail `make clean'Dan Nicholson2008-05-071-1/+1
| | | | | | Mostly some pedantic changes such that `make clean' always ignores errors. Also changed the top clean target to do the `touch configs/current' dance instead of realclean.
* recreate from changed gl_API.xmlRoland Scheidegger2007-11-091-634/+458
|
* Alias glStencilOpSeparateATI with glStencilOpSeparate.Brian2007-10-301-46/+0
|
* Finish up ATI_separate_stencilBrian2007-10-301-0/+92
| | | | | | Add entrypoints to glapi XML file and regenerate files. Implement glStencilOpSeparateATI(). Consolidate some code in stencil.c
* fix another occurence of movaps which might not be alignedRoland Scheidegger2007-08-301-1/+1
|
* s/movaps/movups/ (see bug 12216)Brian2007-08-301-5/+3
|
* Add a few missing GL 2.0 entrypoints, regenerate related files.Brian2007-06-281-0/+5
| | | | | | | | | Specifically: glVertexAttrib4bv glVertexAttrib4iv glVertexAttrib4ubv glVertexAttrib4uiv glVertexAttrib4usv
* Initial implementation of MESA_texture_arrayIan Romanick2007-05-161-9/+54
| | | | | Shadow sampling from texture arrays is still not implemented. Everything else should be there, though.
* Bug 9628: no entry for GetVertexAttribPointervGeorge Sapountzis2007-01-271-0/+1
| | | | | | | | This is because (in glX_API.xml) GetVertexAttribPointerv is aliased to GetVertexAttribPointervARB which is then aliased to GetVertexAttribPointervNV. Make GetVertexAttribPointerv alias GetVertexAttribPointervNV directly. Patch by Ian Romanick <[email protected]> and regenerate.
* #define _glapi_Dispatch _mglapi_Dispatch when USE_MGL_NAMESPACE is set.Brian Paul2006-11-031-0/+1
|
* Added OpenGL 2.1 entrypoints.Brian Paul2006-11-031-1528/+1798
|
* Update gl_API.xml with OpenGL 2.0 functions, regenerate derived files.Brian Paul2006-11-021-1541/+2067
|
* include x86-64.h to silence warningBrian Paul2006-10-171-1/+4
|
* Fix build when DEBUG is defined but DEBUG_MATH is not.Ian Romanick2006-10-161-2/+2
| | | | | | 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-1609/+981
| | | | | | | | | | | | | | | | | 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-66/+66
|
* Deprecate GL_EXT_vertex_weighting.Ian Romanick2006-08-291-868/+761
| | | | | | 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-185/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-936/+820
| | | | | | | | | | 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-5770/+3948
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-24/+30
| | | | | | | | | | | | | | | | | | | 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/+90
| | | | | 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-1/+133
| | | | | | | 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.
* Add .note.GNU-stack section to assembler files to avoid the default behaviorKristian Høgsberg2006-04-172-1/+9
| | | | of requesting executable stacks.
* Added glBlitFramebufferEXT function.Brian Paul2006-03-011-0/+53
|
* Regenerate for recent glapi changes (GetQueryObjecti64vEXT).Eric Anholt2005-12-111-0/+74
|
* Fix build issues on x86-64 due to missing include path inIan Romanick2005-12-021-1/+1
| | | | | | glapi_x86-64.S. Bug: #5602
* implement USE_MGL_NAMESPACE for x86-64 dispatch code (Mark Bolstad)Brian Paul2005-11-021-3443/+3452
|
* additional wrapper updates, bug 4468Brian Paul2005-09-191-2/+2
|
* Remove _glapi_check_multithread from the interface exported by the loader toIan Romanick2005-08-101-816/+816
| | | | | | | | | | | | | | | | | the driver. The loader now takes care of this for the driver. Remove _glapi_DispatchTSD and give _glapi_Dispatch its semantic (i.e., having a NULL value means that the application is multithreaded and _glapi_get_dispatch must be called). Gut all of the dispatch override code. This removes _glapi_RealDispatch, _glapi_tls_RealDispatch, _glapi_begin_dispatch_override, _glapi_end_dispatch_override, and _glapi_get_override_dispatch. Remove _glapi_get_proc_address, _glapi_get_proc_name, _glapi_get_version, and _glapi_check_table from the loader / driver interface. Reviewed by: Brian Paul
* s/Disaptch/Dispatch/ (bug 3918)Brian Paul2005-08-081-1/+1
|
* Convert all instances of XTHREADS to USE_XTHREADS. This fixes one ofIan Romanick2005-08-031-1/+1
| | | | | serveral things that are broken when building on a system with X.org 7.0rc0 installed.
* Add support for assembly (static) dispatch functions on x86-64. ThisIan Romanick2005-07-021-0/+30993
| | | | | | is basically patch #2939 from X.org bugzilla #3379. This does *not* fix the bug as it does not dynamically generate stubs at run-time. It just gets things one step closer.
* this is auto-generatedBrian Paul2005-06-061-164/+0
|
* x86-64 transform optimizations (Mikko T.)Brian Paul2005-05-076-0/+848