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

Unified Diff: cc/test/test_context_provider.h

Issue 1324413003: Move gpu memory calculations to Compositor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comment + android_arm64_dbg_recipe bot issue. Created 5 years, 2 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/raster/tile_task_worker_pool_perftest.cc ('k') | cc/test/test_context_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_context_provider.h
diff --git a/cc/test/test_context_provider.h b/cc/test/test_context_provider.h
index 3ff9092faece6ec04f27cb4d15bf0441707e7e89..994587c06ec100da74588a2fc2191da36af4942e 100644
--- a/cc/test/test_context_provider.h
+++ b/cc/test/test_context_provider.h
@@ -44,8 +44,6 @@ class TestContextProvider : public ContextProvider {
void DeleteCachedResources() override;
bool DestroyedOnMainThread() override;
void SetLostContextCallback(const LostContextCallback& cb) override;
- void SetMemoryPolicyChangedCallback(
- const MemoryPolicyChangedCallback& cb) override;
TestWebGraphicsContext3D* TestContext3d();
@@ -57,8 +55,6 @@ class TestContextProvider : public ContextProvider {
TestContextSupport* support() { return &support_; }
- void SetMemoryAllocation(const ManagedMemoryPolicy& policy);
-
void SetMaxTransferBufferUsageBytes(size_t max_transfer_buffer_usage_bytes);
protected:
@@ -83,7 +79,6 @@ class TestContextProvider : public ContextProvider {
base::Lock context_lock_;
LostContextCallback lost_context_callback_;
- MemoryPolicyChangedCallback memory_policy_changed_callback_;
skia::RefPtr<class GrContext> gr_context_;
base::WeakPtrFactory<TestContextProvider> weak_ptr_factory_;
« no previous file with comments | « cc/raster/tile_task_worker_pool_perftest.cc ('k') | cc/test/test_context_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698