Make scalar benchmarks compile and run under SKIA_SCALAR=fixed as well as float.
git-svn-id: http://skia.googlecode.com/svn/trunk@1516 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
521ed7c7c2
commit
25583a3812
@ -1,4 +1,5 @@
|
|||||||
#include "SkBenchmark.h"
|
#include "SkBenchmark.h"
|
||||||
|
#include "SkFloatBits.h"
|
||||||
#include "SkRandom.h"
|
#include "SkRandom.h"
|
||||||
#include "SkString.h"
|
#include "SkString.h"
|
||||||
|
|
||||||
@ -85,7 +86,7 @@ protected:
|
|||||||
}
|
}
|
||||||
private:
|
private:
|
||||||
static const int32_t kPersp1Int = 0x3f800000;
|
static const int32_t kPersp1Int = 0x3f800000;
|
||||||
float fArray[9];
|
SkScalar fArray[9];
|
||||||
typedef ScalarBench INHERITED;
|
typedef ScalarBench INHERITED;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user