blob: 8f85365731853928e06a5fc53e3a645349ae8911 [file] [log] [blame]
commit-bot@chromium.org3eedb802014-03-28 15:58:31 +00001/*
2 * Copyright 2014 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#ifndef GrOvalEffect_DEFINED
9#define GrOvalEffect_DEFINED
10
11#include "GrTypes.h"
12#include "GrTypesPriv.h"
13
joshualitteb2a6762014-12-04 11:35:33 -080014class GrFragmentProcessor;
commit-bot@chromium.org3eedb802014-03-28 15:58:31 +000015struct SkRect;
16
17namespace GrOvalEffect {
18 /**
19 * Creates an effect that performs clipping against an oval.
20 */
joshualittb0a8a372014-09-23 09:50:21 -070021 GrFragmentProcessor* Create(GrPrimitiveEdgeType, const SkRect&);
commit-bot@chromium.org3eedb802014-03-28 15:58:31 +000022};
23
24#endif