Chromium Code Reviews| Index: third_party/WebKit/Source/platform/graphics/ImageBuffer.h |
| diff --git a/third_party/WebKit/Source/platform/graphics/ImageBuffer.h b/third_party/WebKit/Source/platform/graphics/ImageBuffer.h |
| index 8e38810f63f7ed3e17e92cbd281fe7d9e1377f40..efd93529f9c53eaf44c3ebf7e89d82fad0956c23 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/ImageBuffer.h |
| +++ b/third_party/WebKit/Source/platform/graphics/ImageBuffer.h |
| @@ -196,6 +196,9 @@ class PLATFORM_EXPORT ImageBuffer { |
| std::unique_ptr<ImageBufferSurface> m_surface; |
| ImageBufferClient* m_client; |
| + mutable bool m_gpuReadbackInvoked; |
| + mutable int m_gpuReadbackSuccessiveFrames; |
|
Justin Novosad
2017/02/16 15:27:20
This one does not need to be mutable
xiangze.zhang
2017/02/17 02:13:45
Done.
|
| + |
| mutable intptr_t m_gpuMemoryUsage; |
| static intptr_t s_globalGPUMemoryUsage; |
| static unsigned s_globalAcceleratedImageBufferCount; |