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 | 8 |
9 #include "SkGr.h" | 9 #include "SkGr.h" |
10 #include "SkGrPriv.h" | 10 #include "SkGrPriv.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 #include "SkConfig8888.h" | 22 #include "SkConfig8888.h" |
23 #include "SkCanvas.h" | 23 #include "SkCanvas.h" |
24 #include "SkData.h" | 24 #include "SkData.h" |
25 #include "SkErrorInternals.h" | 25 #include "SkErrorInternals.h" |
26 #include "SkGrPixelRef.h" | 26 #include "SkGrPixelRef.h" |
27 #include "SkMessageBus.h" | 27 #include "SkMessageBus.h" |
28 #include "SkMipMap.h" | 28 #include "SkMipMap.h" |
29 #include "SkPixelRef.h" | 29 #include "SkPixelRef.h" |
30 #include "SkResourceCache.h" | 30 #include "SkResourceCache.h" |
31 #include "SkTemplates.h" | 31 #include "SkTemplates.h" |
32 #include "SkTextureCompressor.h" | |
33 #include "SkYUVPlanesCache.h" | 32 #include "SkYUVPlanesCache.h" |
34 #include "effects/GrBicubicEffect.h" | 33 #include "effects/GrBicubicEffect.h" |
35 #include "effects/GrConstColorProcessor.h" | 34 #include "effects/GrConstColorProcessor.h" |
36 #include "effects/GrDitherEffect.h" | 35 #include "effects/GrDitherEffect.h" |
37 #include "effects/GrPorterDuffXferProcessor.h" | 36 #include "effects/GrPorterDuffXferProcessor.h" |
38 #include "effects/GrXfermodeFragmentProcessor.h" | 37 #include "effects/GrXfermodeFragmentProcessor.h" |
39 #include "effects/GrYUVEffect.h" | 38 #include "effects/GrYUVEffect.h" |
40 | 39 |
41 #ifndef SK_IGNORE_ETC1_SUPPORT | 40 #ifndef SK_IGNORE_ETC1_SUPPORT |
42 # include "ktx.h" | 41 # include "ktx.h" |
(...skipping 717 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
760 SkErrorInternals::SetError( kInvalidPaint_SkError, | 759 SkErrorInternals::SetError( kInvalidPaint_SkError, |
761 "Sorry, I don't understand the filtering
" | 760 "Sorry, I don't understand the filtering
" |
762 "mode you asked for. Falling back to " | 761 "mode you asked for. Falling back to " |
763 "MIPMaps."); | 762 "MIPMaps."); |
764 textureFilterMode = GrTextureParams::kMipMap_FilterMode; | 763 textureFilterMode = GrTextureParams::kMipMap_FilterMode; |
765 break; | 764 break; |
766 | 765 |
767 } | 766 } |
768 return textureFilterMode; | 767 return textureFilterMode; |
769 } | 768 } |
OLD | NEW |