Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2035)

Unified Diff: ui/gl/gl_image_shared_memory_unittest.cc

Issue 1484473003: gl, ozone: enable GLImageBindTest unittests Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add new GLImageBindTest unittests. add R_8 test. give up dynamic way Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/gl/gl_image_shared_memory_unittest.cc
diff --git a/ui/gl/gl_image_shared_memory_unittest.cc b/ui/gl/gl_image_shared_memory_unittest.cc
index ae33e3845b9157847c629a2dfe603530d5cec718..7998f80a254472b344839b49f74ab5396e915d52 100644
--- a/ui/gl/gl_image_shared_memory_unittest.cc
+++ b/ui/gl/gl_image_shared_memory_unittest.cc
@@ -40,6 +40,8 @@ class GLImageSharedMemoryTestDelegate {
}
unsigned GetTextureTarget() const { return GL_TEXTURE_2D; }
+
+ bool IsSupported() { return true; }
};
using GLImageTestTypes = testing::Types<
@@ -90,6 +92,8 @@ class GLImageSharedMemoryPoolTestDelegate {
}
unsigned GetTextureTarget() const { return GL_TEXTURE_2D; }
+
+ bool IsSupported() { return true; }
};
INSTANTIATE_TYPED_TEST_CASE_P(GLImageSharedMemoryPool,

Powered by Google App Engine
This is Rietveld 408576698