michael@0: michael@0: /* michael@0: * Copyright 2012 Google Inc. michael@0: * michael@0: * Use of this source code is governed by a BSD-style license that can be michael@0: * found in the LICENSE file. michael@0: */ michael@0: michael@0: #include "GrPathRenderer.h" michael@0: michael@0: michael@0: class GrAAConvexPathRenderer : public GrPathRenderer { michael@0: public: michael@0: GrAAConvexPathRenderer(); michael@0: michael@0: virtual bool canDrawPath(const SkPath& path, michael@0: const SkStrokeRec& stroke, michael@0: const GrDrawTarget* target, michael@0: bool antiAlias) const SK_OVERRIDE; michael@0: michael@0: protected: michael@0: virtual bool onDrawPath(const SkPath& path, michael@0: const SkStrokeRec& stroke, michael@0: GrDrawTarget* target, michael@0: bool antiAlias) SK_OVERRIDE; michael@0: };