Index: src/core/SkOpts.h |
diff --git a/src/core/SkOpts.h b/src/core/SkOpts.h |
index 85e38fe13969b43de2d378e22685747e25efa83d..a622c1acdcd33ef6b320bcc1794198e154629f60 100644 |
--- a/src/core/SkOpts.h |
+++ b/src/core/SkOpts.h |
@@ -58,10 +58,11 @@ namespace SkOpts { |
extern SkMatrix::MapPtsProc matrix_translate, matrix_scale_translate, matrix_affine; |
- 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 |
+ // Swizzle input into some sort of 8888 pixel, {premul,unpremul} x {rgba,bgra}. |
+ typedef void (*Swizzle_8888)(uint32_t*, const void*, int); |
+ extern Swizzle_8888 RGBA_to_BGRA, // i.e. just swap RB |
+ RGBA_to_rgbA, // i.e. just premultiply |
+ RGBA_to_bgrA; // i.e. swap RB and premultiply |
} |
#endif//SkOpts_DEFINED |