MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / gl_common_XQueryExtensionsString

Function gl_common_XQueryExtensionsString

source/opengl/glcommon.cpp:870–879  ·  view source on GitHub ↗

const char* glXQueryExtensionsString(Display* dpy, int screen)

Source from the content-addressed store, hash-verified

868
869// const char* glXQueryExtensionsString(Display* dpy, int screen)
870void gl_common_XQueryExtensionsString(CPU* cpu) {
871 KThread* thread = cpu->thread;
872 if (thread->process->glxStringExtensions) {
873 EAX = thread->process->glxStringExtensions;
874 }
875 const char* s = "GLX_ARB_multisample GLX_SGIX_fbconfig GLX_ARB_create_context GLX_ARB_create_context_profile WGL_ARB_create_context_profile GLX_ARB_create_context_no_error";
876 thread->process->glxStringExtensions = thread->process->alloc(thread, (U32)strlen(s) + 1);
877 thread->memory->memcpy(thread->process->glxStringExtensions, s, (U32)strlen(s) + 1);
878 EAX = thread->process->glxStringExtensions;
879}
880
881// const char* glXQueryServerString(Display* dpy, int screen, int name)
882void gl_common_XQueryServerString(CPU* cpu) {

Callers

nothing calls this directly

Calls 2

memcpyMethod · 0.80
allocMethod · 0.45

Tested by

no test coverage detected