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

Unified Diff: ui/gl/gl_image.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
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp ('k') | ui/gl/gl_image.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_image.h
diff --git a/ui/gl/gl_image.h b/ui/gl/gl_image.h
index f0d08423a6f1f3206138c8d50b22e87b325bca4b..be3d6f4c3918cf0fb683ac08e4535c18a11849ea 100644
--- a/ui/gl/gl_image.h
+++ b/ui/gl/gl_image.h
@@ -43,6 +43,13 @@ class GL_EXPORT GLImage : public base::RefCounted<GLImage> {
// It is valid for an implementation to always return false.
virtual bool BindTexImage(unsigned target) = 0;
+ // Bind image to texture currently bound to |target|, forcing the texture's
+ // internal format to the specified one. This is a feature not available on
+ // all platforms. Returns true on success. It is valid for an implementation
+ // to always return false.
+ virtual bool BindTexImageWithInternalformat(unsigned target,
+ unsigned internalformat);
+
// Release image from texture currently bound to |target|.
virtual void ReleaseTexImage(unsigned target) = 0;
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp ('k') | ui/gl/gl_image.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698