| 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 602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 613 kStencil_GrGLBackendState = 1 << 6, | 613 kStencil_GrGLBackendState = 1 << 6, |
| 614 kPixelStore_GrGLBackendState = 1 << 7, | 614 kPixelStore_GrGLBackendState = 1 << 7, |
| 615 kProgram_GrGLBackendState = 1 << 8, | 615 kProgram_GrGLBackendState = 1 << 8, |
| 616 kFixedFunction_GrGLBackendState = 1 << 9, | 616 kFixedFunction_GrGLBackendState = 1 << 9, |
| 617 kMisc_GrGLBackendState = 1 << 10, | 617 kMisc_GrGLBackendState = 1 << 10, |
| 618 kPathRendering_GrGLBackendState = 1 << 11, | 618 kPathRendering_GrGLBackendState = 1 << 11, |
| 619 kALL_GrGLBackendState = 0xffff | 619 kALL_GrGLBackendState = 0xffff |
| 620 }; | 620 }; |
| 621 | 621 |
| 622 /** | 622 /** |
| 623 * The compressed texture formats that are supported |
| 624 */ |
| 625 enum GrCompressedFormat { |
| 626 kUncompressed_GrCompressedFormat = -1, |
| 627 kETC1_GrCompressedFormat = 0, |
| 628 |
| 629 kLast_GrCompressedFormat = kETC1_GrCompressedFormat |
| 630 }; |
| 631 static const size_t kCompressedFormatCount = kLast_GrCompressedFormat + 1; |
| 632 |
| 633 /** |
| 623 * This value translates to reseting all the context state for any backend. | 634 * This value translates to reseting all the context state for any backend. |
| 624 */ | 635 */ |
| 625 static const uint32_t kAll_GrBackendState = 0xffffffff; | 636 static const uint32_t kAll_GrBackendState = 0xffffffff; |
| 626 | 637 |
| 627 /////////////////////////////////////////////////////////////////////////////// | 638 /////////////////////////////////////////////////////////////////////////////// |
| 628 | 639 |
| 629 #endif | 640 #endif |
| OLD | NEW |