Flutter Engine
The Flutter Engine
third_party
skia
src
gpu
SwizzlePriv.h
Go to the documentation of this file.
1
/*
2
* Copyright 2024 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
#ifndef skgpu_SwizzlePriv_DEFINED
9
#define skgpu_SwizzlePriv_DEFINED
10
11
#include "
src/gpu/Swizzle.h
"
12
13
#include <cstdint>
14
15
namespace
skgpu
{
16
17
// This class is friended by Swizzle and allows other functions to trampoline through this
18
// to call the private Swizzle ctor.
19
class
SwizzleCtorAccessor
{
20
public
:
21
static
Swizzle
Make
(uint16_t
key
) {
return
Swizzle
(
key
); }
22
};
23
24
}
// namespace skgpu
25
26
#endif
// skgpu_SwizzlePriv_DEFINED
Swizzle.h
skgpu::SwizzleCtorAccessor
Definition:
SwizzlePriv.h:19
skgpu::SwizzleCtorAccessor::Make
static Swizzle Make(uint16_t key)
Definition:
SwizzlePriv.h:21
skgpu::Swizzle
Definition:
Swizzle.h:27
key
int key
Definition:
keyboard_key_handler_unittests.cc:114
skgpu
Definition:
GpuTools.h:21
Generated on Sun Jun 23 2024 21:56:28 for Flutter Engine by
1.9.4