Lines Matching defs:egl

61 namespace egl
691 tcu::PixelFormat getPixelFormat (const Library& egl, EGLDisplay display, EGLConfig config)
694 fmt.redBits = eglu::getConfigAttribInt(egl, display, config, EGL_RED_SIZE);
695 fmt.greenBits = eglu::getConfigAttribInt(egl, display, config, EGL_GREEN_SIZE);
696 fmt.blueBits = eglu::getConfigAttribInt(egl, display, config, EGL_BLUE_SIZE);
697 fmt.alphaBits = eglu::getConfigAttribInt(egl, display, config, EGL_ALPHA_SIZE);
733 const Library& egl = m_eglTestCtx.getLibrary();
734 const int width = eglu::querySurfaceInt(egl, display, surface, EGL_WIDTH);
735 const int height = eglu::querySurfaceInt(egl, display, surface, EGL_HEIGHT);
739 const tcu::PixelFormat pixelFmt = getPixelFormat(egl, display, config.config);
742 const int depthBits = eglu::getConfigAttribInt(egl, display, config.config, EGL_DEPTH_SIZE);
743 const int stencilBits = eglu::getConfigAttribInt(egl, display, config.config, EGL_STENCIL_SIZE);
744 const int numSamples = eglu::getConfigAttribInt(egl, display, config.config, EGL_SAMPLES);
775 EGLU_CHECK_CALL(egl, makeCurrent(display, surface, surface, context));
786 EGLU_CHECK_CALL(egl, makeCurrent(display, surface, surface, context));
800 EGLU_CHECK_CALL(egl, makeCurrent(display, surface, surface, context));
817 EGLU_CHECK_CALL(egl, makeCurrent(display, surface, surface, context));
825 EGLU_CHECK_CALL(egl, makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT));
877 RenderTestThread (const Library& egl, EGLDisplay display, EGLSurface surface, EGLContext context, EGLint api, const glw::Functions& gl, const Program& program, const std::vector<DrawOpPacket>& packets)
878 : m_egl (egl)
938 const Library& egl = m_eglTestCtx.getLibrary();
939 const int width = eglu::querySurfaceInt(egl, display, surface, EGL_WIDTH);
940 const int height = eglu::querySurfaceInt(egl, display, surface, EGL_HEIGHT);
946 const tcu::PixelFormat pixelFmt = getPixelFormat(egl, display, config.config);
949 const int depthBits = eglu::getConfigAttribInt(egl, display, config.config, EGL_DEPTH_SIZE);
950 const int stencilBits = eglu::getConfigAttribInt(egl, display, config.config, EGL_STENCIL_SIZE);
951 const int numSamples = eglu::getConfigAttribInt(egl, display, config.config, EGL_SAMPLES);
1007 EGLU_CHECK_CALL(egl, makeCurrent(display, surface, surface, context));
1013 EGLU_CHECK_CALL(egl, makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT));
1021 EGLU_CHECK_CALL(egl, makeCurrent(display, surface, surface, context));
1027 EGLU_CHECK_CALL(egl, makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT));
1033 threads[threadNdx] = RenderTestThreadSp(new RenderTestThread(egl, display, surface, contexts[threadNdx].second, contexts[threadNdx].first, m_gl, *programs[threadNdx], packets[threadNdx]));
1046 EGLU_CHECK_CALL(egl, makeCurrent(display, surface, surface, context));
1054 EGLU_CHECK_CALL(egl, makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT));
1172 } // egl