| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
determine if we actually have a program. See "[r300] TCL fallback with Quake3".
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the true static dispatch name (either the glFooBar name or the
gl_dispatch_stub_XXX name). static_name returns the name of the
static function for a specific alias of a GL function.
Adding (and using) these two functions corrects some problems in the
generated code related to functions with multiple aliases where some
of the aliases have true static dispatch functions and some don't. I
have verified that everything under progs, except xdemos/xdemo,
correctly link. I did this by doing 'make linux-dri-x86-64
PROGRAM_DIRS="demos redbook samples xdemos tests"'.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
entry point generated. This allows us to do things like generate a
static entry point for glPointParameterfvARB but not for
glPointParameterfvSGIS.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
glBlendEquationSeparateEXT. Add missing enum "get" information for
GL_EXT_texture_filter_anisotropic.
|
| |
|
| |
|
| |
|
|
|
|
| |
the binding. Prevent a potential dangling pointer error. SF Bug 1544507.
|
|
|
|
|
| |
we're in GL_COMPILE_AND_EXECUTE mode.
This fixes bug 7984.
|
| |
|
|
|
|
|
| |
The four DP4 instructions are now inserted at the top of the program
instead of appended to tail.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Updated MAX_NV_FRAGMENT_PROGRAM_INSTRUCTIONS to 1024.
|
|
|
|
|
|
| |
with glBindProgramARB(). I guess the GL_ARB_fragment_program specification
allows that, but Mesa didn't.
Relaxed the check with a new predicate function: compatible_program_targets().
|
| |
|
| |
|
|
|
|
| |
r300_translate_vertex_shader()
|
|
|
|
|
| |
Fixes bug reported by Chris Rankin.
Added some new comments.
|
| |
|
|
|
|
| |
Fixed/updated comments for parameter list functions.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
from Chris Rankin).
Also, fix some bad casts.
|
|
|
|
| |
generation of protocol tables for Render.
|
| |
|
|
|
|
|
|
| |
a lot of casting elsewhere.
Use _mesa_lookup_texture() in tdfx driver, use _mesa_lookup_bufferobj() in r300
driver.
|
|
|
|
| |
decode tables in the server.
|
| |
|
|
|
|
| |
verts in one blast. ut2k4 cases in other words ...
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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"'.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
not new enough on r200
|