| 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 26 matching lines...) Expand all Loading... |
| 37 typedef unsigned Platform3DObject; | 37 typedef unsigned Platform3DObject; |
| 38 | 38 |
| 39 // WebGL-specific enums | 39 // WebGL-specific enums |
| 40 const unsigned GC3D_UNPACK_FLIP_Y_WEBGL = 0x9240; | 40 const unsigned GC3D_UNPACK_FLIP_Y_WEBGL = 0x9240; |
| 41 const unsigned GC3D_UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241; | 41 const unsigned GC3D_UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241; |
| 42 const unsigned GC3D_CONTEXT_LOST_WEBGL = 0x9242; | 42 const unsigned GC3D_CONTEXT_LOST_WEBGL = 0x9242; |
| 43 const unsigned GC3D_UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243; | 43 const unsigned GC3D_UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243; |
| 44 const unsigned GC3D_BROWSER_DEFAULT_WEBGL = 0x9244; | 44 const unsigned GC3D_BROWSER_DEFAULT_WEBGL = 0x9244; |
| 45 const unsigned GC3D_MAX_CLIENT_WAIT_TIMEOUT_WEBGL = 0x9247; | 45 const unsigned GC3D_MAX_CLIENT_WAIT_TIMEOUT_WEBGL = 0x9247; |
| 46 | 46 |
| 47 // GL_CHROMIUM_flipy | |
| 48 const unsigned GC3D_UNPACK_FLIP_Y_CHROMIUM = 0x9240; | |
| 49 | |
| 50 // GL_CHROMIUM_copy_texture | |
| 51 const unsigned GC3D_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM = 0x9241; | |
| 52 const unsigned GC3D_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM = 0x9242; | |
| 53 | |
| 54 // GL_AMD_compressed_ATC_texture | 47 // GL_AMD_compressed_ATC_texture |
| 55 const unsigned GC3D_COMPRESSED_ATC_RGB_AMD = 0x8C92; | 48 const unsigned GC3D_COMPRESSED_ATC_RGB_AMD = 0x8C92; |
| 56 const unsigned GC3D_COMPRESSED_ATC_RGBA_EXPLICIT_ALPHA_AMD = 0x8C93; | 49 const unsigned GC3D_COMPRESSED_ATC_RGBA_EXPLICIT_ALPHA_AMD = 0x8C93; |
| 57 const unsigned GC3D_COMPRESSED_ATC_RGBA_INTERPOLATED_ALPHA_AMD = 0x87EE; | 50 const unsigned GC3D_COMPRESSED_ATC_RGBA_INTERPOLATED_ALPHA_AMD = 0x87EE; |
| 58 | 51 |
| 59 // GL_CHROMIUM_gpu_memory_buffer_image | 52 // GL_CHROMIUM_gpu_memory_buffer_image |
| 60 const unsigned GC3D_MAP_CHROMIUM = 0x78F1; | 53 const unsigned GC3D_MAP_CHROMIUM = 0x78F1; |
| 61 const unsigned GC3D_SCANOUT_CHROMIUM = 0x78F2; | 54 const unsigned GC3D_SCANOUT_CHROMIUM = 0x78F2; |
| 62 | 55 |
| 63 namespace blink { | 56 namespace blink { |
| 64 | 57 |
| 65 enum SourceDrawingBuffer { FrontBuffer, BackBuffer }; | 58 enum SourceDrawingBuffer { FrontBuffer, BackBuffer }; |
| 66 | 59 |
| 67 } // namespace blink | 60 } // namespace blink |
| 68 | 61 |
| 69 #endif // GraphicsTypes3D_h | 62 #endif // GraphicsTypes3D_h |
| OLD | NEW |