Index: src/core/SkSwizzle.cpp |
diff --git a/src/core/SkSwizzle.cpp b/src/core/SkSwizzle.cpp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b266a5697d8275e610936b35cc288ab55e91b847 |
--- /dev/null |
+++ b/src/core/SkSwizzle.cpp |
@@ -0,0 +1,16 @@ |
+/* |
+ * Copyright 2016 Google Inc. |
+ * |
+ * Use of this source code is governed by a BSD-style license that can be |
+ * found in the LICENSE file. |
+ */ |
+ |
+#include "SkSwizzle.h" |
+ |
+#include "SkOpts.h" |
+ |
+void SkSwizzleRGBAToBGRA(uint32_t* src, void* dest, int count) { |
+ SkOpts::RGBA_to_BGRA(src, dest, count); |
mtklein
2016/03/23 17:02:34
This has src and dest swapped.
tomhudson
2016/03/23 17:25:50
Done.
|
+} |
+ |
+ |