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

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: remove more redundant code. Created 5 years, 3 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
Index: cc/test/test_context_provider.h
diff --git a/cc/test/test_context_provider.h b/cc/test/test_context_provider.h
index 82b3e612d681344d71d0dbf603f51dcfc8f437a7..84febc3637072d662036e641febc1e42c44779cc 100644
--- a/cc/test/test_context_provider.h
+++ b/cc/test/test_context_provider.h
@@ -41,8 +41,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();
@@ -54,8 +52,6 @@ class TestContextProvider : public ContextProvider {
TestContextSupport* support() { return &support_; }
- void SetMemoryAllocation(const ManagedMemoryPolicy& policy);
-
void SetMaxTransferBufferUsageBytes(size_t max_transfer_buffer_usage_bytes);
protected:
@@ -80,7 +76,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_;

Powered by Google App Engine
This is Rietveld 408576698