| Index: skia/config/SkUserConfig.h
|
| diff --git a/skia/config/SkUserConfig.h b/skia/config/SkUserConfig.h
|
| index a51b2faf92955bd24bcc72c098269a52caeec636..cb8edf7044bd9f3f375138b1b56af6a7063a00c9 100644
|
| --- a/skia/config/SkUserConfig.h
|
| +++ b/skia/config/SkUserConfig.h
|
| @@ -59,6 +59,13 @@
|
| */
|
| //#define SK_CAN_USE_FLOAT
|
|
|
| +/* Temporarily turn on SK_USE_FLOATBITS so critical float->int conversions in Skia
|
| + are done with saturation.
|
| + TODO(wjmaclean@chromium.org): Remove this once saturating float->int implemented
|
| + throughout Skia.
|
| + */
|
| +#define SK_USE_FLOATBITS
|
| +
|
| /* For some performance-critical scalar operations, skia will optionally work
|
| around the standard float operators if it knows that the CPU does not have
|
| native support for floats. If your environment uses software floating point,
|
|
|