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 590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
601 // View state stands for scissor and viewport | 601 // View state stands for scissor and viewport |
602 kView_GrGLBackendState = 1 << 2, | 602 kView_GrGLBackendState = 1 << 2, |
603 kBlend_GrGLBackendState = 1 << 3, | 603 kBlend_GrGLBackendState = 1 << 3, |
604 kAA_GrGLBackendState = 1 << 4, | 604 kAA_GrGLBackendState = 1 << 4, |
605 kVertex_GrGLBackendState = 1 << 5, | 605 kVertex_GrGLBackendState = 1 << 5, |
606 kStencil_GrGLBackendState = 1 << 6, | 606 kStencil_GrGLBackendState = 1 << 6, |
607 kPixelStore_GrGLBackendState = 1 << 7, | 607 kPixelStore_GrGLBackendState = 1 << 7, |
608 kProgram_GrGLBackendState = 1 << 8, | 608 kProgram_GrGLBackendState = 1 << 8, |
609 kFixedFunction_GrGLBackendState = 1 << 9, | 609 kFixedFunction_GrGLBackendState = 1 << 9, |
610 kMisc_GrGLBackendState = 1 << 10, | 610 kMisc_GrGLBackendState = 1 << 10, |
| 611 kPathRendering_GrGLBackendState = 1 << 11, |
611 kALL_GrGLBackendState = 0xffff | 612 kALL_GrGLBackendState = 0xffff |
612 }; | 613 }; |
613 | 614 |
614 /** | 615 /** |
615 * This value translates to reseting all the context state for any backend. | 616 * This value translates to reseting all the context state for any backend. |
616 */ | 617 */ |
617 static const uint32_t kAll_GrBackendState = 0xffffffff; | 618 static const uint32_t kAll_GrBackendState = 0xffffffff; |
618 | 619 |
619 /////////////////////////////////////////////////////////////////////////////// | 620 /////////////////////////////////////////////////////////////////////////////// |
620 | 621 |
621 #endif | 622 #endif |
OLD | NEW |