diff options
author | bsalomon <bsalomon@google.com> | 2014-06-26 12:56:22 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-06-26 12:56:22 -0700 |
commit | 3512eda332f3a48ab750a047027e2e254ab53a15 (patch) | |
tree | c3fbc9cd98652fa5630850baa8412386e8a7d523 /src/gpu/GrBufferAllocPool.h | |
parent | 8ba8d923da92b9e417ebd8802694fb2630e6c12b (diff) |
Add trace event when GrBufferAllocPool unmaps a buffer indicating what % of the buffer was unwritten.
R=egdaniel@google.com
TBR=egdaniel@google.com
Author: bsalomon@google.com
Review URL: https://codereview.chromium.org/339433009
Diffstat (limited to 'src/gpu/GrBufferAllocPool.h')
-rw-r--r-- | src/gpu/GrBufferAllocPool.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrBufferAllocPool.h b/src/gpu/GrBufferAllocPool.h index 291d781ac6..e3d398204b 100644 --- a/src/gpu/GrBufferAllocPool.h +++ b/src/gpu/GrBufferAllocPool.h @@ -155,7 +155,7 @@ private: bool createBlock(size_t requestSize); void destroyBlock(); - void flushCpuData(GrGeometryBuffer* buffer, size_t flushSize); + void flushCpuData(const BufferBlock& block, size_t flushSize); #ifdef SK_DEBUG void validate(bool unusedBlockAllowed = false) const; #endif |