Consolidation of various GL context limits into RegalEmu.h and ContextInfo Improved array bounds checking for emulation More querable states for GL database Revision: Resolve Iff fixed-function lighting emulation perf regression.
20 lines
537 B
Python
20 lines
537 B
Python
#!/usr/bin/python -B
|
|
|
|
hintFormulae = {
|
|
'Hint' : {
|
|
'entries' : [ 'glHint' ],
|
|
'impl' : [
|
|
'if( ! _context->hint->glHint( *_context, ${arg0plus} ) ) {',
|
|
' _context->dispatcher.emulation.glHint( ${arg0plus} );',
|
|
'}',
|
|
],
|
|
},
|
|
'Get' : {
|
|
'entries' : [ 'glGet(Integer|Float|Double|Boolean)v(EXT|)' ],
|
|
'impl' : [
|
|
'if( ! _context->hint->glGet${m2}v( *_context, ${arg0plus} ) ) {',
|
|
' _context->dispatcher.emulation.glGet${m1}v${m2}( ${arg0plus} );',
|
|
'}',
|
|
],
|
|
},
|
|
}
|