• Home
  • Raw
  • Download

Lines Matching refs:eglSurface

65     void checkSurfaceSmpteMetadata(EGLSurface eglSurface);
156 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, config, in TEST_F() local
159 ASSERT_NE(EGL_NO_SURFACE, eglSurface) ; in TEST_F()
282 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, config, mANW.get(), winAttrs); in TEST_F() local
284 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
286 success = eglQuerySurface(mEglDisplay, eglSurface, EGL_GL_COLORSPACE_KHR, &value); in TEST_F()
290 EXPECT_TRUE(eglDestroySurface(mEglDisplay, eglSurface)); in TEST_F()
330 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, config, mANW.get(), winAttrs); in TEST_F() local
332 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
339 success = eglQuerySurface(mEglDisplay, eglSurface, EGL_GL_COLORSPACE_KHR, &value); in TEST_F()
343 EXPECT_TRUE(eglDestroySurface(mEglDisplay, eglSurface)); in TEST_F()
422 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, config, mANW.get(), winAttrs); in TEST_F() local
424 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
426 success = eglQuerySurface(mEglDisplay, eglSurface, EGL_GL_COLORSPACE_KHR, &value); in TEST_F()
430 EXPECT_TRUE(eglDestroySurface(mEglDisplay, eglSurface)); in TEST_F()
511 void EGLTest::checkSurfaceSmpteMetadata(EGLSurface eglSurface) { in checkSurfaceSmpteMetadata() argument
516 … success = eglQuerySurface(mEglDisplay, eglSurface, EGL_SMPTE2086_DISPLAY_PRIMARY_RX_EXT, &value); in checkSurfaceSmpteMetadata()
519 … success = eglQuerySurface(mEglDisplay, eglSurface, EGL_SMPTE2086_DISPLAY_PRIMARY_RY_EXT, &value); in checkSurfaceSmpteMetadata()
522 … success = eglQuerySurface(mEglDisplay, eglSurface, EGL_SMPTE2086_DISPLAY_PRIMARY_GX_EXT, &value); in checkSurfaceSmpteMetadata()
525 … success = eglQuerySurface(mEglDisplay, eglSurface, EGL_SMPTE2086_DISPLAY_PRIMARY_GY_EXT, &value); in checkSurfaceSmpteMetadata()
528 … success = eglQuerySurface(mEglDisplay, eglSurface, EGL_SMPTE2086_DISPLAY_PRIMARY_BX_EXT, &value); in checkSurfaceSmpteMetadata()
531 … success = eglQuerySurface(mEglDisplay, eglSurface, EGL_SMPTE2086_DISPLAY_PRIMARY_BY_EXT, &value); in checkSurfaceSmpteMetadata()
534 success = eglQuerySurface(mEglDisplay, eglSurface, EGL_SMPTE2086_WHITE_POINT_X_EXT, &value); in checkSurfaceSmpteMetadata()
537 success = eglQuerySurface(mEglDisplay, eglSurface, EGL_SMPTE2086_WHITE_POINT_Y_EXT, &value); in checkSurfaceSmpteMetadata()
540 success = eglQuerySurface(mEglDisplay, eglSurface, EGL_SMPTE2086_MAX_LUMINANCE_EXT, &value); in checkSurfaceSmpteMetadata()
543 success = eglQuerySurface(mEglDisplay, eglSurface, EGL_SMPTE2086_MIN_LUMINANCE_EXT, &value); in checkSurfaceSmpteMetadata()
549 …success = eglQuerySurface(mEglDisplay, eglSurface, EGL_CTA861_3_MAX_CONTENT_LIGHT_LEVEL_EXT, &valu… in checkSurfaceSmpteMetadata()
552 …success = eglQuerySurface(mEglDisplay, eglSurface, EGL_CTA861_3_MAX_FRAME_AVERAGE_LEVEL_EXT, &valu… in checkSurfaceSmpteMetadata()
594 … EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, config, mANW.get(), winAttrs.data()); in TEST_F() local
596 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
599 success = eglQuerySurface(mEglDisplay, eglSurface, EGL_GL_COLORSPACE_KHR, &value); in TEST_F()
603 ASSERT_NO_FATAL_FAILURE(setSurfaceSmpteMetadata(eglSurface)); in TEST_F()
605 ASSERT_NO_FATAL_FAILURE(checkSurfaceSmpteMetadata(eglSurface)); in TEST_F()
607 EXPECT_TRUE(eglDestroySurface(mEglDisplay, eglSurface)); in TEST_F()
644 … EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, config, mANW.get(), winAttrs.data()); in TEST_F() local
646 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
649 success = eglQuerySurface(mEglDisplay, eglSurface, EGL_GL_COLORSPACE_KHR, &value); in TEST_F()
653 ASSERT_NO_FATAL_FAILURE(setSurfaceSmpteMetadata(eglSurface)); in TEST_F()
655 ASSERT_NO_FATAL_FAILURE(checkSurfaceSmpteMetadata(eglSurface)); in TEST_F()
657 EXPECT_TRUE(eglDestroySurface(mEglDisplay, eglSurface)); in TEST_F()
722 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, config, mANW.get(), NULL); in TEST_F() local
724 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
726 EXPECT_TRUE(eglDestroySurface(mEglDisplay, eglSurface)); in TEST_F()
827 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, config, mANW.get(), NULL); in TEST_F() local
829 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
831 EXPECT_TRUE(eglDestroySurface(mEglDisplay, eglSurface)); in TEST_F()
860 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, config, mANW.get(), winAttrs); in TEST_F() local
862 ASSERT_EQ(EGL_NO_SURFACE, eglSurface); in TEST_F()
907 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, config, mANW.get(), winAttrs); in TEST_F() local
909 ASSERT_EQ(EGL_NO_SURFACE, eglSurface); in TEST_F()
938 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, config, mANW.get(), winAttrs); in TEST_F() local
940 ASSERT_EQ(EGL_NO_SURFACE, eglSurface); in TEST_F()
945 eglSurface = eglCreateWindowSurface(mEglDisplay, config, mANW.get(), winAttrs); in TEST_F()
947 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
949 EXPECT_TRUE(eglDestroySurface(mEglDisplay, eglSurface)); in TEST_F()
978 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, config, mANW.get(), winAttrs); in TEST_F() local
980 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
985 EXPECT_TRUE(eglDestroySurface(mEglDisplay, eglSurface)); in TEST_F()
988 eglSurface = eglCreateWindowSurface(mEglDisplay, config, mANW.get(), NULL); in TEST_F()
990 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
996 EXPECT_TRUE(eglDestroySurface(mEglDisplay, eglSurface)); in TEST_F()