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

Unified Diff: bench/GrResourceCacheBench.cpp

Issue 1225923010: Refugee from Dead Machine 4: MDB Monster Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Last update from dead machine Created 4 years, 8 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 | « no previous file | dm/DMSrcSink.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/GrResourceCacheBench.cpp
diff --git a/bench/GrResourceCacheBench.cpp b/bench/GrResourceCacheBench.cpp
index bc3803518347bc7df392f35a569cc323bf456f72..3f17a8984c915c6ba0e1aded7500ec3e4dade2ce 100644
--- a/bench/GrResourceCacheBench.cpp
+++ b/bench/GrResourceCacheBench.cpp
@@ -24,7 +24,7 @@ enum {
class BenchResource : public GrGpuResource {
public:
BenchResource (GrGpu* gpu)
- : INHERITED(gpu, kCached_LifeCycle) {
+ : INHERITED(gpu, kCached_LifeCycle, GrGpuResource::kOther) {
this->registerWithCache();
}
@@ -36,6 +36,8 @@ public:
}
}
+ GrRenderTarget* arrgh() override { return NULL; }
+
private:
size_t onGpuMemorySize() const override { return 100; }
typedef GrGpuResource INHERITED;
« no previous file with comments | « no previous file | dm/DMSrcSink.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698