blob: 5a657a3fa89e1ef9c4e78b105ba535271d9955a0 [file] [log] [blame]
joshualitt9ff64252015-08-10 09:03: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
8#ifndef GrAAFillRectBatch_DEFINED
9#define GrAAFillRectBatch_DEFINED
10
joshualitt9ff64252015-08-10 09:03:51 -070011#include "GrColor.h"
joshualitt9ff64252015-08-10 09:03:51 -070012
bsalomonabd30f52015-08-13 13:34:48 -070013class GrDrawBatch;
joshualitt37eb1842015-08-12 06:36:57 -070014class SkMatrix;
15struct SkRect;
joshualitt9ff64252015-08-10 09:03:51 -070016
joshualitt37eb1842015-08-12 06:36:57 -070017namespace GrAAFillRectBatch {
bsalomonabd30f52015-08-13 13:34:48 -070018GrDrawBatch* Create(GrColor color,
19 const SkMatrix& viewMatrix,
20 const SkRect& rect,
21 const SkRect& devRect);
joshualitt147dc062015-08-12 11:51:46 -070022
bsalomonabd30f52015-08-13 13:34:48 -070023GrDrawBatch* Create(GrColor color,
24 const SkMatrix& viewMatrix,
25 const SkMatrix& localMatrix,
26 const SkRect& rect,
27 const SkRect& devRect);
joshualitt9ff64252015-08-10 09:03:51 -070028};
29
30#endif