Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Side by Side Diff: src/gpu/batches/GrNinePatch.h

Issue 2255683004: Revert of Batched implementation of drawLattice() for GPU (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/gpu/SkGpuDevice.cpp ('k') | src/gpu/batches/GrNinePatch.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2015 Google Inc. 2 * Copyright 2015 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef GrNinePatch_DEFINED 8 #ifndef GrNinePatch_DEFINED
9 #define GrNinePatch_DEFINED 9 #define GrNinePatch_DEFINED
10 10
11 #include "GrColor.h" 11 #include "GrColor.h"
12 #include "SkCanvas.h"
13 12
14 class GrDrawBatch; 13 class GrDrawBatch;
15 class SkBitmap; 14 class SkBitmap;
16 class SkLatticeIter;
17 class SkMatrix; 15 class SkMatrix;
18 struct SkIRect; 16 struct SkIRect;
19 struct SkRect; 17 struct SkRect;
20 18
21 namespace GrNinePatch { 19 namespace GrNinePatch {
22 GrDrawBatch* CreateNonAA(GrColor color, const SkMatrix& viewMatrix, int imageWid th, int imageHeight, 20 GrDrawBatch* CreateNonAA(GrColor color, const SkMatrix& viewMatrix, int imageWid th, int imageHeight,
23 std::unique_ptr<SkLatticeIter> iter, const SkRect& dst) ; 21 const SkIRect& center, const SkRect& dst);
24 }; 22 };
25 23
26 #endif 24 #endif
OLDNEW
« no previous file with comments | « src/gpu/SkGpuDevice.cpp ('k') | src/gpu/batches/GrNinePatch.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698