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

Side by Side Diff: src/core/SkSwizzle.cpp

Issue 1822363002: Publicly expose one accelerated swizzle. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 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 unified diff | Download patch
« include/core/SkSwizzle.h ('K') | « include/core/SkSwizzle.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright 2016 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8 #include "SkSwizzle.h"
9
10 #include "SkOpts.h"
11
12 void SkSwizzleRGBAToBGRA(uint32_t* src, void* dest, int count) {
13 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.
14 }
15
16
OLDNEW
« include/core/SkSwizzle.h ('K') | « include/core/SkSwizzle.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698