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

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

Issue 2820373003: WebGL: Tidy up buffer allocation logic (Closed)
Patch Set: WebGL: tidy buffer allocation logic 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: 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 938c0c3b69880e217d1d0c90543b445f44d1b3a5..989fa9b573710f9951193b5f5e5ae3f2addc9871 100644
--- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h
+++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h
@@ -293,7 +293,7 @@ class PLATFORM_EXPORT DrawingBuffer
struct ColorBufferParameters {
DISALLOW_NEW();
GLenum target = 0;
- GLenum internal_color_format = 0;
+ bool allocate_alpha_channel = false;
// The internal color format used when allocating storage for the
// texture. This may be different from internalColorFormat if RGB

Powered by Google App Engine
This is Rietveld 408576698