From 186d08f621efcaf9960ffe4a1dd9e6703de8a698 Mon Sep 17 00:00:00 2001 From: Cary Clark Date: Tue, 3 Apr 2018 08:43:27 -0400 Subject: fix bugs exposed by documenting SkImageInfo - More rigorous symbol identification creates additional links, and finds spurious errors like unnecessary parentheses. - Fixed code to allow preprocessor directives in #Code blocks (still more to do). - Fixed examples waiting on fiddle updates. - Make SkImageInfo officially documented (update in status.json). - Fixed enum indentation. Docs-Preview: https://skia.org/?cl=115656 Bug: skia:6898 Change-Id: Ifcf5cfd3f6c03b3b83155c898b2b035a2f3d443c Reviewed-on: https://skia-review.googlesource.com/115656 Commit-Queue: Cary Clark Reviewed-by: Cary Clark --- docs/SkBitmap_Reference.bmh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/SkBitmap_Reference.bmh') 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 ## -- cgit v1.2.3