| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 virtual void unmapTexSubImage2DCHROMIUM(const void*) = 0; | 188 virtual void unmapTexSubImage2DCHROMIUM(const void*) = 0; |
| 189 | 189 |
| 190 // GL_CHROMIUM_request_extension | 190 // GL_CHROMIUM_request_extension |
| 191 virtual WebString getRequestableExtensionsCHROMIUM() = 0; | 191 virtual WebString getRequestableExtensionsCHROMIUM() = 0; |
| 192 virtual void requestExtensionCHROMIUM(const char*) = 0; | 192 virtual void requestExtensionCHROMIUM(const char*) = 0; |
| 193 | 193 |
| 194 // GL_CHROMIUM_framebuffer_multisample | 194 // GL_CHROMIUM_framebuffer_multisample |
| 195 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; | 195 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; |
| 196 virtual void renderbufferStorageMultisampleCHROMIUM(WGC3Denum target, WGC3Ds
izei samples, WGC3Denum internalformat, WGC3Dsizei width, WGC3Dsizei height) = 0
; | 196 virtual void renderbufferStorageMultisampleCHROMIUM(WGC3Denum target, WGC3Ds
izei samples, WGC3Denum internalformat, WGC3Dsizei width, WGC3Dsizei height) = 0
; |
| 197 | 197 |
| 198 // GL_CHROMIUM_rate_limit_offscreen_context | |
| 199 virtual void rateLimitOffscreenContextCHROMIUM() { } | |
| 200 | |
| 201 // GL_CHROMIUM_lose_context | 198 // GL_CHROMIUM_lose_context |
| 202 virtual void loseContextCHROMIUM(WGC3Denum current, WGC3Denum other) { } | 199 virtual void loseContextCHROMIUM(WGC3Denum current, WGC3Denum other) { } |
| 203 | 200 |
| 204 // The entry points below map directly to the OpenGL ES 2.0 API. | 201 // The entry points below map directly to the OpenGL ES 2.0 API. |
| 205 // See: http://www.khronos.org/registry/gles/ | 202 // See: http://www.khronos.org/registry/gles/ |
| 206 // and: http://www.khronos.org/opengles/sdk/docs/man/ | 203 // and: http://www.khronos.org/opengles/sdk/docs/man/ |
| 207 virtual void activeTexture(WGC3Denum texture) = 0; | 204 virtual void activeTexture(WGC3Denum texture) = 0; |
| 208 virtual void attachShader(WebGLId program, WebGLId shader) = 0; | 205 virtual void attachShader(WebGLId program, WebGLId shader) = 0; |
| 209 virtual void bindAttribLocation(WebGLId program, WGC3Duint index, const WGC3
Dchar* name) = 0; | 206 virtual void bindAttribLocation(WebGLId program, WGC3Duint index, const WGC3
Dchar* name) = 0; |
| 210 virtual void bindBuffer(WGC3Denum target, WebGLId buffer) = 0; | 207 virtual void bindBuffer(WGC3Denum target, WebGLId buffer) = 0; |
| (...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 563 virtual void vertexAttribI4iv(WGC3Duint index, const WGC3Dint *v) { } | 560 virtual void vertexAttribI4iv(WGC3Duint index, const WGC3Dint *v) { } |
| 564 virtual void vertexAttribI4ui(WGC3Duint index, WGC3Duint x, WGC3Duint y, WGC
3Duint z, WGC3Duint w) { } | 561 virtual void vertexAttribI4ui(WGC3Duint index, WGC3Duint x, WGC3Duint y, WGC
3Duint z, WGC3Duint w) { } |
| 565 virtual void vertexAttribI4uiv(WGC3Duint index, const WGC3Duint *v) { } | 562 virtual void vertexAttribI4uiv(WGC3Duint index, const WGC3Duint *v) { } |
| 566 virtual void vertexAttribIPointer(WGC3Duint index, WGC3Dint size, WGC3Denum
type, WGC3Dsizei stride, WGC3Dintptr pointer) { } | 563 virtual void vertexAttribIPointer(WGC3Duint index, WGC3Dint size, WGC3Denum
type, WGC3Dsizei stride, WGC3Dintptr pointer) { } |
| 567 virtual void waitSync(WGC3Dsync sync, WGC3Dbitfield flags, WGC3Duint64 timeo
ut) { } | 564 virtual void waitSync(WGC3Dsync sync, WGC3Dbitfield flags, WGC3Duint64 timeo
ut) { } |
| 568 }; | 565 }; |
| 569 | 566 |
| 570 } // namespace blink | 567 } // namespace blink |
| 571 | 568 |
| 572 #endif | 569 #endif |
| OLD | NEW |