Flutter Engine
The Flutter Engine
third_party
skia
src
core
SkBlitRow_opts_hsw.cpp
Go to the documentation of this file.
1
/*
2
* Copyright 2023 Google LLC
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
#include "
include/private/base/SkFeatures.h
"
9
#include "
src/core/SkBlitRow.h
"
10
#include "
src/core/SkOptsTargets.h
"
11
12
#if defined(SK_CPU_X86) && !defined(SK_ENABLE_OPTIMIZE_SIZE)
13
14
// The order of these includes is important:
15
// 1) Select the target CPU architecture by defining SK_OPTS_TARGET and including SkOpts_SetTarget
16
// 2) Include the code to compile, typically in a _opts.h file.
17
// 3) Include SkOpts_RestoreTarget to switch back to the default CPU architecture
18
19
#define SK_OPTS_TARGET SK_OPTS_TARGET_HSW
20
#include "
src/opts/SkOpts_SetTarget.h
"
21
22
#include "
src/opts/SkBlitRow_opts.h
"
23
24
#include "
src/opts/SkOpts_RestoreTarget.h
"
25
26
namespace
SkOpts
{
27
void
Init_BlitRow_hsw
() {
28
blit_row_color32
=
hsw::blit_row_color32
;
29
blit_row_s32a_opaque
=
hsw::blit_row_s32a_opaque
;
30
}
31
}
// namespace SkOpts
32
33
#endif
// SK_CPU_X86 && !SK_ENABLE_OPTIMIZE_SIZE
SkBlitRow.h
SkBlitRow_opts.h
SkFeatures.h
SkOptsTargets.h
SkOpts_RestoreTarget.h
SkOpts_SetTarget.h
SkOpts
Definition:
SkBitmapProcState.h:216
SkOpts::blit_row_s32a_opaque
void(* blit_row_s32a_opaque)(SkPMColor *dst, const SkPMColor *src, int count, U8CPU alpha)
SkOpts::blit_row_color32
void(* blit_row_color32)(SkPMColor *dst, int count, SkPMColor color)
SkOpts::Init_BlitRow_hsw
void Init_BlitRow_hsw()
Generated on Sun Jun 23 2024 21:56:10 for Flutter Engine by
1.9.4