summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2006-08-24GL_EXT_paletted_texture functions should alias GL_SGI_color_table functions.Ian Romanick
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.
2006-08-24Add a new offset mode to the GL API XML. This mode, called "assign,"Ian Romanick
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.
2006-08-24fix fragment.position initialization bugBrian Paul
2006-08-24Check if mesa_vp->Base.Parameters is null before dereferencing (bug reportBrian Paul
from Chris Rankin). Also, fix some bad casts.
2006-08-24Fix some problems with the generation of the size tables. EnableIan Romanick
generation of protocol tables for Render.
2006-08-23silence warningBrian Paul
2006-08-23Added _mesa_lookup_program() and _mesa_lookup_bufferobj() functions to avoidBrian Paul
a lot of casting elsewhere. Use _mesa_lookup_texture() in tdfx driver, use _mesa_lookup_bufferobj() in r300 driver.
2006-08-23New script and API description file to enable generate of GLX protocolIan Romanick
decode tables in the server.
2006-08-22remove duplicate pieces of code.Aapo Tahkola
2006-08-22extend some DrawRangeElements cases to support rendering more than 65535 ↵Aapo Tahkola
verts in one blast. ut2k4 cases in other words ...
2006-08-22fix broken write-only depth setting. use early z where possible.Aapo Tahkola
2006-08-22Correct the name of the GL_NV_texture_expand_normal extension.Ian Romanick
2006-08-22The TLS dispatch functions for x86-64 are fixed-size, just like onIan Romanick
x86. This means that the position of each dispatch function can be calculated as (dispatch_offset * size_of_function) + glNewList. This allows us to not store the function pointers in glprocs_table_t. This same optimization has been done for quite some time on x86. We could probably also do this for some cases of the SPARC dispatch as well.
2006-08-22Add new attribute called static_dispatch to the <function> element. ThisIan Romanick
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"'.
2006-08-21move ALL_SOURCES to sources fileBrian Paul
2006-08-21remove FBDEV_DRIVER_OBJECTS assignment (in sources file)Brian Paul
2006-08-21More GLSL preprocessor code:Michal Krol
Rename slang_version.syn to slang_pp_version.syn. The #version directive understands version 120. Cosmetic changes in version preprocessor. Checks if requested version is supported by the compiler.
2006-08-21GLSL 1.20 constructors and operators.Michal Krol
2006-08-19remove the now confusing option to manually enable software ARB_vp if drm is ↵Roland Scheidegger
not new enough on r200
2006-08-19Removed ifeq from makefile, and corrected fbdev driver so it compilesSean D'Epagnier
2006-08-18Fix-ups for linux-fbdev config. No longer build Xlib driver sources.Brian Paul
2006-08-18The driver now compiles correctly without any x headers or libraries installedSean D'Epagnier
The bitmap and stroke code can't be shared with glx anymore because of this. The model for the mini teapot is restored and I have tested it to work with linux-fbdev and linux-solo The driver recognizes 32bpp where there is no alpha (my radeon 7500) It also sets the correct number of cmap entrees (instead of 256 which can be an error)
2006-08-18Fix writemasks on texture arb fp instructions.Alan Hourihane
Cleanup invarient state emission.
2006-08-17sort the FEATURE_ definesBrian Paul
2006-08-17added FEATURE_EXT_timer_query and testsBrian Paul
2006-08-17change #ifdef to #ifBrian Paul
2006-08-16change tex memory allocation calls (debian bug 383209)Brian Paul
2006-08-16When available, which is most of the time, use posix_memalign to implementIan Romanick
_mesa_align_malloc and friends.
2006-08-15Enable support for GL_EXT_gpu_program_parameters for R300.Ian Romanick
2006-08-15Add support for GL_EXT_gpu_program_parameters. Any driver that enablesIan Romanick
either GL_ARB_vertex_program or GL_ARB_fragment_program should enable this extension as well.
2006-08-15Remove extraneous trailing semicolon.Ian Romanick
2006-08-12gcc-4.1.1 compile fixAapo Tahkola
2006-08-12Add comments explaining a couple "mystery" bits.Ian Romanick
2006-08-11Fix long standing bug that prevented newer drivers from working withIan Romanick
older libGL. The data in extension_helper.h erroneous instructed drivers to expect all functions with establised offsets, even those not in the ABI, to have a specific offset allocated. This is just wrong. A function is either in the ABI and has a set offset or a function is not in the ABI and has a re-map offset.
2006-08-11support shorts as vertex dataAapo Tahkola
2006-08-10Add padding to match the current xf86-video-intel DDX->DRI interface.Eric Anholt
2006-08-10Fixup more PROGRAM_UNDEFINED problems.Alan Hourihane
2006-08-10Fix some breakage after the PROGRAM_UNDEFINED changeAlan Hourihane
2006-08-10Added initial multisampling support to glfbdev driver.Sean D'Epagnier
Fully implemented glutGameMode, and added vidresize stubs to make Added support for glutReshapeDisplay to change video mode but not lose current mesa context. implementation glut 5 complient. Fixed many minor bugs Updated docs
2006-08-10finish up texstore for SL8 texture formatBrian Paul
2006-08-09GLSL 1.20 built-in library.Michal Krol
2006-08-09More GLSL code - more support for vec4 operations on x86 back-end.Michal Krol
2006-08-09Add Intel i965G/Q DRI driver.Eric Anholt
This driver comes from Tungsten Graphics, with a few further modifications by Intel.
2006-08-09Add PROGRAM_FILE_MAX for i965 driver.Eric Anholt
While here, make PROGRAM_UNDEFINED just the next value in the enum.
2006-08-09implement some of the sRGB texstore functionsBrian Paul
2006-08-04fix typo, indentationBrian Paul
2006-08-04export new _mesa_* functionsKarl Schultz
2006-08-04fix bug when pushing ReadBuffer state for GL_PIXEL_MODE_BITBrian Paul
2006-08-04more work for GL_EXT_texture_sRGB.Brian Paul
2006-08-03use WRITE_MASK_* instead of 0x1, 0x2, etcBrian Paul