| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 typedef unsigned Platform3DObject; | 32 typedef unsigned Platform3DObject; |
| 33 | 33 |
| 34 // WebGL-specific enums | 34 // WebGL-specific enums |
| 35 const unsigned GC3D_DEPTH_STENCIL_ATTACHMENT_WEBGL = 0x821A; | 35 const unsigned GC3D_DEPTH_STENCIL_ATTACHMENT_WEBGL = 0x821A; |
| 36 const unsigned GC3D_UNPACK_FLIP_Y_WEBGL = 0x9240; | 36 const unsigned GC3D_UNPACK_FLIP_Y_WEBGL = 0x9240; |
| 37 const unsigned GC3D_UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241; | 37 const unsigned GC3D_UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241; |
| 38 const unsigned GC3D_CONTEXT_LOST_WEBGL = 0x9242; | 38 const unsigned GC3D_CONTEXT_LOST_WEBGL = 0x9242; |
| 39 const unsigned GC3D_UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243; | 39 const unsigned GC3D_UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243; |
| 40 const unsigned GC3D_BROWSER_DEFAULT_WEBGL = 0x9244; | 40 const unsigned GC3D_BROWSER_DEFAULT_WEBGL = 0x9244; |
| 41 | 41 |
| 42 // GL_CHROMIUM_flipy |
| 43 const unsigned GC3D_UNPACK_FLIP_Y_CHROMIUM = 0x9240; |
| 44 |
| 45 // GL_CHROMIUM_copy_texture |
| 46 const unsigned GC3D_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM = 0x9241; |
| 47 const unsigned GC3D_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM = 0x9242; |
| 48 |
| 49 // GL_AMD_compressed_ATC_texture |
| 50 const unsigned GC3D_COMPRESSED_ATC_RGB_AMD = 0x8C92; |
| 51 const unsigned GC3D_COMPRESSED_ATC_RGBA_EXPLICIT_ALPHA_AMD = 0x8C93; |
| 52 const unsigned GC3D_COMPRESSED_ATC_RGBA_INTERPOLATED_ALPHA_AMD = 0x87EE; |
| 53 |
| 42 #endif | 54 #endif |
| OLD | NEW |