Commit 64f62f4a by Yuly Novikov Committed by Commit Bot

Skip external texture ImageTest tests on Ozone

Since Ozone supports external target only for images created with EGL_EXT_image_dma_buf_import Bug: 914146, angleproject:2507 Change-Id: I454b26bbb7aa8ed638045dc0c9c98065c9ed76e4 Reviewed-on: https://chromium-review.googlesource.com/c/1374269Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org> Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
parent 88faa696
...@@ -1120,6 +1120,9 @@ TEST_P(ImageTest, Source2DTargetExternal) ...@@ -1120,6 +1120,9 @@ TEST_P(ImageTest, Source2DTargetExternal)
EGLWindow *window = getEGLWindow(); EGLWindow *window = getEGLWindow();
ANGLE_SKIP_TEST_IF(!hasOESExt() || !hasBaseExt() || !has2DTextureExt() || !hasExternalExt()); ANGLE_SKIP_TEST_IF(!hasOESExt() || !hasBaseExt() || !has2DTextureExt() || !hasExternalExt());
// Ozone only supports external target for images created with EGL_EXT_image_dma_buf_import
ANGLE_SKIP_TEST_IF(IsOzone());
GLubyte data[4] = {255, 0, 255, 255}; GLubyte data[4] = {255, 0, 255, 255};
// Create the Image // Create the Image
...@@ -1238,6 +1241,9 @@ TEST_P(ImageTest, SourceCubeTargetExternal) ...@@ -1238,6 +1241,9 @@ TEST_P(ImageTest, SourceCubeTargetExternal)
EGLWindow *window = getEGLWindow(); EGLWindow *window = getEGLWindow();
ANGLE_SKIP_TEST_IF(!hasOESExt() || !hasBaseExt() || !hasCubemapExt() || !hasExternalExt()); ANGLE_SKIP_TEST_IF(!hasOESExt() || !hasBaseExt() || !hasCubemapExt() || !hasExternalExt());
// Ozone only supports external target for images created with EGL_EXT_image_dma_buf_import
ANGLE_SKIP_TEST_IF(IsOzone());
GLubyte data[24] = { GLubyte data[24] = {
255, 0, 255, 255, 255, 255, 255, 255, 255, 0, 0, 255, 255, 0, 255, 255, 255, 255, 255, 255, 255, 0, 0, 255,
0, 0, 255, 255, 0, 255, 0, 255, 0, 0, 0, 255, 0, 0, 255, 255, 0, 255, 0, 255, 0, 0, 0, 255,
...@@ -1474,6 +1480,9 @@ TEST_P(ImageTest, SourceRenderbufferTargetTextureExternal) ...@@ -1474,6 +1480,9 @@ TEST_P(ImageTest, SourceRenderbufferTargetTextureExternal)
EGLWindow *window = getEGLWindow(); EGLWindow *window = getEGLWindow();
ANGLE_SKIP_TEST_IF(!hasOESExt() || !hasExternalExt() || !hasBaseExt() || !hasRenderbufferExt()); ANGLE_SKIP_TEST_IF(!hasOESExt() || !hasExternalExt() || !hasBaseExt() || !hasRenderbufferExt());
// Ozone only supports external target for images created with EGL_EXT_image_dma_buf_import
ANGLE_SKIP_TEST_IF(IsOzone());
GLubyte data[4] = {255, 0, 255, 255}; GLubyte data[4] = {255, 0, 255, 255};
// Create the Image // Create the Image
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment