1 /* 2 * Copyright 2021 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 FillPathFlags_DEFINED 9 #define FillPathFlags_DEFINED 10 11 #include "include/gpu/GrTypes.h" 12 13 namespace skgpu::v1 { 14 15 // We send these flags to the internal path filling Ops to control how a path gets rendered. 16 enum class FillPathFlags { 17 kNone = 0, 18 kStencilOnly = (1 << 0), 19 kWireframe = (1 << 1) 20 }; 21 22 GR_MAKE_BITFIELD_CLASS_OPS(FillPathFlags) 23 24 } // namespace skgpu::v1 25 26 #endif // FillPathFlags_DEFINED 27