• Home
  • Raw
  • Download

Lines Matching refs:display

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()
109 void checkCommonAttributes (EGLDisplay display, EGLSurface surface, const ConfigInfo& info);
110 void checkNonPbufferAttributes (EGLDisplay display, EGLSurface surface);
118 void QuerySurfaceCase::checkCommonAttributes (EGLDisplay display, EGLSurface surface, const ConfigI… in checkCommonAttributes() argument
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 …<< " Fail, invalid pixel aspect ratio " << eglu::querySurfaceInt(egl, display, surface, EGL_PIX… 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()
251 void QuerySurfaceCase::checkNonPbufferAttributes (EGLDisplay display, EGLSurface surface) in checkNonPbufferAttributes() argument
272 egl.querySurface(display, surface, attribute, &value); in checkNonPbufferAttributes()
303 void executeForConfig (EGLDisplay display, EGLConfig config) in executeForConfig() argument
312 eglu::queryCoreConfigInfo(egl, display, config, &info); in executeForConfig()
317 …ow> window (windowFactory.createWindow(&m_eglTestCtx.getNativeDisplay(), display, config, DE_NULL,… in executeForConfig()
318 …::UniqueSurface surface (egl, display, eglu::createWindowSurface(m_eglTestCtx.getNativeDisplay… in executeForConfig()
320 logCommonSurfaceAttributes (log, egl, display, *surface); in executeForConfig()
321 checkCommonAttributes (display, *surface, info); in executeForConfig()
322 checkNonPbufferAttributes (display, *surface); in executeForConfig()
334 void executeForConfig (EGLDisplay display, EGLConfig config) in executeForConfig() argument
343 eglu::queryCoreConfigInfo(egl, display, config, &info); in executeForConfig()
348 …ap> pixmap (pixmapFactory.createPixmap(&m_eglTestCtx.getNativeDisplay(), display, config, DE_NULL,… in executeForConfig()
349 …::UniqueSurface surface (egl, display, eglu::createPixmapSurface(m_eglTestCtx.getNativeDisplay… in executeForConfig()
351 logCommonSurfaceAttributes (log, egl, display, *surface); in executeForConfig()
352 checkCommonAttributes (display, *surface, info); in executeForConfig()
353 checkNonPbufferAttributes (display, *surface); in executeForConfig()
365 void executeForConfig (EGLDisplay display, EGLConfig config) in executeForConfig() argument
373 eglu::queryCoreConfigInfo(egl, display, config, &info); 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()
402 checkCommonAttributes (display, *surface, info); 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()
459 …void testAttributes (EGLDisplay display, EGLSurface surface, EGLint surfaceType, const ConfigInfo…
467 void SurfaceAttribCase::testAttributes (EGLDisplay display, EGLSurface surface, EGLint surfaceType,… in testAttributes() argument
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()
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()
576 void executeForConfig (EGLDisplay display, EGLConfig config) in executeForConfig() argument
585 eglu::queryCoreConfigInfo(egl, display, config, &info); in executeForConfig()
590 …ow> window (windowFactory.createWindow(&m_eglTestCtx.getNativeDisplay(), display, config, DE_NULL,… in executeForConfig()
591 …::UniqueSurface surface (egl, display, eglu::createWindowSurface(m_eglTestCtx.getNativeDisplay… in executeForConfig()
593 testAttributes(display, *surface, EGL_WINDOW_BIT, info); in executeForConfig()
605 void executeForConfig (EGLDisplay display, EGLConfig config) in executeForConfig() argument
614 eglu::queryCoreConfigInfo(egl, display, config, &info); in executeForConfig()
619 …ap> pixmap (pixmapFactory.createPixmap(&m_eglTestCtx.getNativeDisplay(), display, config, DE_NULL,… in executeForConfig()
620 …::UniqueSurface surface (egl, display, eglu::createPixmapSurface(m_eglTestCtx.getNativeDisplay… in executeForConfig()
622 testAttributes(display, *surface, EGL_PIXMAP_BIT, info); in executeForConfig()
634 void executeForConfig (EGLDisplay display, EGLConfig config) in executeForConfig() argument
642 eglu::queryCoreConfigInfo(egl, display, config, &info); 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()
668 testAttributes(display, *surface, EGL_PBUFFER_BIT, info); in executeForConfig()