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

Unified Diff: gpu/command_buffer/client/gl_in_process_context.cc

Issue 1235203003: WIP cc: remove unused and legacy GetMappedMemoryLimit code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 | « gpu/command_buffer/client/gl_in_process_context.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/gl_in_process_context.cc
diff --git a/gpu/command_buffer/client/gl_in_process_context.cc b/gpu/command_buffer/client/gl_in_process_context.cc
index 3b32c4815eca63a30a1a753116f50f73ca4234a5..04f2c9cf4d008434ab74c4619808ae0a6f327ef7 100644
--- a/gpu/command_buffer/client/gl_in_process_context.cc
+++ b/gpu/command_buffer/client/gl_in_process_context.cc
@@ -66,7 +66,6 @@ class GLInProcessContextImpl
// GLInProcessContext implementation:
void SetContextLostCallback(const base::Closure& callback) override;
gles2::GLES2Implementation* GetImplementation() override;
- size_t GetMappedMemoryLimit() override;
void SetLock(base::Lock* lock) override;
#if defined(OS_ANDROID)
@@ -114,10 +113,6 @@ gles2::GLES2Implementation* GLInProcessContextImpl::GetImplementation() {
return gles2_implementation_.get();
}
-size_t GLInProcessContextImpl::GetMappedMemoryLimit() {
- return mem_limits_.mapped_memory_reclaim_limit;
-}
-
void GLInProcessContextImpl::SetLock(base::Lock* lock) {
command_buffer_->SetLock(lock);
lock_ = lock;
« no previous file with comments | « gpu/command_buffer/client/gl_in_process_context.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698