blob: 3fc1e3480c60704d5272a483dc338a30c7511fee [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
joshualitt37eb1842015-08-12 06:36:57 -070013class GrBatch;
14class SkMatrix;
15struct SkRect;
joshualitt9ff64252015-08-10 09:03:51 -070016
joshualitt37eb1842015-08-12 06:36:57 -070017namespace GrAAFillRectBatch {
joshualitt37eb1842015-08-12 06:36:57 -070018GrBatch* Create(GrColor color,
19 const SkMatrix& viewMatrix,
20 const SkRect& rect,
21 const SkRect& devRect);
joshualitt147dc062015-08-12 11:51:46 -070022
23GrBatch* 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