| 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 fe1c8b329f37be4a836d9fe9f884a0815fbfba40..63d250d29f8dd196d0ec1d47faf3a12dac0aec7f 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h
|
| @@ -168,7 +168,7 @@ class PLATFORM_EXPORT DrawingBuffer
|
| }
|
|
|
| // Returns false if the contents had previously been marked as changed and
|
| - // have not yet been committed.
|
| + // have not yet been resolved.
|
| bool markContentsChanged();
|
| void setBufferClearNeeded(bool);
|
| bool bufferClearNeeded() const;
|
| @@ -342,9 +342,12 @@ class PLATFORM_EXPORT DrawingBuffer
|
| // The same as reset(), but leaves GL state dirty.
|
| bool resizeFramebufferInternal(const IntSize&);
|
|
|
| - // The same as commit(), but leaves GL state dirty.
|
| + // The same as resolveAndBindForReadAndDraw(), but leaves GL state dirty.
|
| void resolveMultisampleFramebufferInternal();
|
|
|
| + // Resolves m_multisampleFBO into m_fbo, if multisampling.
|
| + void resolve();
|
| +
|
| bool prepareTextureMailboxInternal(
|
| cc::TextureMailbox* outMailbox,
|
| std::unique_ptr<cc::SingleReleaseCallback>* outReleaseCallback,
|
| @@ -481,9 +484,9 @@ class PLATFORM_EXPORT DrawingBuffer
|
| // buffer.
|
| bool m_contentsChanged = true;
|
|
|
| - // True if commit() has been called since the last time markContentsChanged()
|
| + // True if resolve() has been called since the last time markContentsChanged()
|
| // had been called.
|
| - bool m_contentsChangeCommitted = false;
|
| + bool m_contentsChangeResolved = false;
|
| bool m_bufferClearNeeded = false;
|
|
|
| // Whether the client wants a depth or stencil buffer.
|
|
|