diff options
author | Cary Clark <caryclark@skia.org> | 2017-10-04 10:56:37 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-10-04 15:33:23 +0000 |
commit | 490847e20902a641319c1d4ed4b5e7469040f639 (patch) | |
tree | a7e70b814feb98d9fb33116c04b834b806cca5d0 /include | |
parent | e76e41853679365cd5c4f142d48e37ad42dd61d0 (diff) |
add missing params
SkBitmap is missing a couple of parameter names.
Parameter names make doxygen easier.
Also qualify hasHardwareMipMap and
setHasHardwareMipMap to Android framework.
R=djsollen@google.com
Bug: skia:6898
Change-Id: I502da35dc5761d73195b6a21dd4310cb001a6924
Reviewed-on: https://skia-review.googlesource.com/55161
Commit-Queue: Cary Clark <caryclark@google.com>
Reviewed-by: Derek Sollenberger <djsollen@google.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkBitmap.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h index cea50b8886..b9300d984a 100644 --- a/include/core/SkBitmap.h +++ b/include/core/SkBitmap.h @@ -135,7 +135,7 @@ public: * that all bitmaps that might be sharing (subsets of) the pixels will * be affected. */ - bool setAlphaType(SkAlphaType); + bool setAlphaType(SkAlphaType alphaType); /** Return the address of the pixels for this SkBitmap. */ @@ -203,7 +203,7 @@ public: improve performance by avoiding unnecessary overhead and resource consumption on the device. */ - void setIsVolatile(bool); + void setIsVolatile(bool isVolatile); /** Reset the bitmap to its initial state (see default constructor). If we are a (shared) owner of the pixels, that ownership is decremented. @@ -553,7 +553,7 @@ public: } bool writePixels(const SkPixmap& src, int x, int y, SkTransferFunctionBehavior behavior); -#ifdef SK_BUILD_FOR_ANDROID +#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK bool hasHardwareMipMap() const { return (fFlags & kHasHardwareMipMap_Flag) != 0; } |