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

Unified Diff: gpu/command_buffer/service/texture_definition.cc

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
Index: gpu/command_buffer/service/texture_definition.cc
diff --git a/gpu/command_buffer/service/texture_definition.cc b/gpu/command_buffer/service/texture_definition.cc
index e656b7e0fd8359da739068ac15c2566e6ca6ccad..c08de19c52ddac802f37ee3054e2975435771828 100644
--- a/gpu/command_buffer/service/texture_definition.cc
+++ b/gpu/command_buffer/service/texture_definition.cc
@@ -37,7 +37,7 @@ class GLImageSync : public gl::GLImage {
// Implement GLImage.
gfx::Size GetSize() override;
unsigned GetInternalFormat() override;
- bool BindTexImage(unsigned target) override;
+ bool BindTexImage(unsigned target, gl::GLFence* fence) override;
void ReleaseTexImage(unsigned target) override;
bool CopyTexImage(unsigned target) override;
bool CopyTexSubImage(unsigned target,
@@ -83,7 +83,7 @@ unsigned GLImageSync::GetInternalFormat() {
return GL_RGBA;
}
-bool GLImageSync::BindTexImage(unsigned target) {
+bool GLImageSync::BindTexImage(unsigned target, gl::GLFence* fence) {
NOTREACHED();
return false;
}

Powered by Google App Engine
This is Rietveld 408576698