| Index: Source/platform/graphics/gpu/DrawingBuffer.h
|
| diff --git a/Source/platform/graphics/gpu/DrawingBuffer.h b/Source/platform/graphics/gpu/DrawingBuffer.h
|
| index 806fcb30ee8b199c39b787c4d43a0f39e891d940..3da4f7c6a1f2cec3c5fbde72250069304562e6e5 100644
|
| --- a/Source/platform/graphics/gpu/DrawingBuffer.h
|
| +++ b/Source/platform/graphics/gpu/DrawingBuffer.h
|
| @@ -180,7 +180,7 @@ public:
|
| bool paintRenderingResultsToImageData(int&, int&, SourceDrawingBuffer, WTF::ArrayBufferContents&);
|
|
|
| int sampleCount() const { return m_sampleCount; }
|
| - bool explicitResolveOfMultisampleData() const { return m_multisampleMode == ExplicitResolve; }
|
| + bool explicitResolveOfMultisampleData() const { return m_antiAliasingMode == MSAAExplicitResolve; }
|
|
|
| // Bind to m_drawFramebufferBinding or m_readFramebufferBinding if it's not 0.
|
| // Otherwise, bind to the default FBO.
|
| @@ -281,13 +281,14 @@ private:
|
| bool m_contentsChangeCommitted;
|
| bool m_bufferClearNeeded;
|
|
|
| - enum MultisampleMode {
|
| + enum AntialiasingMode {
|
| None,
|
| - ImplicitResolve,
|
| - ExplicitResolve,
|
| + MSAAImplicitResolve,
|
| + MSAAExplicitResolve,
|
| + ScreenSpaceAntialiasing,
|
| };
|
|
|
| - MultisampleMode m_multisampleMode;
|
| + AntialiasingMode m_antiAliasingMode;
|
|
|
| WebGraphicsContext3D::Attributes m_actualAttributes;
|
| unsigned m_internalColorFormat;
|
|
|