OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |