summaryrefslogtreecommitdiffstats
path: root/src/mesa/x86
Commit message (Collapse)AuthorAgeFilesLines
* mesa: fix broken x86_call()Keith Whitwell2008-04-111-1/+8
|
* Alias glStencilOpSeparateATI with glStencilOpSeparate.Brian2008-04-041-7/+6
|
* Finish up ATI_separate_stencilBrian2008-04-041-6/+10
| | | | | | Add entrypoints to glapi XML file and regenerate files. Implement glStencilOpSeparateATI(). Consolidate some code in stencil.c
* Remove src/mesa and src/mesa/main from gallium source include paths.José Fonseca2008-02-191-1/+1
|
* x86: fix assignment in assert typoKeith Whitwell2008-02-131-1/+1
|
* x86: remove debugKeith Whitwell2008-02-131-2/+0
|
* x86: emit absolute calls, as reallocating exec mem breaks relative onesKeith Whitwell2008-02-132-1/+15
|
* x86: reallocate exec mem when we run outKeith Whitwell2008-02-132-35/+61
|
* tgsi: Fall back to interpreter instead of assert(0) on unimplemented SSE code.Michel Dänzer2008-02-071-0/+1
|
* Use HOST_CC for programs that will run on the build hostIan Romanick2008-01-231-1/+1
|
* Add glapi/ path for inclusion of glapioffsets.h.Michel Dänzer2008-01-101-1/+1
| | | | Not sure why this is only needed now...
* Double amount of memory allocated for generated shader code.Michel Dänzer2007-10-031-1/+1
| | | | The code generated for the glxgears vertex shader didn't fit, causing a crash.
* Remove gl dependency from the x86 assembler codeZack Rusin2007-09-282-58/+59
|
* Revert "Redoing the way we handle vertex shaders for the draw module."Zack Rusin2007-09-282-59/+58
| | | | This reverts commit 6dcfddb8e2ec2bfb6187b912807fa65f28da2c5e.
* Redoing the way we handle vertex shaders for the draw module.Zack Rusin2007-09-282-58/+59
|
* Fix some compiler warnings with -pedanticKeith Whitwell2007-09-272-4/+10
|
* Enable codegen based whenever __i386__ is defined.Keith Whitwell2007-09-272-2/+2
|
* Indent. Remove GL dependencies. Simplify. Add rtasm instructions.michal2007-08-242-0/+61
|
* Add a few missing GL 2.0 entrypoints, regenerate related files.Brian2007-06-281-0/+6
| | | | | | | | | Specifically: glVertexAttrib4bv glVertexAttrib4iv glVertexAttrib4ubv glVertexAttrib4uiv glVertexAttrib4usv
* Fix TEXREL issues when using GLX_USE_TLS (see bug 7459).Brian2007-06-121-3/+11
|
* Remove dubious compile-time test for pre-2.4 Linux kernels.Michel Dänzer2007-06-051-7/+2
| | | | | | | | LINUX_VERSION_CODE shouldn't be used by userspace code, it can be defined empty these days. If anybody still cares about 2.2 kernels, they should reinstate this as a proper runtime test.
* Initial implementation of MESA_texture_arrayIan Romanick2007-05-161-6/+7
| | | | | Shadow sampling from texture arrays is still not implemented. Everything else should be there, though.
* Fix some bugs related to loop counters and conditional branching.Patrick Baggett2007-05-111-24/+24
|
* Drop the funky SSE exception test on linux.George Sapountzis2007-04-061-140/+6
| | | | | Replace the check for IN_DRI_DRIVER with the appropriate kernel version check and just disable SSE on older (pre 2.4) kernels.
* use movdqu instead of movdqa for unaligned load avoiding a segfault (bug 10265)Roland Scheidegger2007-03-131-1/+1
|
* Fix TEXREL issues.Brian2007-03-102-5/+122
| | | | | Patch submitted by Christoph Brill. See http://www.gentoo.org/proj/en/hardened/pic-fix-guide.xml
* 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 <idr@us.ibm.com> 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-63/+69
|
* Update gl_API.xml with OpenGL 2.0 functions, regenerate derived files.Brian Paul2006-11-021-64/+146
|
* Fix bug #4681.Ian Romanick2006-10-111-93/+123
| | | | | | | | | | | | | | | | | 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-10/+10
|
* updated protos for blend funcsBrian Paul2006-09-291-9/+12
|
* Deprecate GL_EXT_vertex_weighting.Ian Romanick2006-08-291-42/+39
| | | | | | 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-46/+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-14/+14
| | | | | | | | | | 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-346/+296
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-6/+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/+2
| | | | | either GL_ARB_vertex_program or GL_ARB_fragment_program should enable this extension as well.
* More GLSL code - more support for vec4 operations on x86 back-end.Michal Krol2006-08-092-0/+16
|
* remove obsolete PointSizePtrBrian Paul2006-06-161-3/+2
|
* Add support for GL_APPLE_vertex_array_object. Several test programsIan Romanick2006-06-121-2/+6
| | | | | | | 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.
* Fix extended swizzling in vertex programs by introducing special swizzle ↵Roland Scheidegger2006-06-012-0/+18
| | | | instruction, extend the 2 bit rsw field to 3 bit like used in other places. While here, also fix up rsw (negation), dph and try to fix up rsq with negative values (doesn't work, bug seems elsewhere) in the sse codegen code.
* Add functions.Michal Krol2006-05-162-0/+7
|
* Remove carriage returns.Michal Krol2006-04-252-84/+84
|
* Add .note.GNU-stack section to assembler files to avoid the default behaviorKristian Høgsberg2006-04-1718-14/+86
| | | | of requesting executable stacks.
* use _mesa_debug() instead of message() - fixes poor formatting of outputBrian Paul2006-04-101-55/+34
|
* Disable `hidden' attribute for DJGPPDaniel Borca2006-03-271-1/+1
|
* Added glBlitFramebufferEXT function.Brian Paul2006-03-011-0/+1
|