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

Side by Side Diff: src/gpu/GrStencil.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 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #include "GrStencil.h" 10 #include "GrStencil.h"
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 settings[1] = gUserToClipRDiffPass1; 382 settings[1] = gUserToClipRDiffPass1;
383 settings[1].fFuncMasks[kFront_Face] |= stencilClipMask; 383 settings[1].fFuncMasks[kFront_Face] |= stencilClipMask;
384 settings[1].fFuncRefs[kFront_Face] |= stencilClipMask; 384 settings[1].fFuncRefs[kFront_Face] |= stencilClipMask;
385 settings[1].fFuncMasks[kBack_Face] = 385 settings[1].fFuncMasks[kBack_Face] =
386 settings[1].fFuncMasks[kFront_Face]; 386 settings[1].fFuncMasks[kFront_Face];
387 settings[1].fFuncRefs[kBack_Face] = 387 settings[1].fFuncRefs[kBack_Face] =
388 settings[1].fFuncRefs[kFront_Face]; 388 settings[1].fFuncRefs[kFront_Face];
389 } 389 }
390 break; 390 break;
391 default: 391 default:
392 GrCrash("Unknown set op"); 392 SkFAIL("Unknown set op");
393 } 393 }
394 return false; 394 return false;
395 } 395 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698