Debian Codegraph @

src/gpu/graphite/RecorderOptionsPriv.h

raw
1 /*
2 * Copyright 2025 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_RecorderOptionsPriv_DEFINED
9 #define skgpu_graphite_RecorderOptionsPriv_DEFINED
10
11 #include "src/gpu/graphite/BufferManager.h"
12
13 #include <optional>
14
15 namespace skgpu::graphite {
16
17 /**
18 * Private options that are only meant for testing within Skia's tools.
19 */
20
21 struct RecorderOptionsPriv {
22 // Override the default buffer sizes of the DrawBufferManager using this option.
23 std::optional<DrawBufferManager::Options> fDbmOptions = std::nullopt;
24 };
25
26 } // namespace skgpu::graphite
27
28 #endif // skgpu_graphite_RecorderOptionsPriv_DEFINED