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 5ea2af0890567d4a1b4e16696827b2a5b2453c1b..efdb7a35882cf587fdc0def22364aa7b71e936a5 100644 |
--- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h |
+++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h |
@@ -46,11 +46,15 @@ |
#include "wtf/OwnPtr.h" |
#include "wtf/PassOwnPtr.h" |
-namespace WTF { |
+namespace gpu { |
+namespace gles2 { |
+class GLES2Interface; |
+} |
+} |
+namespace WTF { |
class ArrayBufferContents; |
- |
-} // namespace WTF |
+} |
namespace blink { |
@@ -175,6 +179,7 @@ public: |
protected: // For unittests |
DrawingBuffer( |
PassOwnPtr<WebGraphicsContext3D>, |
+ gpu::gles2::GLES2Interface*, |
PassOwnPtr<Extensions3DUtil>, |
bool multisampleExtensionSupported, |
bool discardFramebufferSupported, |
@@ -299,6 +304,7 @@ private: |
GLenum m_activeTextureUnit; |
OwnPtr<WebGraphicsContext3D> m_context; |
+ gpu::gles2::GLES2Interface* m_gl; // Lifetime is tied to the m_context. |
Ken Russell (switch to Gerrit)
2016/03/15 01:53:09
Thanks for this comment. :)
|
OwnPtr<Extensions3DUtil> m_extensionsUtil; |
IntSize m_size; |
WebGraphicsContext3D::Attributes m_requestedAttributes; |