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

Unified Diff: src/core/SkBlitMask.h

Issue 1148793007: change SkDraw and all Blitters to use pixmap instead of bitmap (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 6 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
« no previous file with comments | « src/core/SkBlitBWMaskTemplate.h ('k') | src/core/SkBlitMask_D32.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkBlitMask.h
diff --git a/src/core/SkBlitMask.h b/src/core/SkBlitMask.h
index 32db43c3d8cc45be3a7804bcdc2131ff0a1d6464..3fc306f8c84ef00227f780a2c134b043ca2759ee 100644
--- a/src/core/SkBlitMask.h
+++ b/src/core/SkBlitMask.h
@@ -8,9 +8,9 @@
#ifndef SkBlitMask_DEFINED
#define SkBlitMask_DEFINED
-#include "SkBitmap.h"
#include "SkColor.h"
#include "SkMask.h"
+#include "SkPixmap.h"
class SkBlitMask {
public:
@@ -18,7 +18,7 @@ public:
* Returns true if the device config and mask format were supported.
* else return false (nothing was drawn)
*/
- static bool BlitColor(const SkBitmap& device, const SkMask& mask,
+ static bool BlitColor(const SkPixmap& device, const SkMask& mask,
const SkIRect& clip, SkColor color);
/**
« no previous file with comments | « src/core/SkBlitBWMaskTemplate.h ('k') | src/core/SkBlitMask_D32.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698