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

Unified Diff: src/core/SkLinearBitmapPipeline.h

Issue 1996683003: Srcover for sprite blitters. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Remove srgb default. Created 4 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
« src/core/SkBlitter_Sprite.cpp ('K') | « src/core/SkBlitter_Sprite.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkLinearBitmapPipeline.h
diff --git a/src/core/SkLinearBitmapPipeline.h b/src/core/SkLinearBitmapPipeline.h
index dce537aa6e6aa90f27f52667e468ee27a712a91a..b81632b089927a4730a538950a386e6e3f39cdff 100644
--- a/src/core/SkLinearBitmapPipeline.h
+++ b/src/core/SkLinearBitmapPipeline.h
@@ -22,6 +22,7 @@ class SkEmbeddableLinearPipeline;
// class SkEmbeddableLinearPipeline below manages these requirements.
class SkLinearBitmapPipeline {
public:
+ // Constructor to support producing an SkBlitter.
SkLinearBitmapPipeline(
const SkMatrix& inverse,
SkFilterQuality filterQuality,
@@ -29,6 +30,14 @@ public:
SkColor paintColor,
const SkPixmap& srcPixmap);
+ // Constructor to support producing an SkSpriteBlitter.
+ SkLinearBitmapPipeline(
+ SkPixmap& dstPixmap,
+ const SkPixmap& srcPixmap,
+ SkIPoint leftTop,
+ SkXfermode::Mode xferMode);
+
+ // Constructor to support producing an SkBlitter.
SkLinearBitmapPipeline(
const SkLinearBitmapPipeline& pipeline,
const SkPixmap& srcPixmap,
« src/core/SkBlitter_Sprite.cpp ('K') | « src/core/SkBlitter_Sprite.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698