Index: bench/Matrix44Bench.cpp |
diff --git a/bench/Matrix44Bench.cpp b/bench/Matrix44Bench.cpp |
index a990763b62815c2c6fa0eb30533b69e1f795adbd..98025f154460ce03a8740ad904c8116e9e9e24f8 100644 |
--- a/bench/Matrix44Bench.cpp |
+++ b/bench/Matrix44Bench.cpp |
@@ -116,22 +116,22 @@ public: |
, fM0(SkMatrix44::kUninitialized_Constructor) |
, fM1(SkMatrix44::kUninitialized_Constructor) |
{ |
- fM0.set(0, 0, -1.1); |
- fM0.set(0, 1, 2.1); |
- fM0.set(0, 2, -3.1); |
- fM0.set(0, 3, 4.1); |
- fM0.set(1, 0, 5.1); |
- fM0.set(1, 1, -6.1); |
- fM0.set(1, 2, 7.1); |
- fM0.set(1, 3, 8.1); |
- fM0.set(2, 0, -9.1); |
- fM0.set(2, 1, 10.1); |
- fM0.set(2, 2, 11.1); |
- fM0.set(2, 3, -12.1); |
- fM0.set(3, 0, -13.1); |
- fM0.set(3, 1, 14.1); |
- fM0.set(3, 2, -15.1); |
- fM0.set(3, 3, 16.1); |
+ fM0.setDouble(0, 0, -1.1); |
+ fM0.setDouble(0, 1, 2.1); |
+ fM0.setDouble(0, 2, -3.1); |
+ fM0.setDouble(0, 3, 4.1); |
+ fM0.setDouble(1, 0, 5.1); |
+ fM0.setDouble(1, 1, -6.1); |
+ fM0.setDouble(1, 2, 7.1); |
+ fM0.setDouble(1, 3, 8.1); |
+ fM0.setDouble(2, 0, -9.1); |
+ fM0.setDouble(2, 1, 10.1); |
+ fM0.setDouble(2, 2, 11.1); |
+ fM0.setDouble(2, 3, -12.1); |
+ fM0.setDouble(3, 0, -13.1); |
+ fM0.setDouble(3, 1, 14.1); |
+ fM0.setDouble(3, 2, -15.1); |
+ fM0.setDouble(3, 3, 16.1); |
} |
protected: |
virtual void performTest() { |
@@ -151,18 +151,18 @@ public: |
, fM0(SkMatrix44::kIdentity_Constructor) |
, fM1(SkMatrix44::kUninitialized_Constructor) |
{ |
- fM0.set(0, 0, -1.1); |
- fM0.set(0, 1, 2.1); |
- fM0.set(0, 2, -3.1); |
- fM0.set(0, 3, 4.1); |
- fM0.set(1, 0, 5.1); |
- fM0.set(1, 1, -6.1); |
- fM0.set(1, 2, 7.1); |
- fM0.set(1, 3, 8.1); |
- fM0.set(2, 0, -9.1); |
- fM0.set(2, 1, 10.1); |
- fM0.set(2, 2, 11.1); |
- fM0.set(2, 3, -12.1); |
+ fM0.setDouble(0, 0, -1.1); |
+ fM0.setDouble(0, 1, 2.1); |
+ fM0.setDouble(0, 2, -3.1); |
+ fM0.setDouble(0, 3, 4.1); |
+ fM0.setDouble(1, 0, 5.1); |
+ fM0.setDouble(1, 1, -6.1); |
+ fM0.setDouble(1, 2, 7.1); |
+ fM0.setDouble(1, 3, 8.1); |
+ fM0.setDouble(2, 0, -9.1); |
+ fM0.setDouble(2, 1, 10.1); |
+ fM0.setDouble(2, 2, 11.1); |
+ fM0.setDouble(2, 3, -12.1); |
// bottom row (perspective component) remains (0, 0, 0, 1). |
} |
protected: |
@@ -183,14 +183,14 @@ public: |
, fM0(SkMatrix44::kIdentity_Constructor) |
, fM1(SkMatrix44::kUninitialized_Constructor) |
{ |
- fM0.set(0, 0, -1.1); |
- fM0.set(0, 3, 4.1); |
+ fM0.setDouble(0, 0, -1.1); |
+ fM0.setDouble(0, 3, 4.1); |
- fM0.set(1, 1, -6.1); |
- fM0.set(1, 3, 8.1); |
+ fM0.setDouble(1, 1, -6.1); |
+ fM0.setDouble(1, 3, 8.1); |
- fM0.set(2, 2, 11.1); |
- fM0.set(2, 3, -12.1); |
+ fM0.setDouble(2, 2, 11.1); |
+ fM0.setDouble(2, 3, -12.1); |
} |
protected: |
virtual void performTest() { |
@@ -210,9 +210,9 @@ public: |
, fM0(SkMatrix44::kIdentity_Constructor) |
, fM1(SkMatrix44::kUninitialized_Constructor) |
{ |
- fM0.set(0, 3, 4.1); |
- fM0.set(1, 3, 8.1); |
- fM0.set(2, 3, -12.1); |
+ fM0.setDouble(0, 3, 4.1); |
+ fM0.setDouble(1, 3, 8.1); |
+ fM0.setDouble(2, 3, -12.1); |
} |
protected: |
virtual void performTest() { |