OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2010 Google Inc. | 2 * Copyright 2010 Google Inc. |
4 * | 3 * |
5 * 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 |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
8 | 7 |
9 #ifndef SkGr_DEFINED | 8 #ifndef SkGr_DEFINED |
10 #define SkGr_DEFINED | 9 #define SkGr_DEFINED |
11 | 10 |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 | 83 |
85 //////////////////////////////////////////////////////////////////////////////// | 84 //////////////////////////////////////////////////////////////////////////////// |
86 | 85 |
87 SkImageInfo GrMakeInfoFromTexture(GrTexture* tex, int w, int h, bool isOpaque); | 86 SkImageInfo GrMakeInfoFromTexture(GrTexture* tex, int w, int h, bool isOpaque); |
88 | 87 |
89 // Using the dreaded SkGrPixelRef ... | 88 // Using the dreaded SkGrPixelRef ... |
90 SK_API void GrWrapTextureInBitmap(GrTexture* src, int w, int h, bool isOpaque, | 89 SK_API void GrWrapTextureInBitmap(GrTexture* src, int w, int h, bool isOpaque, |
91 SkBitmap* dst); | 90 SkBitmap* dst); |
92 | 91 |
93 #endif | 92 #endif |
OLD | NEW |