Lines Matching refs:egl
43 namespace egl namespace
61 deUint32 drawAndSwap (const Library& egl,
93 const Library& egl = m_eglTestCtx.getLibrary(); in init() local
98 if (!eglu::hasExtension(egl, m_eglDisplay, "EGL_KHR_mutable_render_buffer")) in init()
127 m_eglConfig = eglu::chooseSingleConfig(egl, m_eglDisplay, attribs); in init()
131 const vector<EGLConfig> configs = eglu::chooseConfigs(egl, m_eglDisplay, attribsNoBit); in init()
136 EGLU_CHECK_CALL(egl, getConfigAttrib(m_eglDisplay, *config, EGL_SURFACE_TYPE, &surfaceType)); in init()
162 egl.bindAPI(EGL_OPENGL_ES_API); in init()
163 m_eglContext = egl.createContext(m_eglDisplay, m_eglConfig, EGL_NO_CONTEXT, contextAttribList); in init()
164 EGLU_CHECK_MSG(egl, "eglCreateContext"); in init()
166 egl.makeCurrent(m_eglDisplay, m_eglSurface, m_eglSurface, m_eglContext); in init()
167 EGLU_CHECK_MSG(egl, "eglMakeCurrent"); in init()
174 const Library& egl = m_eglTestCtx.getLibrary(); in deinit() local
178 egl.makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in deinit()
179 egl.destroyContext(m_eglDisplay, m_eglContext); in deinit()
185 egl.destroySurface(m_eglDisplay, m_eglSurface); in deinit()
191 egl.terminate(m_eglDisplay); in deinit()
202 deUint32 MutableRenderBufferTest::drawAndSwap (const Library& egl, deUint32 color, bool flush) in drawAndSwap() argument
213 EGLU_CHECK_CALL(egl, swapBuffers(m_eglDisplay, m_eglSurface)); in drawAndSwap()
220 const Library& egl = m_eglTestCtx.getLibrary(); in iterate() local
227 drawAndSwap(egl, frameNumber, false); in iterate()
231 …EGLU_CHECK_CALL(egl, surfaceAttrib(m_eglDisplay, m_eglSurface, EGL_RENDER_BUFFER, EGL_SINGLE_BUFFE… in iterate()
234 drawAndSwap(egl, frameNumber, false); in iterate()
241 deUint32 frontBufferPixel = drawAndSwap(egl, frameNumber, true); in iterate()
253 …EGLU_CHECK_CALL(egl, surfaceAttrib(m_eglDisplay, m_eglSurface, EGL_RENDER_BUFFER, EGL_BACK_BUFFER)… in iterate()
258 drawAndSwap(egl, frameNumber, false); in iterate()
288 const Library& egl = m_eglTestCtx.getLibrary(); in iterate() local
292 …EGLU_CHECK_CALL(egl, querySurface(m_eglDisplay, m_eglSurface, EGL_RENDER_BUFFER, &curRenderBuffer)… in iterate()
300 …EGLU_CHECK_CALL(egl, surfaceAttrib(m_eglDisplay, m_eglSurface, EGL_RENDER_BUFFER, EGL_SINGLE_BUFFE… in iterate()
301 …EGLU_CHECK_CALL(egl, querySurface(m_eglDisplay, m_eglSurface, EGL_RENDER_BUFFER, &curRenderBuffer)… in iterate()
309 …EGLU_CHECK_CALL(egl, surfaceAttrib(m_eglDisplay, m_eglSurface, EGL_RENDER_BUFFER, EGL_BACK_BUFFER)… in iterate()
310 …EGLU_CHECK_CALL(egl, querySurface(m_eglDisplay, m_eglSurface, EGL_RENDER_BUFFER, &curRenderBuffer)… in iterate()
343 const Library& egl = m_eglTestCtx.getLibrary(); in iterate() local
347 …EGLU_CHECK_CALL(egl, querySurface(m_eglDisplay, m_eglSurface, EGL_RENDER_BUFFER, &curRenderBuffer)… in iterate()
355 …EGLBoolean ret = egl.surfaceAttrib(m_eglDisplay, m_eglSurface, EGL_RENDER_BUFFER, EGL_SINGLE_BUFFE… in iterate()
356 EGLint err = egl.getError(); in iterate()
370 …EGLU_CHECK_CALL(egl, querySurface(m_eglDisplay, m_eglSurface, EGL_RENDER_BUFFER, &curRenderBuffer)… in iterate()