SkSwizzle.cpp 322 B

1234567891011121314
  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. #include "include/core/SkSwizzle.h"
  8. #include "src/core/SkOpts.h"
  9. void SkSwapRB(uint32_t* dest, const uint32_t* src, int count) {
  10. SkOpts::RGBA_to_BGRA(dest, src, count);
  11. }