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

Unified Diff: gpu/command_buffer/tests/texture_image_factory.cc

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: gpu/command_buffer/tests/texture_image_factory.cc
diff --git a/gpu/command_buffer/tests/texture_image_factory.cc b/gpu/command_buffer/tests/texture_image_factory.cc
index ba1468f294deb54ff19d82a9e56a1bf3a145245e..6db8d8ee49aa06ad7b15f6bcd45b345bedebb685 100644
--- a/gpu/command_buffer/tests/texture_image_factory.cc
+++ b/gpu/command_buffer/tests/texture_image_factory.cc
@@ -17,7 +17,7 @@ class TextureImage : public gl::GLImage {
void Destroy(bool have_context) override {}
gfx::Size GetSize() override { return size_; }
unsigned GetInternalFormat() override { return GL_RGBA; }
- bool BindTexImage(unsigned target) override {
+ bool BindTexImage(unsigned target, gl::GLFence* fence) override {
glTexImage2D(target,
0, // mip level
GetInternalFormat(), size_.width(), size_.height(),

Powered by Google App Engine
This is Rietveld 408576698