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

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

Issue 1817323003: Revert of Remove create/delete methods from WebGraphicsContext3D. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@complex-casts
Patch Set: 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 83d531fdd9807398334ea753e876cbc0156c04a1..856619c9f29ca377a638362f3e0598a2ef23557c 100644
--- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h
+++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h
@@ -311,7 +311,7 @@
WebGraphicsContext3D::Attributes m_requestedAttributes;
bool m_multisampleExtensionSupported;
bool m_discardFramebufferSupported;
- GLuint m_fbo;
+ Platform3DObject m_fbo;
// DrawingBuffer's output is double-buffered. m_colorBuffer is the back buffer.
TextureInfo m_colorBuffer;
struct FrontBufferInfo {
@@ -323,11 +323,11 @@
OwnPtr<SameThreadClosure> m_newMailboxCallback;
// This is used when the user requests either a depth or stencil buffer.
- GLuint m_depthStencilBuffer;
+ Platform3DObject m_depthStencilBuffer;
// For multisampling.
- GLuint m_multisampleFBO;
- GLuint m_multisampleColorBuffer;
+ Platform3DObject m_multisampleFBO;
+ Platform3DObject 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