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

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

Issue 2255963002: Batched implementation of drawLattice() for GPU (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Speculative reland 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"
12 13
13 class GrDrawBatch; 14 class GrDrawBatch;
14 class SkBitmap; 15 class SkBitmap;
16 class SkLatticeIter;
15 class SkMatrix; 17 class SkMatrix;
16 struct SkIRect; 18 struct SkIRect;
17 struct SkRect; 19 struct SkRect;
18 20
19 namespace GrNinePatch { 21 namespace GrNinePatch {
20 GrDrawBatch* CreateNonAA(GrColor color, const SkMatrix& viewMatrix, int imageWid th, int imageHeight, 22 GrDrawBatch* CreateNonAA(GrColor color, const SkMatrix& viewMatrix, int imageWid th, int imageHeight,
21 const SkIRect& center, const SkRect& dst); 23 std::unique_ptr<SkLatticeIter> iter, const SkRect& dst) ;
22 }; 24 };
23 25
24 #endif 26 #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