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.
36 lines
602 B
Python
36 lines
602 B
Python
#!/usr/bin/python -B
|
|
|
|
# RegalDispatchGLX - GLX emulation
|
|
|
|
formulaeGlobal = {
|
|
|
|
# glXQueryExtensionsString
|
|
|
|
'glXQueryExtensionsString' : {
|
|
'entries' : [ 'glXQueryExtensionsString' ],
|
|
'impl' : '''
|
|
const char *extensions = "";
|
|
return extensions;
|
|
'''
|
|
},
|
|
|
|
# glXChooseFBConfig
|
|
|
|
'glXChooseFBConfig' : {
|
|
'entries' : [ 'glXChooseFBConfig' ],
|
|
'impl' : '''
|
|
static GLXFBConfig configs[1];
|
|
return configs;
|
|
'''
|
|
},
|
|
|
|
# glXGetVisualFromFBConfig
|
|
|
|
'glXGetVisualFromFBConfig' : {
|
|
'entries' : [ 'glXGetVisualFromFBConfig' ],
|
|
'impl' : '''
|
|
static XVisualInfo vi;
|
|
return &vi;
|
|
'''
|
|
},
|
|
}
|