зеркало из https://github.com/mozilla/moz-skia.git
The oval path bench tests used to draw a circle, but I changed them to an oval
so that we could track performance changes for ovals. However, rendering the stroked oval cases are now ~5ms slower since they're larger. This restores them to something close to their original performance by slightly shrinking the bounds. This will help determine what effect r7304 may have had. git-svn-id: http://skia.googlecode.com/svn/trunk@7365 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
Родитель
7c56c16322
Коммит
e2bfd8b7b1
|
@ -122,7 +122,7 @@ public:
|
|||
name->append("oval");
|
||||
}
|
||||
virtual void makePath(SkPath* path) SK_OVERRIDE {
|
||||
SkRect r = { 10, 10, 30, 20 };
|
||||
SkRect r = { 10, 10, 23, 20 };
|
||||
path->addOval(r);
|
||||
}
|
||||
private:
|
||||
|
|
Загрузка…
Ссылка в новой задаче