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

Unified Diff: gpu/command_buffer/client/gles2_implementation_impl_autogen.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
Index: gpu/command_buffer/client/gles2_implementation_impl_autogen.h
diff --git a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
index 679822032ddf8c633dc779aafb744ac5eeb897b8..e10aa498039a6d4e168cffcb1bf7146efb361b7e 100644
--- a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
+++ b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
@@ -3197,12 +3197,14 @@ void GLES2Implementation::CompressedCopyTextureCHROMIUM(GLenum source_id,
CheckGLError();
}
-void GLES2Implementation::BindTexImage2DCHROMIUM(GLenum target, GLint imageId) {
+void GLES2Implementation::BindTexImage2DCHROMIUM(GLenum target,
+ GLint imageId,
+ GLint fenceId) {
GPU_CLIENT_SINGLE_THREAD_CHECK();
GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glBindTexImage2DCHROMIUM("
<< GLES2Util::GetStringTextureBindTarget(target) << ", "
- << imageId << ")");
- helper_->BindTexImage2DCHROMIUM(target, imageId);
+ << imageId << ", " << fenceId << ")");
+ helper_->BindTexImage2DCHROMIUM(target, imageId, fenceId);
CheckGLError();
}

Powered by Google App Engine
This is Rietveld 408576698