Chromium Code Reviews| 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 c42faa8fa3ed28edd72aca2e2666d749b3e2b9df..5727b58b88ef8db31131adf26720ea6764cf47f1 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h |
| +++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h |
| @@ -171,7 +171,6 @@ protected: // For unittests |
| SupportedExtensions(); |
| bool multisample; |
| - bool packedDepthStencil; |
| bool depth24; |
| bool discardFramebuffer; |
| }; |
| @@ -305,7 +304,6 @@ private: |
| IntSize m_size; |
| WebGraphicsContext3D::Attributes m_requestedAttributes; |
| bool m_multisampleExtensionSupported; |
| - bool m_packedDepthStencilExtensionSupported; |
| bool m_depth24ExtensionSupported; |
| bool m_discardFramebufferSupported; |
| Platform3DObject m_fbo; |
| @@ -319,12 +317,10 @@ private: |
| OwnPtr<Closure> m_newMailboxCallback; |
| - // This is used when we have OES_packed_depth_stencil. |
| Platform3DObject m_depthStencilBuffer; |
| - // These are used when we don't. |
| + // This is used when we only request depth and Depth24 extension is available. |
|
Ken Russell (switch to Gerrit)
2016/02/10 18:04:31
"Depth24 extension" -> "the OES_depth24 extension"
Zhenyao Mo
2016/02/10 18:21:18
Done.
|
| Platform3DObject m_depthBuffer; |
| - Platform3DObject m_stencilBuffer; |
| // For multisampling. |
| Platform3DObject m_multisampleFBO; |