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:
reed@google.com 2012-08-03 20:06:12 +00:00
parent 2e40173c95
commit 0951ded8d8

View File

@ -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