xref: /third_party/skia/src/gpu/effects/GrOvalEffect.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/skia/src/gpu/effects/
1cb93a386Sopenharmony_ci/*
2cb93a386Sopenharmony_ci * Copyright 2014 Google Inc.
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 GrOvalEffect_DEFINED
9cb93a386Sopenharmony_ci#define GrOvalEffect_DEFINED
10cb93a386Sopenharmony_ci
11cb93a386Sopenharmony_ci#include "include/core/SkRefCnt.h"
12cb93a386Sopenharmony_ci#include "include/gpu/GrTypes.h"
13cb93a386Sopenharmony_ci#include "include/private/GrTypesPriv.h"
14cb93a386Sopenharmony_ci#include "src/gpu/GrFragmentProcessor.h"
15cb93a386Sopenharmony_ci
16cb93a386Sopenharmony_ciclass GrShaderCaps;
17cb93a386Sopenharmony_cistruct SkRect;
18cb93a386Sopenharmony_ci
19cb93a386Sopenharmony_cinamespace GrOvalEffect {
20cb93a386Sopenharmony_ci
21cb93a386Sopenharmony_ci/**
22cb93a386Sopenharmony_ci * Creates an effect that performs clipping against an oval.
23cb93a386Sopenharmony_ci */
24cb93a386Sopenharmony_ciGrFPResult Make(std::unique_ptr<GrFragmentProcessor>, GrClipEdgeType, const SkRect&,
25cb93a386Sopenharmony_ci                const GrShaderCaps&);
26cb93a386Sopenharmony_ci}  // namespace GrOvalEffect
27cb93a386Sopenharmony_ci
28cb93a386Sopenharmony_ci#endif
29

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