summaryrefslogtreecommitdiffstats
path: root/gpu
diff options
context:
space:
mode:
authorreveman <reveman@chromium.org>2015-08-06 16:58:22 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-06 23:59:01 +0000
commitd5157ac5afec145b85746b42f2d86383483a8222 (patch)
treed7b8edd68e4238c07076b5f19ac0d6e8a0ecebcd /gpu
parentae7f0073aef3299dca34cb59ab4c827d1145f0c2 (diff)
downloadchromium_src-d5157ac5afec145b85746b42f2d86383483a8222.zip
chromium_src-d5157ac5afec145b85746b42f2d86383483a8222.tar.gz
chromium_src-d5157ac5afec145b85746b42f2d86383483a8222.tar.bz2
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@{#342235}
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();