| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
| 3 * | 3 * |
| 4 * 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 |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 | 8 |
| 9 | 9 |
| 10 #ifndef GrGLDefines_DEFINED | 10 #ifndef GrGLDefines_DEFINED |
| (...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 397 #define GR_GL_RGB 0x1907 | 397 #define GR_GL_RGB 0x1907 |
| 398 #define GR_GL_RGBA 0x1908 | 398 #define GR_GL_RGBA 0x1908 |
| 399 #define GR_GL_BGRA 0x80E1 | 399 #define GR_GL_BGRA 0x80E1 |
| 400 #define GR_GL_LUMINANCE 0x1909 | 400 #define GR_GL_LUMINANCE 0x1909 |
| 401 #define GR_GL_LUMINANCE_ALPHA 0x190A | 401 #define GR_GL_LUMINANCE_ALPHA 0x190A |
| 402 #define GR_GL_PALETTE8_RGBA8 0x8B96 | 402 #define GR_GL_PALETTE8_RGBA8 0x8B96 |
| 403 #define GR_GL_ALPHA8 0x803C | 403 #define GR_GL_ALPHA8 0x803C |
| 404 | 404 |
| 405 #define GR_GL_R8 0x8229 | 405 #define GR_GL_R8 0x8229 |
| 406 #define GR_GL_R16F 0x822D | 406 #define GR_GL_R16F 0x822D |
| 407 #define GR_GL_RGBA16F 0x881A |
| 407 #define GR_GL_ALPHA16F 0x881C | 408 #define GR_GL_ALPHA16F 0x881C |
| 408 | 409 |
| 409 /* PixelType */ | 410 /* PixelType */ |
| 410 /* GL_UNSIGNED_BYTE */ | 411 /* GL_UNSIGNED_BYTE */ |
| 411 #define GR_GL_UNSIGNED_SHORT_4_4_4_4 0x8033 | 412 #define GR_GL_UNSIGNED_SHORT_4_4_4_4 0x8033 |
| 412 #define GR_GL_UNSIGNED_SHORT_5_5_5_1 0x8034 | 413 #define GR_GL_UNSIGNED_SHORT_5_5_5_1 0x8034 |
| 413 #define GR_GL_UNSIGNED_SHORT_5_6_5 0x8363 | 414 #define GR_GL_UNSIGNED_SHORT_5_6_5 0x8363 |
| 414 | 415 |
| 415 /* Shaders */ | 416 /* Shaders */ |
| 416 #define GR_GL_FRAGMENT_SHADER 0x8B30 | 417 #define GR_GL_FRAGMENT_SHADER 0x8B30 |
| (...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 873 // NV_path_rendering extension to EXT_direct_state_access: | 874 // NV_path_rendering extension to EXT_direct_state_access: |
| 874 // [the matrix functions] must support the PATH_PROJECTION_NV and | 875 // [the matrix functions] must support the PATH_PROJECTION_NV and |
| 875 // PATH_MODELVIEW_NV tokens for matrixMode. | 876 // PATH_MODELVIEW_NV tokens for matrixMode. |
| 876 #define GR_GL_PATH_PROJECTION 0x1701 | 877 #define GR_GL_PATH_PROJECTION 0x1701 |
| 877 #define GR_GL_PATH_MODELVIEW 0x1700 | 878 #define GR_GL_PATH_MODELVIEW 0x1700 |
| 878 | 879 |
| 879 /* ARM specific define for MSAA support on framebuffer fetch */ | 880 /* ARM specific define for MSAA support on framebuffer fetch */ |
| 880 #define GR_GL_FETCH_PER_SAMPLE_ARM 0x8F65 | 881 #define GR_GL_FETCH_PER_SAMPLE_ARM 0x8F65 |
| 881 | 882 |
| 882 #endif | 883 #endif |
| OLD | NEW |