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

Unified Diff: ui/gl/test/gl_image_test_template.h

Issue 2388653002: gpu: Add CHROMIUM_texture_from_image spec and fence support.
Patch Set: rebase Created 4 years, 2 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/test/gl_image_test_template.h
diff --git a/ui/gl/test/gl_image_test_template.h b/ui/gl/test/gl_image_test_template.h
index f12bafbe9d527006bcdb357089fa62d8a0ddedea..7d54634a1e71afc6dbb916f9726a43a4af3660c3 100644
--- a/ui/gl/test/gl_image_test_template.h
+++ b/ui/gl/test/gl_image_test_template.h
@@ -251,7 +251,7 @@ TYPED_TEST_P(GLImageZeroInitializeTest, ZeroInitialize) {
glBindTexture(target, texture);
// Bind |image| to |texture|.
- bool rv = image->BindTexImage(target);
+ bool rv = image->BindTexImage(target, nullptr);
EXPECT_TRUE(rv);
// Draw |texture| to viewport.
@@ -300,7 +300,7 @@ TYPED_TEST_P(GLImageBindTest, BindTexImage) {
glBindTexture(target, texture);
// Bind |image| to |texture|.
- bool rv = image->BindTexImage(target);
+ bool rv = image->BindTexImage(target, nullptr);
EXPECT_TRUE(rv);
glClearColor(0.0f, 0.0f, 1.0f, 1.0f);

Powered by Google App Engine
This is Rietveld 408576698