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

Unified Diff: src/core/SkOpts.h

Issue 1618003002: Use NEON optimizations for RGB -> RGB(FF) or BGR(FF) in SkSwizzler (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 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
Index: src/core/SkOpts.h
diff --git a/src/core/SkOpts.h b/src/core/SkOpts.h
index 85e38fe13969b43de2d378e22685747e25efa83d..3c342363ad82ca0fe50fae7ba1ae00a180738cd0 100644
--- a/src/core/SkOpts.h
+++ b/src/core/SkOpts.h
@@ -61,7 +61,9 @@ namespace SkOpts {
typedef void (*Swizzle_8888_8888)(uint32_t[], const uint32_t[], int);
extern Swizzle_8888_8888 premul_xxxa, // BGRA -> bgrA or RGBA -> rgbA
swaprb_xxxa, // BGRA -> RGBA or RGBA -> BGRA
- premul_swaprb_xxxa; // BGRA -> rgbA or RGBA -> bgrA
+ premul_swaprb_xxxa, // BGRA -> rgbA or RGBA -> bgrA
+ xxx_xxxa, // BGR -> RGBA or RGB -> RGBA
+ xxx_swaprb_xxxa; // BGR -> RGBA or RGB -> BGRA
}
#endif//SkOpts_DEFINED

Powered by Google App Engine
This is Rietveld 408576698