regal/scripts/EmuPixelTransfer.py
Nigel Stewart 5157da1820 Emscripten now working for dreamtorus.
Initial scaffolding for GLX emulation on EGL/WGL/CGL.
Ppca refinements.
Add GL_NV_blend_equation_advanced and GL_NV_blend_equation_advanced_coherent support.
RegalX11.cpp added for fake X11 purposes for GLX emulation.
GLEW refresh.
Fixups for REGAL_SYS_EMSCRIPTEN_STATIC mode.
2013-08-23 09:49:09 -05:00

16 lines
532 B
Python

#!/usr/bin/python -B
xferFormulae = {
'PixelStore' : {
'entries' : [ 'glPixelStore(i|f)' ],
'prefix' : [ '_context->xfer->PixelStore( _context, ${arg0plus} );', ],
},
'ActiveTexture' : {
'entries' : [ 'glActiveTexture(ARB|)' ],
'prefix' : [ '_context->xfer->ShadowActiveTexture( ${arg0} );', ],
},
'TexImage2D' : {
'entries' : [ 'gl(Compressed|)Tex(Sub|)Image2D(ARB|EXT|)' ],
'impl' : [ '_context->xfer->${m1}Tex${m2}Image2D( _context, ${arg0plus} );', ],
}
}