aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/gm.cpp
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-02-26 23:01:57 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-02-26 23:01:57 +0000
commit38aeb0fd7a2bdab5e44531d96045dffe25c8e2b0 (patch)
treec373c1f753a84247e82cc7f2c42b9b728dc40420 /gm/gm.cpp
parent40ac5e52b8d08e85c269c93076fbd4208650d17f (diff)
DM: also run benches once.
Also: - make GrMemoryPoolBenches threadsafe - some tweaks to various DM code - rename GM::shortName() to getName() to match benches and tests On my desktop, (289 GMs, 617 benches) x 4 configs, 227 tests takes 46s in Debug, 14s in Release. (Still minutes faster than running tests && bench && gm.) GPU singlethreading is definitely the limiting factor again; going to reexamine whether that's helpful to thread it again. BUG=skia: R=reed@google.com, bsalomon@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/178473006 git-svn-id: http://skia.googlecode.com/svn/trunk@13603 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm/gm.cpp')
-rw-r--r--gm/gm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/gm.cpp b/gm/gm.cpp
index 82dd47637e..803874f5bc 100644
--- a/gm/gm.cpp
+++ b/gm/gm.cpp
@@ -40,7 +40,7 @@ void GM::drawBackground(SkCanvas* canvas) {
this->onDrawBackground(canvas);
}
-const char* GM::shortName() {
+const char* GM::getName() {
if (fShortName.size() == 0) {
fShortName = this->onShortName();
}