summaryrefslogtreecommitdiffstats
path: root/gpu
diff options
context:
space:
mode:
authorboliu <boliu@chromium.org>2015-05-29 10:09:43 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-29 17:10:06 +0000
commit698b0298df3a08b942a384a04d755df278cbf319 (patch)
treec7f6ab94b3a1e395088d7f44b82394055e100045 /gpu
parent6c6729f63ec4fc5063009adb703c2563f08d0464 (diff)
downloadchromium_src-698b0298df3a08b942a384a04d755df278cbf319.zip
chromium_src-698b0298df3a08b942a384a04d755df278cbf319.tar.gz
chromium_src-698b0298df3a08b942a384a04d755df278cbf319.tar.bz2
Update texture version in PullTextureUpdates
This line got accidentally dropped in https://codereview.chromium.org/1153313003/ and causing huge perf regressions. BUG=492315 Review URL: https://codereview.chromium.org/1163623002 Cr-Commit-Position: refs/heads/master@{#331995}
Diffstat (limited to 'gpu')
-rw-r--r--gpu/command_buffer/service/mailbox_manager_sync.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/mailbox_manager_sync.cc b/gpu/command_buffer/service/mailbox_manager_sync.cc
index 3ca3268..be12b3a 100644
--- a/gpu/command_buffer/service/mailbox_manager_sync.cc
+++ b/gpu/command_buffer/service/mailbox_manager_sync.cc
@@ -319,6 +319,7 @@ void MailboxManagerSync::PullTextureUpdates(uint32 sync_point) {
if (texture_version == definition.version() ||
definition.IsOlderThan(texture_version))
continue;
+ texture_version = definition.version();
needs_update.push_back(TextureUpdatePair(texture, definition));
}
}