| 1613 | // Hand off to the 3D X server without modification. |
| 1614 | |
| 1615 | Bool 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 |
no test coverage detected