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

Side by Side Diff: src/gpu/GrSWMaskHelper.h

Issue 947443003: Move clip off of draw target (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: feedback inc Created 5 years, 9 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/GrPipelineBuilder.cpp ('k') | src/gpu/GrSoftwarePathRenderer.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 2012 Google Inc. 2 * Copyright 2012 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 GrSWMaskHelper_DEFINED 8 #ifndef GrSWMaskHelper_DEFINED
9 #define GrSWMaskHelper_DEFINED 9 #define GrSWMaskHelper_DEFINED
10 10
11 #include "GrColor.h" 11 #include "GrColor.h"
12 #include "GrPipelineBuilder.h" 12 #include "GrPipelineBuilder.h"
13 #include "SkBitmap.h" 13 #include "SkBitmap.h"
14 #include "SkDraw.h" 14 #include "SkDraw.h"
15 #include "SkMatrix.h" 15 #include "SkMatrix.h"
16 #include "SkRasterClip.h" 16 #include "SkRasterClip.h"
17 #include "SkRegion.h" 17 #include "SkRegion.h"
18 #include "SkTextureCompressor.h" 18 #include "SkTextureCompressor.h"
19 #include "SkTypes.h" 19 #include "SkTypes.h"
20 20
21 class GrClip;
21 class GrContext; 22 class GrContext;
22 class GrTexture; 23 class GrTexture;
23 class SkPath; 24 class SkPath;
24 class SkStrokeRec; 25 class SkStrokeRec;
25 class GrDrawTarget; 26 class GrDrawTarget;
26 27
27 /** 28 /**
28 * The GrSWMaskHelper helps generate clip masks using the software rendering 29 * The GrSWMaskHelper helps generate clip masks using the software rendering
29 * path. It is intended to be used as: 30 * path. It is intended to be used as:
30 * 31 *
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 const void *data, size_t rowbytes); 133 const void *data, size_t rowbytes);
133 134
134 // Compresses the bitmap stored in fBM and sends the compressed data 135 // Compresses the bitmap stored in fBM and sends the compressed data
135 // to the GPU to be stored in 'texture' using sendTextureData. 136 // to the GPU to be stored in 'texture' using sendTextureData.
136 void compressTextureData(GrTexture *texture, const GrSurfaceDesc& desc); 137 void compressTextureData(GrTexture *texture, const GrSurfaceDesc& desc);
137 138
138 typedef SkNoncopyable INHERITED; 139 typedef SkNoncopyable INHERITED;
139 }; 140 };
140 141
141 #endif // GrSWMaskHelper_DEFINED 142 #endif // GrSWMaskHelper_DEFINED
OLDNEW
« no previous file with comments | « src/gpu/GrPipelineBuilder.cpp ('k') | src/gpu/GrSoftwarePathRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698