RetroArch
Functions | Variables
rglgen Namespace Reference

Functions

def noext (sym)
 
def fix_multiline_functions (lines)
 
def find_gl_symbols (lines)
 
def generate_defines (gl_syms)
 
def generate_declarations (gl_syms)
 
def generate_macros (gl_syms)
 
def dump (f, lines)
 

Variables

list banned_ext = [ 'AMD', 'APPLE', 'NV', 'NVX', 'ATI', '3DLABS', 'SUN', 'SGI', 'SGIX', 'SGIS', 'INTEL', '3DFX', 'IBM', 'MESA', 'GREMEDY', 'OML', 'PGI', 'I3D', 'INGL', 'MTX', 'QCOM', 'IMG', 'ANGLE', 'SUNX', 'INGR' ]
 
def lines = fix_multiline_functions(f.readlines())
 
 typedefs
 
 syms
 
def overrides = generate_defines(syms)
 
def declarations = generate_declarations(syms)
 
list externs = ['extern ' + x for x in declarations]
 
def macros = generate_macros(syms)
 

Detailed Description

   License statement applies to this file (glgen.py) only.

Function Documentation

◆ dump()

def rglgen.dump (   f,
  lines 
)
Here is the call graph for this function:

◆ find_gl_symbols()

def rglgen.find_gl_symbols (   lines)
Here is the call graph for this function:

◆ fix_multiline_functions()

def rglgen.fix_multiline_functions (   lines)
Here is the call graph for this function:

◆ generate_declarations()

def rglgen.generate_declarations (   gl_syms)

◆ generate_defines()

def rglgen.generate_defines (   gl_syms)

◆ generate_macros()

def rglgen.generate_macros (   gl_syms)

◆ noext()

def rglgen.noext (   sym)
Here is the caller graph for this function:

Variable Documentation

◆ banned_ext

list rglgen.banned_ext = [ 'AMD', 'APPLE', 'NV', 'NVX', 'ATI', '3DLABS', 'SUN', 'SGI', 'SGIX', 'SGIS', 'INTEL', '3DFX', 'IBM', 'MESA', 'GREMEDY', 'OML', 'PGI', 'I3D', 'INGL', 'MTX', 'QCOM', 'IMG', 'ANGLE', 'SUNX', 'INGR' ]

◆ declarations

def rglgen.declarations = generate_declarations(syms)

◆ externs

list rglgen.externs = ['extern ' + x for x in declarations]

◆ lines

def rglgen.lines = fix_multiline_functions(f.readlines())

◆ macros

def rglgen.macros = generate_macros(syms)

◆ overrides

def rglgen.overrides = generate_defines(syms)

◆ syms

rglgen.syms

◆ typedefs

rglgen.typedefs