• Home
  • Raw
  • Download

Lines Matching refs:egl

49 namespace egl  namespace
64 static void logSurfaceAttributes (tcu::TestLog& log, const Library& egl, EGLDisplay display, EGLSur… in logSurfaceAttributes() argument
67 …logSurfaceAttribute(log, attributes[ndx], eglu::querySurfaceInt(egl, display, surface, attributes[… in logSurfaceAttributes()
70 static void logCommonSurfaceAttributes (tcu::TestLog& log, const Library& egl, EGLDisplay display, … in logCommonSurfaceAttributes() argument
87 logSurfaceAttributes(log, egl, display, surface, attributes, DE_LENGTH_OF_ARRAY(attributes)); in logCommonSurfaceAttributes()
90 static void logPbufferSurfaceAttributes (tcu::TestLog& log, const Library& egl, EGLDisplay display,… in logPbufferSurfaceAttributes() argument
101 logSurfaceAttributes(log, egl, display, surface, attributes, DE_LENGTH_OF_ARRAY(attributes)); in logPbufferSurfaceAttributes()
120 const Library& egl = m_eglTestCtx.getLibrary(); in checkCommonAttributes() local
127 const EGLint id = eglu::querySurfaceInt(egl, display, surface, EGL_CONFIG_ID); in checkCommonAttributes()
138 const EGLint width = eglu::querySurfaceInt(egl, display, surface, EGL_WIDTH); in checkCommonAttributes()
139 const EGLint height = eglu::querySurfaceInt(egl, display, surface, EGL_HEIGHT); in checkCommonAttributes()
150 const EGLint hRes = eglu::querySurfaceInt(egl, display, surface, EGL_HORIZONTAL_RESOLUTION); in checkCommonAttributes()
151 const EGLint vRes = eglu::querySurfaceInt(egl, display, surface, EGL_VERTICAL_RESOLUTION); in checkCommonAttributes()
162 const EGLint pixelRatio = eglu::querySurfaceInt(egl, display, surface, EGL_PIXEL_ASPECT_RATIO); in checkCommonAttributes()
166 …log << TestLog::Message << " Fail, invalid pixel aspect ratio " << eglu::querySurfaceInt(egl, d… in checkCommonAttributes()
173 const EGLint renderBuffer = eglu::querySurfaceInt(egl, display, surface, EGL_RENDER_BUFFER); in checkCommonAttributes()
184 …const EGLint multisampleResolve = eglu::querySurfaceInt(egl, display, surface, EGL_MULTISAMPLE_RES… in checkCommonAttributes()
201 const EGLint swapBehavior = eglu::querySurfaceInt(egl, display, surface, EGL_SWAP_BEHAVIOR); in checkCommonAttributes()
218 const EGLint alphaFormat = eglu::querySurfaceInt(egl, display, surface, EGL_ALPHA_FORMAT); in checkCommonAttributes()
235 const EGLint colorspace = eglu::querySurfaceInt(egl, display, surface, EGL_COLORSPACE); in checkCommonAttributes()
253 const Library& egl = m_eglTestCtx.getLibrary(); in checkNonPbufferAttributes() local
272 egl.querySurface(display, surface, attribute, &value); in checkNonPbufferAttributes()
275 const EGLint error = egl.getError(); in checkNonPbufferAttributes()
305 const Library& egl = m_eglTestCtx.getLibrary(); in executeForConfig() local
312 eglu::queryCoreConfigInfo(egl, display, config, &info); in executeForConfig()
315 EGLU_CHECK_MSG(egl, "before queries"); in executeForConfig()
318 …eglu::UniqueSurface surface (egl, display, eglu::createWindowSurface(m_eglTestCtx.getNativeDis… in executeForConfig()
320 logCommonSurfaceAttributes (log, egl, display, *surface); in executeForConfig()
336 const Library& egl = m_eglTestCtx.getLibrary(); in executeForConfig() local
343 eglu::queryCoreConfigInfo(egl, display, config, &info); in executeForConfig()
346 EGLU_CHECK_MSG(egl, "before queries"); in executeForConfig()
349 …eglu::UniqueSurface surface (egl, display, eglu::createPixmapSurface(m_eglTestCtx.getNativeDis… in executeForConfig()
351 logCommonSurfaceAttributes (log, egl, display, *surface); in executeForConfig()
367 const Library& egl = m_eglTestCtx.getLibrary(); in executeForConfig() local
373 eglu::queryCoreConfigInfo(egl, display, config, &info); in executeForConfig()
376 EGLU_CHECK_MSG(egl, "before queries"); in executeForConfig()
379 width = deMin32(width, eglu::getConfigAttribInt(egl, display, config, EGL_MAX_PBUFFER_WIDTH)); in executeForConfig()
380 height = deMin32(height, eglu::getConfigAttribInt(egl, display, config, EGL_MAX_PBUFFER_HEIGHT)); in executeForConfig()
398 eglu::UniqueSurface surface(egl, display, egl.createPbufferSurface(display, config, attribs)); in executeForConfig()
400 logCommonSurfaceAttributes (log, egl, display, *surface); in executeForConfig()
401 logPbufferSurfaceAttributes (log, egl, display, *surface); in executeForConfig()
408 … const EGLint largestPbuffer = eglu::querySurfaceInt(egl, display, *surface, EGL_LARGEST_PBUFFER); in executeForConfig()
419 const EGLint textureFormat = eglu::querySurfaceInt(egl, display, *surface, EGL_TEXTURE_FORMAT); in executeForConfig()
430 const EGLint textureTarget = eglu::querySurfaceInt(egl, display, *surface, EGL_TEXTURE_TARGET); in executeForConfig()
441 const EGLint mipmapTexture = eglu::querySurfaceInt(egl, display, *surface, EGL_MIPMAP_TEXTURE); in executeForConfig()
469 const Library& egl = m_eglTestCtx.getLibrary(); in testAttributes() local
471 const eglu::Version version = eglu::getVersion(egl, display); in testAttributes()
485 EGLU_CHECK_CALL(egl, querySurface(display, surface, EGL_MIPMAP_LEVEL, &value)); in testAttributes()
503 egl.surfaceAttrib(display, surface, EGL_MIPMAP_LEVEL, 1); in testAttributes()
506 const EGLint error = egl.getError(); in testAttributes()
522 const EGLint value = eglu::querySurfaceInt(egl, display, surface, EGL_MULTISAMPLE_RESOLVE); in testAttributes()
537 egl.surfaceAttrib(display, surface, EGL_MULTISAMPLE_RESOLVE, EGL_MULTISAMPLE_RESOLVE_BOX); in testAttributes()
539 …if (eglu::querySurfaceInt(egl, display, surface, EGL_MULTISAMPLE_RESOLVE) != EGL_MULTISAMPLE_RESOL… in testAttributes()
549 const EGLint value = eglu::querySurfaceInt(egl, display, surface, EGL_SWAP_BEHAVIOR); in testAttributes()
557 egl.surfaceAttrib(display, surface, EGL_SWAP_BEHAVIOR, nextValue); in testAttributes()
559 if (eglu::querySurfaceInt(egl, display, surface, EGL_SWAP_BEHAVIOR) != nextValue) in testAttributes()
578 const Library& egl = m_eglTestCtx.getLibrary(); in executeForConfig() local
585 eglu::queryCoreConfigInfo(egl, display, config, &info); in executeForConfig()
588 EGLU_CHECK_MSG(egl, "before queries"); in executeForConfig()
591 …eglu::UniqueSurface surface (egl, display, eglu::createWindowSurface(m_eglTestCtx.getNativeDis… in executeForConfig()
607 const Library& egl = m_eglTestCtx.getLibrary(); in executeForConfig() local
614 eglu::queryCoreConfigInfo(egl, display, config, &info); in executeForConfig()
617 EGLU_CHECK_MSG(egl, "before queries"); in executeForConfig()
620 …eglu::UniqueSurface surface (egl, display, eglu::createPixmapSurface(m_eglTestCtx.getNativeDis… in executeForConfig()
636 const Library& egl = m_eglTestCtx.getLibrary(); in executeForConfig() local
642 eglu::queryCoreConfigInfo(egl, display, config, &info); in executeForConfig()
645 EGLU_CHECK_MSG(egl, "before queries"); in executeForConfig()
648 width = deMin32(width, eglu::getConfigAttribInt(egl, display, config, EGL_MAX_PBUFFER_WIDTH)); in executeForConfig()
649 height = deMin32(height, eglu::getConfigAttribInt(egl, display, config, EGL_MAX_PBUFFER_HEIGHT)); in executeForConfig()
666 eglu::UniqueSurface surface(egl, display, egl.createPbufferSurface(display, config, attribs)); in executeForConfig()