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

Function glXIsDirect

server/faker-glx.cpp:1615–1636  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1613// Hand off to the 3D X server without modification.
1614
1615Bool glXIsDirect(Display *dpy, GLXContext ctx)
1616{
1617 Bool direct = 0;
1618
1619 TRY();
1620
1621 if(IS_EXCLUDED(dpy))
1622 return _glXIsDirect(dpy, ctx);
1623
1624 /////////////////////////////////////////////////////////////////////////////
1625 OPENTRACE(glXIsDirect); PRARGD(dpy); PRARGX(ctx); STARTTRACE();
1626 /////////////////////////////////////////////////////////////////////////////
1627
1628 direct = backend::isDirect(ctx);
1629
1630 /////////////////////////////////////////////////////////////////////////////
1631 STOPTRACE(); PRARGI(direct); CLOSETRACE();
1632 /////////////////////////////////////////////////////////////////////////////
1633
1634 CATCH();
1635 return direct;
1636}
1637
1638
1639// See notes

Callers 4

mainFunction · 0.85
create_context_flagsFunction · 0.85
print_screen_infoFunction · 0.85

Calls 1

isDirectFunction · 0.85

Tested by

no test coverage detected