From d5157ac5afec145b85746b42f2d86383483a8222 Mon Sep 17 00:00:00 2001 From: reveman Date: Thu, 6 Aug 2015 16:58:22 -0700 Subject: 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} --- gpu/command_buffer/service/query_manager.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'gpu') 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(); -- cgit v1.1