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

Function eglCreatePlatformWindowSurfaceEXT

server/faker-egl.cpp:597–609  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

595}
596
597EGLSurface eglCreatePlatformWindowSurfaceEXT(EGLDisplay display,
598 EGLConfig config, void *native_window, const EGLint *attrib_list)
599{
600 if(!native_window)
601 {
602 faker::setEGLError(EGL_BAD_NATIVE_WINDOW);
603 return 0;
604 }
605
606 NativeWindowType *native_window_ptr = (NativeWindowType *)native_window;
607 return eglCreateWindowSurface(display, config, *native_window_ptr,
608 attrib_list);
609}
610
611
612EGLBoolean eglDestroyContext(EGLDisplay display, EGLContext context)

Callers

nothing calls this directly

Calls 1

eglCreateWindowSurfaceFunction · 0.85

Tested by

no test coverage detected