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

Side by Side Diff: gpu/command_buffer/service/mocks.cc

Issue 10797055: gpu in-memory program cache implementation with a memory limit + lru eviction. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: simplified binary loading logic Created 8 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/threading/thread.h" 5 #include "base/threading/thread.h"
6 #include "base/time.h" 6 #include "base/time.h"
7 #include "gpu/command_buffer/service/gpu_scheduler.h" 7 #include "gpu/command_buffer/service/gpu_scheduler.h"
8 #include "gpu/command_buffer/service/mocks.h" 8 #include "gpu/command_buffer/service/mocks.h"
9 9
10 namespace gpu { 10 namespace gpu {
(...skipping 15 matching lines...) Expand all
26 static_cast<const cmd::SetToken*>(_args); 26 static_cast<const cmd::SetToken*>(_args);
27 engine_->set_token(args->token); 27 engine_->set_token(args->token);
28 } 28 }
29 29
30 namespace gles2 { 30 namespace gles2 {
31 31
32 MockShaderTranslator::MockShaderTranslator() {} 32 MockShaderTranslator::MockShaderTranslator() {}
33 33
34 MockShaderTranslator::~MockShaderTranslator() {} 34 MockShaderTranslator::~MockShaderTranslator() {}
35 35
36 MockProgramCache::MockProgramCache() {}
37 MockProgramCache::~MockProgramCache() {}
38
36 } // namespace gles2 39 } // namespace gles2
37 } // namespace gpu 40 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698