| 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" |
| 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 Loading... |
| 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 |
| OLD | NEW |