blob: c5a9ea4f3e600a6de25759f14af2a07007d41bf3 [file] [log] [blame]
commit-bot@chromium.orgcba73782014-05-29 15:57:47 +00001/*
2 * Copyright 2014 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 */
commit-bot@chromium.orge997c262013-08-28 15:07:58 +00007
rmistry@google.comd6bab022013-12-02 13:50:38 +00008#include "SkColor.h"
9#include "SkColorPriv.h"
commit-bot@chromium.orge997c262013-08-28 15:07:58 +000010#include "SkBlitMask.h"
rmistry@google.comd6bab022013-12-02 13:50:38 +000011#include "SkUtilsArm.h"
12#include "SkBlitMask_opts_arm_neon.h"
commit-bot@chromium.orge997c262013-08-28 15:07:58 +000013
commit-bot@chromium.orge997c262013-08-28 15:07:58 +000014SkBlitMask::BlitLCD16RowProc SkBlitMask::PlatformBlitRowProcs16(bool isOpaque) {
rmistry@google.comd6bab022013-12-02 13:50:38 +000015 if (isOpaque) {
16 return SK_ARM_NEON_WRAP(SkBlitLCD16OpaqueRow);
17 } else {
18 return SK_ARM_NEON_WRAP(SkBlitLCD16Row);
19 }
commit-bot@chromium.orge997c262013-08-28 15:07:58 +000020}
21
commit-bot@chromium.orgcba73782014-05-29 15:57:47 +000022SkBlitMask::RowProc SkBlitMask::PlatformRowProcs(SkColorType dstCT,
commit-bot@chromium.orge997c262013-08-28 15:07:58 +000023 SkMask::Format maskFormat,
24 RowFlags flags) {
halcanary96fcdcc2015-08-27 07:41:13 -070025 return nullptr;
commit-bot@chromium.orge997c262013-08-28 15:07:58 +000026}