OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2010 Google Inc. | 3 * Copyright 2010 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 | 10 |
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
610 // View state stands for scissor and viewport | 610 // View state stands for scissor and viewport |
611 kView_GrGLBackendState = 1 << 2, | 611 kView_GrGLBackendState = 1 << 2, |
612 kBlend_GrGLBackendState = 1 << 3, | 612 kBlend_GrGLBackendState = 1 << 3, |
613 kAA_GrGLBackendState = 1 << 4, | 613 kAA_GrGLBackendState = 1 << 4, |
614 kVertex_GrGLBackendState = 1 << 5, | 614 kVertex_GrGLBackendState = 1 << 5, |
615 kStencil_GrGLBackendState = 1 << 6, | 615 kStencil_GrGLBackendState = 1 << 6, |
616 kPixelStore_GrGLBackendState = 1 << 7, | 616 kPixelStore_GrGLBackendState = 1 << 7, |
617 kProgram_GrGLBackendState = 1 << 8, | 617 kProgram_GrGLBackendState = 1 << 8, |
618 kFixedFunction_GrGLBackendState = 1 << 9, | 618 kFixedFunction_GrGLBackendState = 1 << 9, |
619 kMisc_GrGLBackendState = 1 << 10, | 619 kMisc_GrGLBackendState = 1 << 10, |
| 620 kPathRendering_GrGLBackendState = 1 << 11, |
620 kALL_GrGLBackendState = 0xffff | 621 kALL_GrGLBackendState = 0xffff |
621 }; | 622 }; |
622 | 623 |
623 /** | 624 /** |
624 * This value translates to reseting all the context state for any backend. | 625 * This value translates to reseting all the context state for any backend. |
625 */ | 626 */ |
626 static const uint32_t kAll_GrBackendState = 0xffffffff; | 627 static const uint32_t kAll_GrBackendState = 0xffffffff; |
627 | 628 |
628 /////////////////////////////////////////////////////////////////////////////// | 629 /////////////////////////////////////////////////////////////////////////////// |
629 | 630 |
630 #endif | 631 #endif |
OLD | NEW |