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

Function checkSurface

server/eglxfakerut.cpp:790–798  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

788}
789
790void checkSurface(EGLDisplay edpy, EGLSurface draw, int width, int height,
791 int largestPbuffer, int cfgid)
792{
793 if(!edpy || !draw) THROW("Invalid argument to checkSurface()");
794 COMPARE_DRAW_ATTRIB(edpy, draw, width, EGL_WIDTH);
795 COMPARE_DRAW_ATTRIB(edpy, draw, height, EGL_HEIGHT);
796 COMPARE_DRAW_ATTRIB(edpy, draw, largestPbuffer, EGL_LARGEST_PBUFFER);
797 COMPARE_DRAW_ATTRIB(edpy, draw, cfgid, EGL_CONFIG_ID);
798}
799
800// Test off-screen rendering
801int offScreenTest(void)

Callers 1

offScreenTestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected