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

Unified Diff: gpu/command_buffer/client/gles2_implementation_impl_autogen.h

Issue 2831733003: Fix blits from multisampled renderbuffers to alpha:false WebGL back buffer. (Closed)
Patch Set: Add PLATFORM_EXPORT to fix link failure on Windows. Created 3 years, 8 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/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 db5d667d6069f29efdd5c93291e0ec8ccebd05d4..a5a5091eed8901a1962b807c87dab330f03b722f 100644
--- a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
+++ b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
@@ -3195,6 +3195,21 @@ void GLES2Implementation::BindTexImage2DCHROMIUM(GLenum target, GLint imageId) {
CheckGLError();
}
+void GLES2Implementation::BindTexImage2DWithInternalformatCHROMIUM(
+ GLenum target,
+ GLenum internalformat,
+ GLint imageId) {
+ GPU_CLIENT_SINGLE_THREAD_CHECK();
+ GPU_CLIENT_LOG("[" << GetLogPrefix()
+ << "] glBindTexImage2DWithInternalformatCHROMIUM("
+ << GLES2Util::GetStringTextureBindTarget(target) << ", "
+ << GLES2Util::GetStringEnum(internalformat) << ", "
+ << imageId << ")");
+ helper_->BindTexImage2DWithInternalformatCHROMIUM(target, internalformat,
+ imageId);
+ CheckGLError();
+}
+
void GLES2Implementation::ReleaseTexImage2DCHROMIUM(GLenum target,
GLint imageId) {
GPU_CLIENT_SINGLE_THREAD_CHECK();

Powered by Google App Engine
This is Rietveld 408576698