xref: /third_party/skia/include/private/SkSLProgramKind.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/skia/include/private/
1cb93a386Sopenharmony_ci/*
2cb93a386Sopenharmony_ci * Copyright 2021 Google LLC.
3cb93a386Sopenharmony_ci *
4cb93a386Sopenharmony_ci * Use of this source code is governed by a BSD-style license that can be
5cb93a386Sopenharmony_ci * found in the LICENSE file.
6cb93a386Sopenharmony_ci */
7cb93a386Sopenharmony_ci
8cb93a386Sopenharmony_ci#ifndef SkSLProgramKind_DEFINED
9cb93a386Sopenharmony_ci#define SkSLProgramKind_DEFINED
10cb93a386Sopenharmony_ci
11cb93a386Sopenharmony_ci#include <cinttypes>
12cb93a386Sopenharmony_ci
13cb93a386Sopenharmony_cinamespace SkSL {
14cb93a386Sopenharmony_ci
15cb93a386Sopenharmony_ci/**
16cb93a386Sopenharmony_ci * SkSL supports several different program kinds.
17cb93a386Sopenharmony_ci */
18cb93a386Sopenharmony_cienum class ProgramKind : int8_t {
19cb93a386Sopenharmony_ci    kFragment,
20cb93a386Sopenharmony_ci    kVertex,
21cb93a386Sopenharmony_ci    kRuntimeColorFilter,  // Runtime effect only suitable as SkColorFilter
22cb93a386Sopenharmony_ci    kRuntimeShader,       //   "       "     "      "     "  SkShader
23cb93a386Sopenharmony_ci    kRuntimeBlender,      //   "       "     "      "     "  SkBlender
24cb93a386Sopenharmony_ci    kGeneric,
25cb93a386Sopenharmony_ci};
26cb93a386Sopenharmony_ci
27cb93a386Sopenharmony_ci} // namespace SkSL
28cb93a386Sopenharmony_ci
29cb93a386Sopenharmony_ci#endif
30

Indexes created Thu Nov 07 10:32:03 CST 2024