Loading opengl/TEST_MAPPING +3 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,9 @@ "presubmit": [ { "name": "CtsGpuToolsHostTestCases" }, { "name": "EGL_test" } ] } opengl/tests/EGLTest/Android.bp +1 −1 Original line number Diff line number Diff line package { // See: http://go/android-license-faq // A large-scale-change added 'default_applicable_licenses' to import Loading @@ -11,6 +10,7 @@ package { cc_test { name: "EGL_test", test_suites: ["general-tests"], srcs: [ "egl_cache_test.cpp", Loading opengl/tests/EGLTest/EGL_test.cpp +17 −0 Original line number Diff line number Diff line Loading @@ -343,6 +343,11 @@ TEST_F(EGLTest, EGLDisplayP3Passthrough) { } TEST_F(EGLTest, EGLDisplayP31010102) { // This test has been failing since: // libEGL: When driver doesn't understand P3, map sRGB-encoded P3 to sRGB // https://android-review.git.corp.google.com/c/platform/frameworks/native/+/793504 GTEST_SKIP() << "Skipping broken test. See b/120714942 and b/117104367"; EGLint numConfigs; EGLConfig config; EGLBoolean success; Loading Loading @@ -866,6 +871,12 @@ TEST_F(EGLTest, EGLUnsupportedColorspaceFormatCombo) { EGLConfig config; EGLBoolean success; if (!hasWideColorDisplay) { // skip this test if device does not have wide-color display RecordProperty("hasWideColorDisplay", false); return; } const EGLint attrs[] = { // clang-format off EGL_SURFACE_TYPE, EGL_WINDOW_BIT, Loading Loading @@ -951,6 +962,12 @@ TEST_F(EGLTest, EGLCreateWindowFailAndSucceed) { TEST_F(EGLTest, EGLCreateWindowTwoColorspaces) { EGLConfig config; if (!hasWideColorDisplay) { // skip this test if device does not have wide-color display RecordProperty("hasWideColorDisplay", false); return; } ASSERT_NO_FATAL_FAILURE(get8BitConfig(config)); struct MockConsumer : public BnConsumerListener { Loading Loading
opengl/TEST_MAPPING +3 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,9 @@ "presubmit": [ { "name": "CtsGpuToolsHostTestCases" }, { "name": "EGL_test" } ] }
opengl/tests/EGLTest/Android.bp +1 −1 Original line number Diff line number Diff line package { // See: http://go/android-license-faq // A large-scale-change added 'default_applicable_licenses' to import Loading @@ -11,6 +10,7 @@ package { cc_test { name: "EGL_test", test_suites: ["general-tests"], srcs: [ "egl_cache_test.cpp", Loading
opengl/tests/EGLTest/EGL_test.cpp +17 −0 Original line number Diff line number Diff line Loading @@ -343,6 +343,11 @@ TEST_F(EGLTest, EGLDisplayP3Passthrough) { } TEST_F(EGLTest, EGLDisplayP31010102) { // This test has been failing since: // libEGL: When driver doesn't understand P3, map sRGB-encoded P3 to sRGB // https://android-review.git.corp.google.com/c/platform/frameworks/native/+/793504 GTEST_SKIP() << "Skipping broken test. See b/120714942 and b/117104367"; EGLint numConfigs; EGLConfig config; EGLBoolean success; Loading Loading @@ -866,6 +871,12 @@ TEST_F(EGLTest, EGLUnsupportedColorspaceFormatCombo) { EGLConfig config; EGLBoolean success; if (!hasWideColorDisplay) { // skip this test if device does not have wide-color display RecordProperty("hasWideColorDisplay", false); return; } const EGLint attrs[] = { // clang-format off EGL_SURFACE_TYPE, EGL_WINDOW_BIT, Loading Loading @@ -951,6 +962,12 @@ TEST_F(EGLTest, EGLCreateWindowFailAndSucceed) { TEST_F(EGLTest, EGLCreateWindowTwoColorspaces) { EGLConfig config; if (!hasWideColorDisplay) { // skip this test if device does not have wide-color display RecordProperty("hasWideColorDisplay", false); return; } ASSERT_NO_FATAL_FAILURE(get8BitConfig(config)); struct MockConsumer : public BnConsumerListener { Loading