aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/InterpBench.cpp
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2015-01-09 10:06:39 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-01-09 10:06:40 -0800
commit72c9faab45124e08c85f70ca38536914862d947c (patch)
tree611893b84bb33b1592d058ee0f2382f7f86601b8 /bench/InterpBench.cpp
parent4490da227f1475fb66af20532c14d6d9febd18b6 (diff)
Fix up all the easy virtual ... SK_OVERRIDE cases.
This fixes every case where virtual and SK_OVERRIDE were on the same line, which should be the bulk of cases. We'll have to manually clean up the rest over time unless I level up in regexes. for f in (find . -type f); perl -p -i -e 's/virtual (.*)SK_OVERRIDE/\1SK_OVERRIDE/g' $f; end BUG=skia: Review URL: https://codereview.chromium.org/806653007
Diffstat (limited to 'bench/InterpBench.cpp')
-rw-r--r--bench/InterpBench.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/bench/InterpBench.cpp b/bench/InterpBench.cpp
index b19af8f35f..c03da4b8cc 100644
--- a/bench/InterpBench.cpp
+++ b/bench/InterpBench.cpp
@@ -22,7 +22,7 @@ public:
fDx = 0.1257f;
}
- virtual bool isSuitableFor(Backend backend) SK_OVERRIDE {
+ bool isSuitableFor(Backend backend) SK_OVERRIDE {
return backend == kNonRendering_Backend;
}
@@ -51,7 +51,7 @@ public:
Fixed16D16Interp() : INHERITED("16.16") {}
protected:
- virtual void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE {
+ void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE {
SkFixed curr = SkFloatToFixed(fx);
SkFixed step = SkFloatToFixed(dx);
for (int i = 0; i < count; i += 4) {
@@ -70,7 +70,7 @@ public:
Fixed32D32Interp() : INHERITED("32.32") {}
protected:
- virtual void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE {
+ void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE {
int64_t curr = (int64_t)(fx * 65536 * 655536);
int64_t step = (int64_t)(dx * 65536 * 655536);
SkFixed tmp;
@@ -101,7 +101,7 @@ public:
Fixed16D48Interp() : INHERITED("16.48") {}
protected:
- virtual void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE {
+ void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE {
int64_t curr = (int64_t)(fx * 65536 * 655536 * 65536);
int64_t step = (int64_t)(dx * 65536 * 655536 * 65536);
SkFixed tmp;
@@ -121,7 +121,7 @@ public:
FloatInterp() : INHERITED("float") {}
protected:
- virtual void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE {
+ void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE {
SkFixed tmp;
for (int i = 0; i < count; i += 4) {
tmp = SkFloatToFixed(fx); dst[i + 0] = TILE(tmp, count); fx += dx;
@@ -139,7 +139,7 @@ public:
DoubleInterp() : INHERITED("double") {}
protected:
- virtual void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE {
+ void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE {
double ffx = fx;
double ddx = dx;
SkFixed tmp;