summaryrefslogtreecommitdiffstats
path: root/src/mesa/x86
Commit message (Collapse)AuthorAgeFilesLines
* Mammoth update to the Python code generator scripts that live inIan Romanick2005-06-211-95/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/mesa/glapi. Basically, the scripts that did simple things (like gl_offsets.py) were simple, and the scripts that did more complicated things (like glX_proto_send.py) were getting progressively more and more out of control. So, I re-write the foundation classes on which everything is based. One problem with the existing code is that the division between the GL API database representation and the way the output code is generated was either blury or nonexistant. The new code somewhat follows the Model-View-Controller pattern, minus the Controller. There is a distinct set of classes that model the API data, and there is a distinct set of classes that generate code from that data. One big change is in the class that represents GL functions (was glFunction, is now gl_function). There used to be an instance of this calls for each function and for each alias to that function. For example, there was an instance for PointParameterivSGIS, PointParameterivEXT, PointParameterivARB, and PointParameteriv. In the new code, there is one instance. Each instance has a list of entrypoint names for the function. In the next revision, this will allow a couple useful things. The script will be able to verify that the parameters, return type, and GLX protocol for a function and all it's aliases match. It will also allow aliases to be represented in the XML more compactly. Instead of repeating all the information, an alias can be listed as: <function name="PointParameterivARB" alias="PointParameterivEXT"/> Because the data representation was changed, the order that the alias functions are processed by the scripts also changed. This accounts for at least 2,700 of the ~3,600 lines of diffs in the generated code. Most of the remaining ~900 lines of diffs are the result of bugs *fixed* by the new scripts. The old scripts also generated code with some bugs in it. These bugs were discovered while the new code was being written. These changes were discussed on the mesa3d-dev mailing list back at the end of May: http://marc.theaimsgroup.com/?t=111714569000004&r=1&w=2 Xorg bug: 3197, 3208
* Turn off DISASSEMKeith Whitwell2005-06-081-1/+1
|
* Add some more opcodesKeith Whitwell2005-06-082-160/+149
|
* New files - split off runtime assembly functions fromKeith Whitwell2005-06-072-0/+810
| | | | t_vertex_sse.c.
* Make a couple minor corrections to gl_API.xml. Fixes the name of anIan Romanick2005-05-261-0/+10
| | | | | | | | extension that was missing the GL_ part and uses the core GL type names for vertex buffer object functions instead of the ARB names. Also commits the resulting changes to the generated code. Some how, the #if sequence disappeared in the 1.52 version of glapi_x86.S.
* x86-64 transform optimizations (Mikko T.)Brian Paul2005-05-073-15/+11
|
* Add TLS support to libGL and, by virtue of using glthread.h and GL_CALL, allIan Romanick2005-04-131-4/+50
| | | | | | | DRI drivers. A TLS enabled libGL can load a TLS or a non-TLS DRI driver, but a TLS DRI driver requires a TLS enabled libGL. This fixes bug #1822.
* Add new entrypoints for GL_EXT_framebuffer_object.Brian Paul2005-02-081-0/+17
|
* There is no point trying to detect SSE at all, when MESA_NO_SSE is defined. ↵Daniel Borca2005-01-191-6/+8
| | | | I am committing this because the current WIN32 SSE detection code crashes UnrealTournament2003.
* OpenGL 2.0 StencilFunc/Op/MaskSeparate functionsBrian Paul2005-01-121-0/+3
|
* Windows/ReactOS patch (Gregor Anich)Brian Paul2005-01-101-0/+69
|
* Add a clean target to remove generated files.Keith Whitwell2005-01-071-0/+3
|
* Use GNU AS label aliasing, if available. This must be enabled by addingIan Romanick2005-01-071-179/+188
| | | | | | '-DHAVE_ALIAS' to DEFINES in the config file used for building. On the linux-dri-x86 build, this cuts 4KB from libGL.so. HAVE_ALIAS is not currently enabled in any of the configs.
* protected against elfish directivesDaniel Borca2005-01-061-1/+1
|
* use HIDDEN macro to export fewer symbols (bug 2210)Brian Paul2005-01-0418-15/+120
|
* Implement software ATI_fragment_shaderDave Airlie2004-12-191-0/+14
| | | | no error detection, slow, may not be 100% correct but a good start
* protected elfish code against non-elf compilersDaniel Borca2004-12-151-0/+2
|
* uint*t -> u_int*t changesAlan Hourihane2004-12-141-1/+2
|
* Change the dispatch offsets for the VertexAttrib*NV functions so they don'tBrian Paul2004-11-271-58/+58
| | | | | | | alias with the corresponding ARB functions. GL_ARB_vertex_shader (and OpenGL 2.0's) VertexAttrib functions don't alias with conventional vertex attributes, as GL_NV_vertex_program does. So, the ARB and NV version of VertexAttrib need to be distinct.
* Set symbol visibility to 'default', if supported by gcc.Brian Paul2004-11-271-0/+7
|
* Added MMX optimized version of the RGB565 ReadRGBASpan routine.Ian Romanick2004-11-022-0/+226
|
* renumber ARB_shader_objects and ARB_vertex_shader offsetsMichal Krol2004-10-281-1/+1
| | | | | to get BlendEquation have offset 710 fix param name lack with GetInfoLogARB
* add support for ARB_shader_objects and ARB_vertex_shaderMichal Krol2004-10-271-0/+42
|
* added an attention-getting comment for developers who get stopped in ↵Brian Paul2004-10-261-4/+8
| | | | _mesa_test_os_sse_support() while debugging
* minor fixes from J.P. DelportBrian Paul2004-10-231-0/+1
|
* Add support for optimized versions of the code underlying ReadPixelsIan Romanick2004-10-142-0/+506
| | | | | | | | | (and DrawPixels). The R200, R128, and Unichrome drivers get support in this commit. Other drivers would be easy enough to add for people that have the cards. The DRI (CVS) build will need to be updated to account for the new source files.
* Eliminate the funky SSE exception test from DRI builds. It's not needIan Romanick2004-10-131-6/+16
| | | | (see the comment in the code), and it's just annoying.
* GL_ARB_draw_buffersBrian Paul2004-10-021-1/+2
|
* Fix mgl name mangling (patch 1014800)Brian Paul2004-08-251-4/+10
|
* Fixed an assembler warning / error (depending on the version of GAS used).Ian Romanick2004-08-171-11/+3
| | | | Fixed a crash in the optimized pthreads dispatch path.
* put back the correct dispatcher for non-threaded builds.Daniel Borca2004-07-021-3/+3
| | | | fixed x86 entrypoints for Mingw/DJGPP.
* Make sure THREADS is set no matter which threading model is selected.Ian Romanick2004-07-011-0/+4
|
* First phase of TLS work. At this point SPARC assembly dispatch isIan Romanick2004-06-291-5501/+999
| | | | | broken, but it will be fixed "shortly." This is pretty much the same as the patch I sent to the dri-devel list on 22-Jun-2004.
* bring over build fixes from stable branchAlan Hourihane2004-04-2614-17/+61
|
* updated Glide driver documentationDaniel Borca2004-04-131-4/+4
| | | | | | | fixed SAL/SAR in assyntax.h (NASM) fixed a bug wrt NULL pointer assignment in t_vtx_api.c cosmetics to t_vtx_x86.c & t_vtx_x86_gcc.S enabled STDCALL with codegen (MinGW)
* remove non-portable whitespaceAlan Hourihane2004-04-081-18/+18
|
* New Makefile systemBrian Paul2004-03-261-0/+42
|
* made NASM opcodes consistentDaniel Borca2004-03-031-4/+4
|
* fixed some typosDaniel Borca2004-02-201-1/+1
|
* s/getenv/_mesa_getenv/Brian Paul2004-02-021-11/+9
|
* Added support for EXT_blend_equation_separate / ATI_blend_equation_separate.Ian Romanick2004-01-271-0/+12
| | | | | The internal driver interface was also changed to use BlendEquationSeparate instead of BlendEquation.
* re-enable SSE code, except for the _mesa_sse_transform_points4_identity() ↵Brian Paul2004-01-092-8/+11
| | | | function. Use the x86 version instead
* Add comment regarding sse disableKeith Whitwell2004-01-061-0/+2
|
* SSE segfaults in conform - disable for now.Keith Whitwell2004-01-061-2/+2
|
* Fix to work with the C preprocessor in GCC 3.3.x.Ian Romanick2003-12-171-2/+2
|
* build fixesAlan Hourihane2003-12-041-1/+0
|
* Port over changes from XFree86/Mesa 5.0.2, mostly to silence compiler warnings.Brian Paul2003-12-043-23/+34
|
* accomodate vtx-0-2-branchDaniel Borca2003-11-264-88/+50
|
* updated after APIspec fixesBrian Paul2003-11-241-4/+4
|
* generate the OpenGL 1.5 entrypointsBrian Paul2003-11-241-0/+114
|