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

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

Issue 257393004: Convert GrCrash->SkFAIL GrDebugCrash->SkDEBUGFAIL (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: whitespace change Created 6 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
OLDNEW
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 #include "GrTextureAccess.h" 8 #include "GrTextureAccess.h"
9 #include "GrColor.h" 9 #include "GrColor.h"
10 #include "GrTexture.h" 10 #include "GrTexture.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 case 'g': 93 case 'g':
94 fSwizzleMask |= kG_GrColorComponentFlag; 94 fSwizzleMask |= kG_GrColorComponentFlag;
95 break; 95 break;
96 case 'b': 96 case 'b':
97 fSwizzleMask |= kB_GrColorComponentFlag; 97 fSwizzleMask |= kB_GrColorComponentFlag;
98 break; 98 break;
99 case 'a': 99 case 'a':
100 fSwizzleMask |= kA_GrColorComponentFlag; 100 fSwizzleMask |= kA_GrColorComponentFlag;
101 break; 101 break;
102 default: 102 default:
103 GrCrash("Unexpected swizzle string character."); 103 SkFAIL("Unexpected swizzle string character.");
104 break; 104 break;
105 } 105 }
106 } 106 }
107 } 107 }
OLDNEW
« include/core/SkTypes.h ('K') | « src/gpu/GrStencil.cpp ('k') | src/gpu/SkGrFontScaler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698