diff options
author | Cary Clark <caryclark@skia.org> | 2018-04-03 08:43:27 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-04-03 16:09:56 +0000 |
commit | 186d08f621efcaf9960ffe4a1dd9e6703de8a698 (patch) | |
tree | 7087f2b1a18ef61e26103389a3aab051c9d923f3 /docs/SkBitmap_Reference.bmh | |
parent | ba31640427659ea2c096be1a26976e34348619cf (diff) |
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 <caryclark@skia.org>
Reviewed-by: Cary Clark <caryclark@skia.org>
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 ## |