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

Unified Diff: src/core/SkColorShader.h

Issue 1793883002: add blitprocs to shaders (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 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/SkBlitter_PM4f.cpp ('k') | src/core/SkShader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkColorShader.h
diff --git a/src/core/SkColorShader.h b/src/core/SkColorShader.h
index 7f817b54bea2097c79e606371fd1348e37152984..cc3ec45e08465de7657dd98988aecc249dc26b77 100644
--- a/src/core/SkColorShader.h
+++ b/src/core/SkColorShader.h
@@ -35,6 +35,9 @@ public:
void shadeSpanAlpha(int x, int y, uint8_t alpha[], int count) override;
void shadeSpan4f(int x, int y, SkPM4f[], int count) override;
+ protected:
+ BlitProc onChooseBlitProc(const SkImageInfo&, BlitState*) override;
+
private:
SkPM4f fPM4f;
SkPMColor fPMColor;
« no previous file with comments | « src/core/SkBlitter_PM4f.cpp ('k') | src/core/SkShader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698