Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Side by Side Diff: src/gpu/SkGr.cpp

Issue 1974943002: Simplify GrSWMaskHelper (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix indent Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/gpu/GrSWMaskHelper.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « src/gpu/GrSWMaskHelper.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698