tie slow sort (STD) to legacy AA, so that skia can use the fast one, and so that
when chrome disables the legacy flag, it will automatically get the faster one. git-svn-id: http://skia.googlecode.com/svn/trunk@4955 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
2e40173c95
commit
0951ded8d8
@ -17,8 +17,9 @@
|
||||
#include "SkTemplates.h"
|
||||
#include "SkTSort.h"
|
||||
|
||||
// undefine this to get faster inline sort
|
||||
#define SK_USE_STD_SORT_FOR_EDGES
|
||||
#ifdef SK_USE_LEGACY_AA_COVERAGE
|
||||
#define SK_USE_STD_SORT_FOR_EDGES
|
||||
#endif
|
||||
|
||||
#define kEDGE_HEAD_Y SK_MinS32
|
||||
#define kEDGE_TAIL_Y SK_MaxS32
|
||||
|
Loading…
Reference in New Issue
Block a user