summaryrefslogtreecommitdiffstats
path: root/gpu
diff options
context:
space:
mode:
authorreveman <reveman@chromium.org>2015-08-09 13:12:17 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-09 20:12:55 +0000
commita6b998600660f34bcce9fbc2c75bbc0a3f7f03cc (patch)
tree68894913bd4e803001a55563178d589d1d6ff3af /gpu
parent9f6cac12a46fb8960d4dc25ae5901906697a45f8 (diff)
downloadchromium_src-a6b998600660f34bcce9fbc2c75bbc0a3f7f03cc.zip
chromium_src-a6b998600660f34bcce9fbc2c75bbc0a3f7f03cc.tar.gz
chromium_src-a6b998600660f34bcce9fbc2c75bbc0a3f7f03cc.tar.bz2
Re-land: cc: Use worker context for one-copy tile initialization.
This moves management of staging resources to OneCopyTileTaskWorkerPool class. This makes it possible to use a worker context to issue and detect when copy operations complete. BUG=490295 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1230203007 Cr-Commit-Position: refs/heads/master@{#342567}
Diffstat (limited to 'gpu')
-rw-r--r--gpu/command_buffer/service/query_manager.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/query_manager.cc b/gpu/command_buffer/service/query_manager.cc
index 49f111f..a269f35 100644
--- a/gpu/command_buffer/service/query_manager.cc
+++ b/gpu/command_buffer/service/query_manager.cc
@@ -785,6 +785,7 @@ QueryManager::~QueryManager() {
}
void QueryManager::Destroy(bool have_context) {
+ active_queries_.clear();
pending_queries_.clear();
pending_transfer_queries_.clear();
active_queries_.clear();