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

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

Issue 1814263004: Remove create/delete methods from WebGraphicsContext3D. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@complex-casts
Patch Set: complex-create: rebase Created 4 years, 9 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 1e70fa541cab49b5b787ec75fd947e43ab1ff297..137830a89ed23aeb56b74be5e08d464596a2d729 100644
--- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h
+++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h
@@ -312,7 +312,7 @@ private:
WebGraphicsContext3D::Attributes m_requestedAttributes;
bool m_multisampleExtensionSupported;
bool m_discardFramebufferSupported;
- Platform3DObject m_fbo;
+ GLuint m_fbo;
// DrawingBuffer's output is double-buffered. m_colorBuffer is the back buffer.
TextureInfo m_colorBuffer;
struct FrontBufferInfo {
@@ -324,11 +324,11 @@ private:
OwnPtr<SameThreadClosure> m_newMailboxCallback;
// This is used when the user requests either a depth or stencil buffer.
- Platform3DObject m_depthStencilBuffer;
+ GLuint m_depthStencilBuffer;
// For multisampling.
- Platform3DObject m_multisampleFBO;
- Platform3DObject m_multisampleColorBuffer;
+ GLuint m_multisampleFBO;
+ GLuint m_multisampleColorBuffer;
// True if our contents have been modified since the last presentation of this buffer.
bool m_contentsChanged;

Powered by Google App Engine
This is Rietveld 408576698