summaryrefslogtreecommitdiff
path: root/src/mesa/glapi/gl_x86_asm.py
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2006-08-26 21:26:55 +0000
committerIan Romanick <idr@us.ibm.com>2006-08-26 21:26:55 +0000
commit7e9737b3704b92865242d7564825cdc57db5c4c9 (patch)
treedc263730d8d7ac5d0e0c21177a7ad52ff3100fcc /src/mesa/glapi/gl_x86_asm.py
parent092d14be92259d4210e3a2b5d4b5e18886bb4d4a (diff)
Explicitly store the names for each function that should have a static
entry point generated. This allows us to do things like generate a static entry point for glPointParameterfvARB but not for glPointParameterfvSGIS.
Diffstat (limited to 'src/mesa/glapi/gl_x86_asm.py')
-rw-r--r--src/mesa/glapi/gl_x86_asm.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/glapi/gl_x86_asm.py b/src/mesa/glapi/gl_x86_asm.py
index 3ce8404f8c..2ebe4e8b24 100644
--- a/src/mesa/glapi/gl_x86_asm.py
+++ b/src/mesa/glapi/gl_x86_asm.py
@@ -197,7 +197,7 @@ class PrintGenericStubs(gl_XML.gl_print_base):
def printBody(self, api):
for f in api.functionIterateByOffset():
- if f.static_dispatch:
+ if f.is_static_entry_point(f.name):
name = f.name
else:
name = "_dispatch_stub_%u" % (f.offset)
@@ -207,12 +207,12 @@ class PrintGenericStubs(gl_XML.gl_print_base):
alt = "%s@%u" % (name, stack)
print '\tGL_STUB(%s, _gloffset_%s, %s)' % (name, f.name, alt)
- if not f.static_dispatch:
+ if not f.is_static_entry_point(f.name):
print '\tHIDDEN(GL_PREFIX(%s, %s))' % (name, alt)
for f in api.functionIterateByOffset():
- if f.static_dispatch:
+ if f.is_static_entry_point(f.name):
name = f.name
else:
name = "_dispatch_stub_%u" % (f.offset)
@@ -221,7 +221,7 @@ class PrintGenericStubs(gl_XML.gl_print_base):
alt = "%s@%u" % (name, stack)
- if f.static_dispatch:
+ if f.is_static_entry_point(f.name):
for n in f.entry_points:
if n != f.name:
alt2 = "%s@%u" % (n, stack)