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

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, 1 month 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
« no previous file with comments | « ui/gl/gl_image_surface_texture.cc ('k') | ui/ozone/platform/drm/gpu/gbm_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 99e781bca857c1586f32861eb10c62fc4af8e937..48e5ae3ec1fa6d7a04ff6aa74b66a1a6f69d5016 100644
--- a/ui/gl/test/gl_image_test_template.h
+++ b/ui/gl/test/gl_image_test_template.h
@@ -270,7 +270,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.
@@ -318,7 +318,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);
« no previous file with comments | « ui/gl/gl_image_surface_texture.cc ('k') | ui/ozone/platform/drm/gpu/gbm_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698