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

Unified Diff: samplecode/SampleMipMap.cpp

Issue 20344002: use dynamic hash to speed up scaledimagecache (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 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 | « no previous file | src/core/SkScaledImageCache.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samplecode/SampleMipMap.cpp
diff --git a/samplecode/SampleMipMap.cpp b/samplecode/SampleMipMap.cpp
index 3cfeeb704ecec46a502c9a9a70850c6b24efcb12..852f13fa18f207958d279349f99cd728a5da1f37 100644
--- a/samplecode/SampleMipMap.cpp
+++ b/samplecode/SampleMipMap.cpp
@@ -52,7 +52,7 @@ public:
}
fOnce = true;
- fBitmap = createBitmap(N);
+ fBitmap = createBitmap(N*5);
fWidth = N;
}
@@ -87,7 +87,7 @@ protected:
canvas->drawBitmap(fBitmap, x, y, &paint);
}
- this->inval(NULL);
+ // this->inval(NULL);
}
private:
« no previous file with comments | « no previous file | src/core/SkScaledImageCache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698