Skip ExternalWrapTest on Ozone. Ozone only supports external target for images created with EGL_EXT_image_dma_buf_import. BUG=angleproject:4443 BUG=chromium:1063462 Change-Id: Ia62fdd92198bdcc2d9840765305b4cc613fd3f7c Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2113450 Reviewed-by: Geoff Lang <geofflang@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org>
diff --git a/src/tests/gl_tests/ExternalWrapTest.cpp b/src/tests/gl_tests/ExternalWrapTest.cpp index ffc3117..529b6d0 100644 --- a/src/tests/gl_tests/ExternalWrapTest.cpp +++ b/src/tests/gl_tests/ExternalWrapTest.cpp
@@ -153,6 +153,9 @@ ANGLE_SKIP_TEST_IF( !IsEGLDisplayExtensionEnabled(getEGLWindow()->getDisplay(), "EGL_KHR_gl_texture_2D_image")); + // Ozone only supports external target for images created with EGL_EXT_image_dma_buf_import + ANGLE_SKIP_TEST_IF(IsOzone()); + createExternalTexture(); ASSERT_NE(mProgram, 0u); @@ -175,6 +178,9 @@ ANGLE_SKIP_TEST_IF( !IsEGLDisplayExtensionEnabled(getEGLWindow()->getDisplay(), "EGL_KHR_gl_texture_2D_image")); + // Ozone only supports external target for images created with EGL_EXT_image_dma_buf_import + ANGLE_SKIP_TEST_IF(IsOzone()); + createExternalTexture(); ASSERT_NE(mProgram, 0u); @@ -200,6 +206,9 @@ !IsEGLDisplayExtensionEnabled(getEGLWindow()->getDisplay(), "EGL_KHR_gl_texture_2D_image")); ANGLE_SKIP_TEST_IF(!IsGLExtensionEnabled("GL_EXT_EGL_image_external_wrap_modes")); + // Ozone only supports external target for images created with EGL_EXT_image_dma_buf_import + ANGLE_SKIP_TEST_IF(IsOzone()); + createExternalTexture(); ASSERT_NE(mProgram, 0u); @@ -229,6 +238,9 @@ !IsEGLDisplayExtensionEnabled(getEGLWindow()->getDisplay(), "EGL_KHR_gl_texture_2D_image")); ANGLE_SKIP_TEST_IF(!IsGLExtensionEnabled("GL_EXT_EGL_image_external_wrap_modes")); + // Ozone only supports external target for images created with EGL_EXT_image_dma_buf_import + ANGLE_SKIP_TEST_IF(IsOzone()); + createExternalTexture(); ASSERT_NE(mProgram, 0u);