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

Side by Side Diff: include/core/SkSwizzle.h

Issue 1822363002: Publicly expose one accelerated swizzle. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add test, fix bugs from review 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
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 #ifndef SkSwizzle_DEFINED
9 #define SkSwizzle_DEFINED
10
11 #include "SkTypes.h"
12
13 /**
14 Swizzles byte order of |count| 32-bit pixels, swapping R and B.
15 (RGBA <-> BGRA)
16 */
17 void SkSwapRB(uint32_t* dest, const uint32_t* src, int count);
18
19 #endif
OLDNEW
« no previous file with comments | « gyp/core.gypi ('k') | src/core/SkSwizzle.cpp » ('j') | src/core/SkSwizzle.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698