aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkSwizzle.cpp
blob: f080b83a87870e5f2a528345b9585c90c74c955f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * 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);
}