Chromium Code Reviews| Index: src/core/SkSwizzle.cpp |
| diff --git a/src/core/SkSwizzle.cpp b/src/core/SkSwizzle.cpp |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6196b96a5384e2c253c454860add1c1953ddbd0d |
| --- /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 SkSwapRB(uint32_t* dest, const uint32_t* src, int count) { |
| + SkOpts::RGBA_to_BGRA(dest, src, count); |
|
mtklein
2016/03/23 17:35:13
I think we usually use a 4 space indent.
tomhudson
2016/03/23 17:38:48
Too much Chromium coding.
Done.
|
| +} |
| + |
| + |