blob: ac4ca23b782776886b8af6791db640c6f84890e7 [file] [log] [blame]
joshualitt9c80b5f2015-08-13 10:05:51 -07001/*
2 * Copyright 2015 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
joshualittbcf33d52015-08-26 08:10:35 -07008#ifndef GrNonAAFillRectBatch_DEFINED
9#define GrNonAAFillRectBatch_DEFINED
joshualitt9c80b5f2015-08-13 10:05:51 -070010
11#include "GrColor.h"
12
bsalomonabd30f52015-08-13 13:34:48 -070013class GrDrawBatch;
joshualitt9c80b5f2015-08-13 10:05:51 -070014class SkMatrix;
15struct SkRect;
16
joshualittbcf33d52015-08-26 08:10:35 -070017namespace GrNonAAFillRectBatch {
bsalomonabd30f52015-08-13 13:34:48 -070018GrDrawBatch* Create(GrColor color,
joshualitt2244c272015-08-21 10:33:15 -070019 const SkMatrix& viewMatrix,
20 const SkRect& rect,
21 const SkRect* localRect,
22 const SkMatrix* localMatrix);
joshualitt9c80b5f2015-08-13 10:05:51 -070023};
24
25#endif