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

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

Issue 1787883002: Add SkSpecialImage::extractSubset & NewFromPixmap (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Update to ToT Created 4 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/core/SkSpecialImage.cpp ('k') | src/image/SkImage_Gpu.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 "SkAutoPixmapStorage.h"
11 #include "GrColor.h" 12 #include "GrColor.h"
12 #include "GrPipelineBuilder.h" 13 #include "GrPipelineBuilder.h"
13 #include "SkBitmap.h" 14 #include "SkBitmap.h"
14 #include "SkDraw.h" 15 #include "SkDraw.h"
15 #include "SkMatrix.h" 16 #include "SkMatrix.h"
16 #include "SkRasterClip.h" 17 #include "SkRasterClip.h"
17 #include "SkRegion.h" 18 #include "SkRegion.h"
18 #include "SkTextureCompressor.h" 19 #include "SkTextureCompressor.h"
19 #include "SkTypes.h" 20 #include "SkTypes.h"
20 21
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 const void *data, size_t rowbytes); 134 const void *data, size_t rowbytes);
134 135
135 // Compresses the bitmap stored in fBM and sends the compressed data 136 // Compresses the bitmap stored in fBM and sends the compressed data
136 // to the GPU to be stored in 'texture' using sendTextureData. 137 // to the GPU to be stored in 'texture' using sendTextureData.
137 void compressTextureData(GrTexture *texture, const GrSurfaceDesc& desc); 138 void compressTextureData(GrTexture *texture, const GrSurfaceDesc& desc);
138 139
139 typedef SkNoncopyable INHERITED; 140 typedef SkNoncopyable INHERITED;
140 }; 141 };
141 142
142 #endif // GrSWMaskHelper_DEFINED 143 #endif // GrSWMaskHelper_DEFINED
OLDNEW
« no previous file with comments | « src/core/SkSpecialImage.cpp ('k') | src/image/SkImage_Gpu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698