OLD | NEW |
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" | |
12 #include "GrColor.h" | 11 #include "GrColor.h" |
13 #include "GrPipelineBuilder.h" | 12 #include "GrPipelineBuilder.h" |
14 #include "SkBitmap.h" | 13 #include "SkBitmap.h" |
15 #include "SkDraw.h" | 14 #include "SkDraw.h" |
16 #include "SkMatrix.h" | 15 #include "SkMatrix.h" |
17 #include "SkRasterClip.h" | 16 #include "SkRasterClip.h" |
18 #include "SkRegion.h" | 17 #include "SkRegion.h" |
19 #include "SkTextureCompressor.h" | 18 #include "SkTextureCompressor.h" |
20 #include "SkTypes.h" | 19 #include "SkTypes.h" |
21 | 20 |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 const void *data, size_t rowbytes); | 133 const void *data, size_t rowbytes); |
135 | 134 |
136 // Compresses the bitmap stored in fBM and sends the compressed data | 135 // Compresses the bitmap stored in fBM and sends the compressed data |
137 // to the GPU to be stored in 'texture' using sendTextureData. | 136 // to the GPU to be stored in 'texture' using sendTextureData. |
138 void compressTextureData(GrTexture *texture, const GrSurfaceDesc& desc); | 137 void compressTextureData(GrTexture *texture, const GrSurfaceDesc& desc); |
139 | 138 |
140 typedef SkNoncopyable INHERITED; | 139 typedef SkNoncopyable INHERITED; |
141 }; | 140 }; |
142 | 141 |
143 #endif // GrSWMaskHelper_DEFINED | 142 #endif // GrSWMaskHelper_DEFINED |
OLD | NEW |