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

Unified Diff: third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h

Issue 2053983002: WebGL: Three small fixes to Image CHROMIUM logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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: third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h
index ea1dd22557cccc43e0d41d9515b49f13407c39df..b0a31dfd4fac4507089b22facb285866e845287b 100644
--- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h
+++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h
@@ -188,6 +188,10 @@ public:
// operations must use a color mask with alpha=GL_FALSE.
bool requiresAlphaChannelToBePreserved();
+ // Similar to requiresAlphaChannelToBePreserved(), but always targets the
+ // default framebuffer.
+ bool defaultBufferRequiresAlphaChannelToBePreserved();
+
WebLayer* platformLayer();
gpu::gles2::GLES2Interface* contextGL();
@@ -354,10 +358,6 @@ private:
// The format to use when creating a multisampled renderbuffer.
GLenum getMultisampledRenderbufferFormat();
- // Similar to requiresAlphaChannelToBePreserved(), but always targets the
- // default framebuffer.
- bool defaultBufferRequiresAlphaChannelToBePreserved();
-
const PreserveDrawingBuffer m_preserveDrawingBuffer;
bool m_scissorEnabled = false;
GLuint m_texture2DBinding = 0;

Powered by Google App Engine
This is Rietveld 408576698