diff options
author | ccameron <ccameron@chromium.org> | 2016-01-11 15:41:37 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-11 23:43:02 +0000 |
commit | 0dfb4b3339bd94b919f51cf5b1ab35197476bfc4 (patch) | |
tree | eb17c3939c437b6b7224820515dd7f5f4a652ffe /cc/proto/renderer_settings.proto | |
parent | cd04ad3208f70d0ef1341ca64f0379b84c8fbcd6 (diff) | |
download | chromium_src-0dfb4b3339bd94b919f51cf5b1ab35197476bfc4.zip chromium_src-0dfb4b3339bd94b919f51cf5b1ab35197476bfc4.tar.gz chromium_src-0dfb4b3339bd94b919f51cf5b1ab35197476bfc4.tar.bz2 |
GpuMemoryBuffers: Add an IsInUse function
Add a function GpuMemoryBuffer::IsInUseByWindowServer to see if a
resource is currently in use by the system. This will only return true
on Mac, where it returns the result of IOSurfaceIsInUse.
Hook this up to cc::ResourceProvider::CanLockForWrite and
InUseByConsumer. These fix the bug where tiles would flicker during
reuse.
BUG=558701
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1527483003
Cr-Commit-Position: refs/heads/master@{#368718}
Diffstat (limited to 'cc/proto/renderer_settings.proto')
0 files changed, 0 insertions, 0 deletions