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

Function eglTerminate

server/faker-egl.cpp:1591–1621  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1589
1590
1591EGLBoolean eglTerminate(EGLDisplay display)
1592{
1593 EGLBoolean retval = EGL_FALSE;
1594
1595 TRY();
1596
1597 if(IS_EXCLUDED_EGLX(display))
1598 {
1599 if((fconfig.egl && display == EDPY) || (!fconfig.egl && display == edpy))
1600 return EGL_TRUE;
1601 return _eglTerminate(display);
1602 }
1603
1604 GET_DISPLAY();
1605 DISABLE_FAKER();
1606
1607 /////////////////////////////////////////////////////////////////////////////
1608 OPENTRACE(eglTerminate); PRARGX(display); STARTTRACE();
1609 /////////////////////////////////////////////////////////////////////////////
1610
1611 eglxdpy->isInit = false;
1612 retval = EGL_TRUE;
1613
1614 /////////////////////////////////////////////////////////////////////////////
1615 STOPTRACE(); PRARGI(retval); CLOSETRACE();
1616 /////////////////////////////////////////////////////////////////////////////
1617
1618 CATCH();
1619 ENABLE_FAKER();
1620 return retval;
1621}
1622
1623
1624EGLBoolean eglWaitSync(EGLDisplay display, EGLSync sync, EGLint flags)

Callers 7

readbackTestFunction · 0.85
visTestFunction · 0.85
multiThreadTestFunction · 0.85
offScreenTestFunction · 0.85
extensionQueryTestFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected