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>
diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h
index cea50b8..b9300d9 100644
--- a/include/core/SkBitmap.h
+++ b/include/core/SkBitmap.h
@@ -135,7 +135,7 @@
* 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 @@
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 @@
}
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;
}