MCPcopy Create free account
hub / github.com/VirtualGL/virtualgl / eglGetPlatformDisplayEXT

Function eglGetPlatformDisplayEXT

server/faker-egl.cpp:925–941  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

923}
924
925EGLDisplay eglGetPlatformDisplayEXT(EGLenum platform, void *native_display,
926 const EGLint *attrib_list)
927{
928 EGLAttrib attribs[MAX_ATTRIBS + 1];
929 int j = 0;
930
931 if(attrib_list)
932 {
933 for(int i = 0; attrib_list[i] != EGL_NONE && i < MAX_ATTRIBS; i += 2)
934 {
935 attribs[j++] = attrib_list[i]; attribs[j++] = attrib_list[i + 1];
936 }
937 }
938 attribs[j] = EGL_NONE;
939
940 return eglGetPlatformDisplay(platform, native_display, attribs);
941}
942
943
944EGLint eglGetError(void)

Callers

nothing calls this directly

Calls 1

eglGetPlatformDisplayFunction · 0.85

Tested by

no test coverage detected