| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 virtual void copyTextureToParentTextureCHROMIUM(WebGLId texture, WebGLId par
entTexture) = 0; | 171 virtual void copyTextureToParentTextureCHROMIUM(WebGLId texture, WebGLId par
entTexture) = 0; |
| 172 | 172 |
| 173 // GL_CHROMIUM_request_extension | 173 // GL_CHROMIUM_request_extension |
| 174 virtual WebString getRequestableExtensionsCHROMIUM() = 0; | 174 virtual WebString getRequestableExtensionsCHROMIUM() = 0; |
| 175 virtual void requestExtensionCHROMIUM(const char*) = 0; | 175 virtual void requestExtensionCHROMIUM(const char*) = 0; |
| 176 | 176 |
| 177 // GL_CHROMIUM_framebuffer_multisample | 177 // GL_CHROMIUM_framebuffer_multisample |
| 178 virtual void blitFramebufferCHROMIUM(WGC3Dint srcX0, WGC3Dint srcY0, WGC3Din
t srcX1, WGC3Dint srcY1, WGC3Dint dstX0, WGC3Dint dstY0, WGC3Dint dstX1, WGC3Din
t dstY1, WGC3Dbitfield mask, WGC3Denum filter) = 0; | 178 virtual void blitFramebufferCHROMIUM(WGC3Dint srcX0, WGC3Dint srcY0, WGC3Din
t srcX1, WGC3Dint srcY1, WGC3Dint dstX0, WGC3Dint dstY0, WGC3Dint dstX1, WGC3Din
t dstY1, WGC3Dbitfield mask, WGC3Denum filter) = 0; |
| 179 virtual void renderbufferStorageMultisampleCHROMIUM(WGC3Denum target, WGC3Ds
izei samples, WGC3Denum internalformat, WGC3Dsizei width, WGC3Dsizei height) = 0
; | 179 virtual void renderbufferStorageMultisampleCHROMIUM(WGC3Denum target, WGC3Ds
izei samples, WGC3Denum internalformat, WGC3Dsizei width, WGC3Dsizei height) = 0
; |
| 180 | 180 |
| 181 // GL_CHROMIUM_latch | |
| 182 virtual void getParentToChildLatchCHROMIUM(WGC3Duint* latchId) = 0; | |
| 183 virtual void getChildToParentLatchCHROMIUM(WGC3Duint* latchId) = 0; | |
| 184 virtual void waitLatchCHROMIUM(WGC3Duint latchId) = 0; | |
| 185 virtual void setLatchCHROMIUM(WGC3Duint latchId) = 0; | |
| 186 | |
| 187 // GL_CHROMIUM_swapbuffers_complete_callback | 181 // GL_CHROMIUM_swapbuffers_complete_callback |
| 188 virtual void setSwapBuffersCompleteCallbackCHROMIUM(WebGraphicsSwapBuffersCo
mpleteCallbackCHROMIUM* callback) { } | 182 virtual void setSwapBuffersCompleteCallbackCHROMIUM(WebGraphicsSwapBuffersCo
mpleteCallbackCHROMIUM* callback) { } |
| 189 | 183 |
| 190 // GL_CHROMIUM_rate_limit_offscreen_context | 184 // GL_CHROMIUM_rate_limit_offscreen_context |
| 191 virtual void rateLimitOffscreenContextCHROMIUM() { } | 185 virtual void rateLimitOffscreenContextCHROMIUM() { } |
| 192 | 186 |
| 193 // The entry points below map directly to the OpenGL ES 2.0 API. | 187 // The entry points below map directly to the OpenGL ES 2.0 API. |
| 194 // See: http://www.khronos.org/registry/gles/ | 188 // See: http://www.khronos.org/registry/gles/ |
| 195 // and: http://www.khronos.org/opengles/sdk/docs/man/ | 189 // and: http://www.khronos.org/opengles/sdk/docs/man/ |
| 196 virtual void activeTexture(WGC3Denum texture) = 0; | 190 virtual void activeTexture(WGC3Denum texture) = 0; |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 // | 354 // |
| 361 // This entry point must provide slightly different semantics than | 355 // This entry point must provide slightly different semantics than |
| 362 // the GL_ARB_robustness extension; specifically, the lost context | 356 // the GL_ARB_robustness extension; specifically, the lost context |
| 363 // state is sticky, rather than reported only once. | 357 // state is sticky, rather than reported only once. |
| 364 virtual WGC3Denum getGraphicsResetStatusARB() { return 0; /* GL_NO_ERROR */
} | 358 virtual WGC3Denum getGraphicsResetStatusARB() { return 0; /* GL_NO_ERROR */
} |
| 365 }; | 359 }; |
| 366 | 360 |
| 367 } // namespace WebKit | 361 } // namespace WebKit |
| 368 | 362 |
| 369 #endif | 363 #endif |
| OLD | NEW |