diff options
Diffstat (limited to 'docs/SkBitmap_Reference.bmh')
-rw-r--r-- | docs/SkBitmap_Reference.bmh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/SkBitmap_Reference.bmh b/docs/SkBitmap_Reference.bmh index 584672af3f..192896acc6 100644 --- a/docs/SkBitmap_Reference.bmh +++ b/docs/SkBitmap_Reference.bmh @@ -1475,8 +1475,8 @@ until the pixels are written to. The actual behavior depends on the platform implementation of malloc(), if flags is zero, and calloc(), if flags is kZeroPixels_AllocFlag. -Passing kZeroPixels_AllocFlag is usually faster than separately calling -eraseColor(SK_ColorTRANSPARENT). +flags set to kZeroPixels_AllocFlag offers equal or better performance than +subsequently calling eraseColor with SK_ColorTRANSPARENT. #Param info contains width, height, Alpha_Type, Color_Type, Color_Space ## #Param flags kZeroPixels_AllocFlag, or zero ## @@ -1519,8 +1519,8 @@ until the pixels are written to. The actual behavior depends on the platform implementation of malloc(), if flags is zero, and calloc(), if flags is kZeroPixels_AllocFlag. -Passing kZeroPixels_AllocFlag is usually faster than separately calling -eraseColor(SK_ColorTRANSPARENT). +flags set to kZeroPixels_AllocFlag offers equal or better performance than +subsequently calling eraseColor with SK_ColorTRANSPARENT. #Param info contains width, height, Alpha_Type, Color_Type, Color_Space ## #Param flags kZeroPixels_AllocFlag, or zero ## |