| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2010 Google Inc. | 2 * Copyright 2010 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 SkGr_DEFINED | 8 #ifndef SkGr_DEFINED |
| 9 #define SkGr_DEFINED | 9 #define SkGr_DEFINED |
| 10 | 10 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 return SkImageInfo2GrPixelConfig(info.colorType(), info.alphaType(), info.co
lorSpace(), caps); | 79 return SkImageInfo2GrPixelConfig(info.colorType(), info.alphaType(), info.co
lorSpace(), caps); |
| 80 } | 80 } |
| 81 | 81 |
| 82 GrTextureParams::FilterMode GrSkFilterQualityToGrFilterMode(SkFilterQuality pain
tFilterQuality, | 82 GrTextureParams::FilterMode GrSkFilterQualityToGrFilterMode(SkFilterQuality pain
tFilterQuality, |
| 83 const SkMatrix& view
M, | 83 const SkMatrix& view
M, |
| 84 const SkMatrix& loca
lM, | 84 const SkMatrix& loca
lM, |
| 85 bool* doBicubic); | 85 bool* doBicubic); |
| 86 | 86 |
| 87 //////////////////////////////////////////////////////////////////////////////// | 87 //////////////////////////////////////////////////////////////////////////////// |
| 88 | 88 |
| 89 SkImageInfo GrMakeInfoFromTexture(GrTexture* tex, int w, int h, bool isOpaque); | 89 SkImageInfo GrMakeInfoFromTexture(GrTexture* tex, int w, int h, bool isOpaque, |
| 90 sk_sp<SkColorSpace> colorSpace = nullptr); |
| 90 | 91 |
| 91 #endif | 92 #endif |
| OLD | NEW |