Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
ReadSwizzle.h
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#ifndef skgpu_graphite_ReadSwizzle_DEFINED
9#define skgpu_graphite_ReadSwizzle_DEFINED
10
11namespace skgpu::graphite {
12/**
13 * Enumerate the few possible read and write swizzle options for smaller storage.
14*/
15enum class ReadSwizzle {
16 kRGBA, // Default
17 kRGB1,
18 kRRR1,
19 kBGRA,
20 k000R,
21};
22
23} // namespace skgpu::graphite
24
25#endif // skgpu_graphite_ReadSwizzle_DEFINED