Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Unified Diff: src/core/SkBlitMask.h

Issue 303543009: replace config() with colorType() (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/core/SkBlitMask.h
diff --git a/src/core/SkBlitMask.h b/src/core/SkBlitMask.h
index ea1da257b7baca75830288469fe70e56f779aac1..32db43c3d8cc45be3a7804bcdc2131ff0a1d6464 100644
--- a/src/core/SkBlitMask.h
+++ b/src/core/SkBlitMask.h
@@ -51,13 +51,13 @@ public:
* Public entry-point to return a blitmask ColorProc.
* May return NULL if config or format are not supported.
*/
- static ColorProc ColorFactory(SkBitmap::Config, SkMask::Format, SkColor);
+ static ColorProc ColorFactory(SkColorType, SkMask::Format, SkColor);
/**
* Return either platform specific optimized blitmask ColorProc,
* or NULL if no optimized routine is available.
*/
- static ColorProc PlatformColorProcs(SkBitmap::Config, SkMask::Format, SkColor);
+ static ColorProc PlatformColorProcs(SkColorType, SkMask::Format, SkColor);
/**
* Public entry-point to return a blitcolor BlitLCD16RowProc.
@@ -78,13 +78,13 @@ public:
* Public entry-point to return a blitmask RowProc.
* May return NULL if config or format are not supported.
*/
- static RowProc RowFactory(SkBitmap::Config, SkMask::Format, RowFlags);
+ static RowProc RowFactory(SkColorType, SkMask::Format, RowFlags);
/**
* Return either platform specific optimized blitmask RowProc,
* or NULL if no optimized routine is available.
*/
- static RowProc PlatformRowProcs(SkBitmap::Config, SkMask::Format, RowFlags);
+ static RowProc PlatformRowProcs(SkColorType, SkMask::Format, RowFlags);
};
#endif

Powered by Google App Engine
This is Rietveld 408576698