OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
4 * | 3 * |
5 * 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 |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
8 | 7 |
9 | 8 |
10 #ifndef GrStencil_DEFINED | 9 #ifndef GrStencil_DEFINED |
11 #define GrStencil_DEFINED | 10 #define GrStencil_DEFINED |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 *GR_CONST_STENCIL_SETTINGS_PTR_FROM_STRUCT_PTR(&(NAME ## _STRUCT)); | 393 *GR_CONST_STENCIL_SETTINGS_PTR_FROM_STRUCT_PTR(&(NAME ## _STRUCT)); |
395 | 394 |
396 | 395 |
397 #define GR_STATIC_CONST_SAME_STENCIL(NAME, \ | 396 #define GR_STATIC_CONST_SAME_STENCIL(NAME, \ |
398 PASS_OP, FAIL_OP, FUNC, MASK, REF, WRITE_MASK) \ | 397 PASS_OP, FAIL_OP, FUNC, MASK, REF, WRITE_MASK) \ |
399 GR_STATIC_CONST_STENCIL(NAME, (PASS_OP), (PASS_OP), (FAIL_OP), \ | 398 GR_STATIC_CONST_STENCIL(NAME, (PASS_OP), (PASS_OP), (FAIL_OP), \ |
400 (FAIL_OP), (FUNC), (FUNC), (MASK), (MASK), (REF), (REF), (WRITE_MASK), \ | 399 (FAIL_OP), (FUNC), (FUNC), (MASK), (MASK), (REF), (REF), (WRITE_MASK), \ |
401 (WRITE_MASK)) | 400 (WRITE_MASK)) |
402 | 401 |
403 #endif | 402 #endif |
OLD | NEW |