summaryrefslogtreecommitdiffstats
path: root/cc/proto/renderer_settings.proto
diff options
context:
space:
mode:
authorccameron <ccameron@chromium.org>2016-01-11 15:41:37 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-11 23:43:02 +0000
commit0dfb4b3339bd94b919f51cf5b1ab35197476bfc4 (patch)
treeeb17c3939c437b6b7224820515dd7f5f4a652ffe /cc/proto/renderer_settings.proto
parentcd04ad3208f70d0ef1341ca64f0379b84c8fbcd6 (diff)
downloadchromium_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