robertphillips@google.com | f4c2c52 | 2012-04-27 12:08:47 +0000 | [diff] [blame] | 1 | |
| 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 | |
| 12 | bool 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 | |
| 25 | bool 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 | |