is also reasonable, but if scalar==software-float, then each compare can be
a function call and take real time. To account for that, we have the flag
SK_SCALAR_SLOW_COMPARES.
-
+
If this is defined, we have a special trick where we quickly convert floats
to a 2's compliment form, and then treat them as signed 32bit integers. In
this form we lose a few subtlties (e.g. NaNs always comparing false) but
#include "SkCGUtils.h"
#include "SkBitmap.h"
#include "SkColorPriv.h"
-//#include <CoreGraphics/CGColorSpace.h>
extern CGImageRef SkCreateCGImageRef(const SkBitmap&);