blob: c591ac5bae70532d1c11d0ff341e902ea02acbfc [file] [log] [blame]
robertphillips@google.comf4c2c522012-04-27 12:08:47 +00001
2/*
3 * Copyright 2012 Google Inc.
4 *
5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file.
7 */
8
9#include "GrSoftwarePathRenderer.h"
10
11
12bool GrSoftwarePathRenderer::canDrawPath(const SkPath& path,
13 GrPathFill fill,
14 const GrDrawTarget* target,
15 bool antiAlias) const {
16 if (!antiAlias) {
17 // TODO: the SW renderer can also handle non-AA paths
18 return false;
19 }
20
21 // TODO: set to true when filled out
22 return false;
23}
24
25bool GrSoftwarePathRenderer::onDrawPath(const SkPath& path,
26 GrPathFill fill,
27 const GrVec* translate,
28 GrDrawTarget* target,
29 GrDrawState::StageMask stageMask,
30 bool antiAlias) {
31
32 // TODO: move onDrawPath routine (& its helpers) here from GrContext.cpp
33 return false;
34}
35