summaryrefslogtreecommitdiff
path: root/src/mesa/x86
AgeCommit message (Collapse)Author
2005-07-16strip out vestigial #ifdef HAVE_CONFIG_H stanzas, they're confusing theAdam Jackson
modular X build
2005-07-10Add lots of x87 fpu instructions.Keith Whitwell
2005-07-01fix dependenciesBrian Paul
2005-06-30Fix crashes with pixel readback when using the optimized assembly functions.Roland Scheidegger
Pixel count can be negative (this could be fixed elsewhere), so adapt the functions to work with such inputs correctly (same behaviour as non-optimized functions). Bugzilla #2317 Submitted by idr
2005-06-21Mammoth update to the Python code generator scripts that live inIan Romanick
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
2005-06-08Turn off DISASSEMKeith Whitwell
2005-06-08Add some more opcodesKeith Whitwell
2005-06-07New files - split off runtime assembly functions fromKeith Whitwell
t_vertex_sse.c.
2005-05-26Make a couple minor corrections to gl_API.xml. Fixes the name of anIan Romanick
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.
2005-05-07x86-64 transform optimizations (Mikko T.)Brian Paul
2005-04-13Add TLS support to libGL and, by virtue of using glthread.h and GL_CALL, allIan Romanick
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.
2005-02-08Add new entrypoints for GL_EXT_framebuffer_object.Brian Paul
2005-01-19There is no point trying to detect SSE at all, when MESA_NO_SSE is defined. ↵Daniel Borca
I am committing this because the current WIN32 SSE detection code crashes UnrealTournament2003.
2005-01-12OpenGL 2.0 StencilFunc/Op/MaskSeparate functionsBrian Paul
2005-01-10Windows/ReactOS patch (Gregor Anich)Brian Paul
2005-01-07Add a clean target to remove generated files.Keith Whitwell
2005-01-07Use GNU AS label aliasing, if available. This must be enabled by addingIan Romanick
'-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.
2005-01-06protected against elfish directivesDaniel Borca
2005-01-04use HIDDEN macro to export fewer symbols (bug 2210)Brian Paul
2004-12-19Implement software ATI_fragment_shaderDave Airlie
no error detection, slow, may not be 100% correct but a good start
2004-12-15protected elfish code against non-elf compilersDaniel Borca
2004-12-14uint*t -> u_int*t changesAlan Hourihane
2004-11-27Change the dispatch offsets for the VertexAttrib*NV functions so they don'tBrian Paul
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.
2004-11-27Set symbol visibility to 'default', if supported by gcc.Brian Paul
2004-11-02Added MMX optimized version of the RGB565 ReadRGBASpan routine.Ian Romanick
2004-10-28renumber ARB_shader_objects and ARB_vertex_shader offsetsMichal Krol
to get BlendEquation have offset 710 fix param name lack with GetInfoLogARB
2004-10-27add support for ARB_shader_objects and ARB_vertex_shaderMichal Krol
2004-10-26added an attention-getting comment for developers who get stopped in ↵Brian Paul
_mesa_test_os_sse_support() while debugging
2004-10-23minor fixes from J.P. DelportBrian Paul
2004-10-14Add support for optimized versions of the code underlying ReadPixelsIan Romanick
(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.
2004-10-13Eliminate the funky SSE exception test from DRI builds. It's not needIan Romanick
(see the comment in the code), and it's just annoying.
2004-10-02GL_ARB_draw_buffersBrian Paul
2004-08-25Fix mgl name mangling (patch 1014800)Brian Paul
2004-08-17Fixed an assembler warning / error (depending on the version of GAS used).Ian Romanick
Fixed a crash in the optimized pthreads dispatch path.
2004-07-02put back the correct dispatcher for non-threaded builds.Daniel Borca
fixed x86 entrypoints for Mingw/DJGPP.
2004-07-01Make sure THREADS is set no matter which threading model is selected.Ian Romanick
2004-06-29First phase of TLS work. At this point SPARC assembly dispatch isIan Romanick
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.
2004-04-26bring over build fixes from stable branchAlan Hourihane
2004-04-13updated Glide driver documentationDaniel Borca
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)
2004-04-08remove non-portable whitespaceAlan Hourihane
2004-03-26New Makefile systemBrian Paul
2004-03-03made NASM opcodes consistentDaniel Borca
2004-02-20fixed some typosDaniel Borca
2004-02-02s/getenv/_mesa_getenv/Brian Paul
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.
2004-01-09re-enable SSE code, except for the _mesa_sse_transform_points4_identity() ↵Brian Paul
function. Use the x86 version instead
2004-01-06Add comment regarding sse disableKeith Whitwell
2004-01-06SSE segfaults in conform - disable for now.Keith Whitwell
2003-12-17Fix to work with the C preprocessor in GCC 3.3.x.Ian Romanick
2003-12-04build fixesAlan Hourihane