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

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

Issue 2820373003: WebGL: Tidy up buffer allocation logic (Closed)
Patch Set: No incidental bugfix 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..56f1eea05f3abd78eada2f5db471b6905ff3b8e9 100644
--- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h
+++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h
@@ -293,13 +293,7 @@ class PLATFORM_EXPORT DrawingBuffer
struct ColorBufferParameters {
DISALLOW_NEW();
GLenum target = 0;
- GLenum internal_color_format = 0;
-
- // The internal color format used when allocating storage for the
- // texture. This may be different from internalColorFormat if RGB
- // emulation is required.
- GLenum creation_internal_color_format = 0;
- GLenum color_format = 0;
+ bool allocate_alpha_channel = false;
};
struct ColorBuffer : public RefCounted<ColorBuffer> {
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/DEPS ('k') | third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698