Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2333)

Unified Diff: cc/test/test_context_support.h

Issue 2257533006: Free worker context resources on idle. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix-cleanup2
Patch Set: rebase Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/output/context_provider.h ('k') | cc/test/test_context_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_context_support.h
diff --git a/cc/test/test_context_support.h b/cc/test/test_context_support.h
index 6d162001063e1f10392039f26e1ab93dd5346af4..045dcdb94693e16e2c9c09b79752a39147fdf315 100644
--- a/cc/test/test_context_support.h
+++ b/cc/test/test_context_support.h
@@ -47,6 +47,10 @@ class TestContextSupport : public gpu::ContextSupport {
std::unique_ptr<ScopedVisibility> visibility) override;
bool AnyClientsVisible() const override;
+ std::unique_ptr<ScopedBusy> ClientBecameBusy() override;
+ void ClientBecameNotBusy(std::unique_ptr<ScopedBusy> busy) override;
+ void SetIdleCallback(const base::Closure& callback) override;
+
void CallAllSyncPointCallbacks();
typedef base::Callback<void(int plane_z_order,
« no previous file with comments | « cc/output/context_provider.h ('k') | cc/test/test_context_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698