| 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 may be supported by the renderer. |
| 624 * Make sure to check for the required capabilities using |
| 625 * GrDrawTargetCaps::compressedTextureSupport |
| 626 */ |
| 627 enum GrCompressedFormat { |
| 628 kETC1_GrCompressedFormat, |
| 629 kETC2_GrCompressedFormat, |
| 630 kDXT1_GrCompressedFormat, |
| 631 |
| 632 kLast_GrCompressedFormat = kDXT1_GrCompressedFormat |
| 633 }; |
| 634 static const int kGrCompressedFormatCount = kLast_GrCompressedFormat + 1; |
| 635 |
| 636 /** |
| 623 * This value translates to reseting all the context state for any backend. | 637 * This value translates to reseting all the context state for any backend. |
| 624 */ | 638 */ |
| 625 static const uint32_t kAll_GrBackendState = 0xffffffff; | 639 static const uint32_t kAll_GrBackendState = 0xffffffff; |
| 626 | 640 |
| 627 /////////////////////////////////////////////////////////////////////////////// | 641 /////////////////////////////////////////////////////////////////////////////// |
| 628 | 642 |
| 629 #endif | 643 #endif |
| OLD | NEW |