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

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, 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/service/texture_definition.cc
diff --git a/gpu/command_buffer/service/texture_definition.cc b/gpu/command_buffer/service/texture_definition.cc
index fcb2633c544f365b15c6533fb5e8709ae4fd82c5..da06b28318e4d2213bd48b252161aa26df575707 100644
--- a/gpu/command_buffer/service/texture_definition.cc
+++ b/gpu/command_buffer/service/texture_definition.cc
@@ -38,7 +38,7 @@ class GLImageSync : public gl::GLImage {
void Destroy(bool have_context) override;
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,
@@ -87,7 +87,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