1R"(/* 2 * Copyright 2017 Google Inc. 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 9/*************************************************************************************************/ 10/* This file is used from both C++ and SkSL, so we need to stick to syntax compatible with both. */ 11/*************************************************************************************************/ 12 13/** 14 * We have coverage effects that clip rendering to the edge of some geometric primitive. 15 * This enum specifies how that clipping is performed. Not all factories that take a 16 * GrProcessorEdgeType will succeed with all values and it is up to the caller to check for 17 * a NULL return. 18 */ 19enum class GrClipEdgeType { 20 kFillBW, 21 kFillAA, 22 kInverseFillBW, 23 kInverseFillAA, 24 kHairlineAA, 25 26 kLast = kHairlineAA 27}; 28 29enum class PMConversion { 30 kToPremul = 0, 31 kToUnpremul = 1, 32 kPMConversionCnt = 2 33}; 34 35)" 36