734351d255
SkOpts is intentionally internal, but we want to give Chrome access to those pieces that would seriously benefit them. GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1822363002 Review URL: https://codereview.chromium.org/1822363002
20 lines
382 B
C
20 lines
382 B
C
/*
|
|
* Copyright 2016 Google Inc.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
#ifndef SkSwizzle_DEFINED
|
|
#define SkSwizzle_DEFINED
|
|
|
|
#include "SkTypes.h"
|
|
|
|
/**
|
|
Swizzles byte order of |count| 32-bit pixels, swapping R and B.
|
|
(RGBA <-> BGRA)
|
|
*/
|
|
void SkSwapRB(uint32_t* dest, const uint32_t* src, int count);
|
|
|
|
#endif
|