зеркало из https://github.com/mozilla/moz-skia.git
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@12734 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
Родитель
83c6a22525
Коммит
3b85deb9c3
|
@ -205,10 +205,10 @@ void PictureBenchmark::run(SkPicture* pict) {
|
|||
|
||||
this->logProgress(result.c_str());
|
||||
#else
|
||||
SkString result = longRunningTimerData.getResult(timeFormat.c_str(),
|
||||
fTimerResult,
|
||||
configName.c_str(),
|
||||
timerTypes,
|
||||
SkString result = longRunningTimerData.getResult(timeFormat.c_str(),
|
||||
fTimerResult,
|
||||
configName.c_str(),
|
||||
timerTypes,
|
||||
fRepeats);
|
||||
result.append("\n");
|
||||
this->logProgress(result.c_str());
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
static inline SkScalar scalar_log2(SkScalar x) {
|
||||
static const SkScalar log2_conversion_factor = SkScalarDiv(1, SkScalarLog(2));
|
||||
|
||||
|
||||
return SkScalarLog(x) * log2_conversion_factor;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче