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

Unified Diff: include/core/SkBlitRow.h

Issue 845293002: skia: blend32_16_row for neon version (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 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 | « no previous file | src/core/SkBlitter_RGB16.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkBlitRow.h
diff --git a/include/core/SkBlitRow.h b/include/core/SkBlitRow.h
index 9393589b82b1b1f4c28bd3ebe3af9a01b231e42c..c3206c4b0f8f7969839c5b0ac7f75385b4217770 100644
--- a/include/core/SkBlitRow.h
+++ b/include/core/SkBlitRow.h
@@ -84,6 +84,13 @@ public:
//! Public entry-point to return a blit function ptr
static ColorRectProc ColorRectProcFactory();
+ /** blend a single color into a row of D16 pixels. */
+ typedef void (*Blend32_16_row_Proc)(const SkPMColor* SK_RESTRICT src,
+ uint16_t dst[], int count);
+
+ //! Public entry-point to return a blend32_16_row function ptr
+ static Blend32_16_row_Proc Blend32_16_rowProcFactory();
+
/** These static functions are called by the Factory and Factory32
functions, and should return either NULL, or a
platform-specific function-ptr to be used in place of the
@@ -93,6 +100,7 @@ public:
static Proc32 PlatformProcs32(unsigned flags);
static Proc PlatformProcs565(unsigned flags);
static ColorProc PlatformColorProc();
+ static Blend32_16_row_Proc PlatformBlend32_16_rowProc();
private:
enum {
« no previous file with comments | « no previous file | src/core/SkBlitter_RGB16.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698