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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 // EXT_texture_format_BGRA8888 | 268 // EXT_texture_format_BGRA8888 |
269 bool supportsBGRA(); | 269 bool supportsBGRA(); |
270 | 270 |
271 // GL_CHROMIUM_map_sub | 271 // GL_CHROMIUM_map_sub |
272 bool supportsMapSubCHROMIUM(); | 272 bool supportsMapSubCHROMIUM(); |
273 void* mapBufferSubDataCHROMIUM(GC3Denum target, GC3Dsizeiptr offset, GC3Dsiz
ei size, GC3Denum access); | 273 void* mapBufferSubDataCHROMIUM(GC3Denum target, GC3Dsizeiptr offset, GC3Dsiz
ei size, GC3Denum access); |
274 void unmapBufferSubDataCHROMIUM(const void*); | 274 void unmapBufferSubDataCHROMIUM(const void*); |
275 void* mapTexSubImage2DCHROMIUM(GC3Denum target, GC3Dint level, GC3Dint xoffs
et, GC3Dint yoffset, GC3Dsizei width, GC3Dsizei height, GC3Denum format, GC3Denu
m type, GC3Denum access); | 275 void* mapTexSubImage2DCHROMIUM(GC3Denum target, GC3Dint level, GC3Dint xoffs
et, GC3Dint yoffset, GC3Dsizei width, GC3Dsizei height, GC3Denum format, GC3Denu
m type, GC3Denum access); |
276 void unmapTexSubImage2DCHROMIUM(const void*); | 276 void unmapTexSubImage2DCHROMIUM(const void*); |
277 | 277 |
278 // GL_CHROMIUM_copy_texture_to_parent_texture | |
279 bool supportsCopyTextureToParentTextureCHROMIUM(); | |
280 void copyTextureToParentTextureCHROMIUM(Platform3DObject texture, Platform3D
Object parentTexture); | |
281 | |
282 // GL_CHROMIUM_framebuffer_multisample | 278 // GL_CHROMIUM_framebuffer_multisample |
283 void blitFramebufferCHROMIUM(GC3Dint srcX0, GC3Dint srcY0, GC3Dint srcX1, GC
3Dint srcY1, GC3Dint dstX0, GC3Dint dstY0, GC3Dint dstX1, GC3Dint dstY1, GC3Dbit
field mask, GC3Denum filter); | 279 void blitFramebufferCHROMIUM(GC3Dint srcX0, GC3Dint srcY0, GC3Dint srcX1, GC
3Dint srcY1, GC3Dint dstX0, GC3Dint dstY0, GC3Dint dstX1, GC3Dint dstY1, GC3Dbit
field mask, GC3Denum filter); |
284 void renderbufferStorageMultisampleCHROMIUM(GC3Denum target, GC3Dsizei sampl
es, GC3Denum internalformat, GC3Dsizei width, GC3Dsizei height); | 280 void renderbufferStorageMultisampleCHROMIUM(GC3Denum target, GC3Dsizei sampl
es, GC3Denum internalformat, GC3Dsizei width, GC3Dsizei height); |
285 | 281 |
286 // GL_CHROMIUM_swapbuffers_complete_callback | 282 // GL_CHROMIUM_swapbuffers_complete_callback |
287 void setSwapBuffersCompleteCallbackCHROMIUM(PassOwnPtr<Extensions3DChromium:
:SwapBuffersCompleteCallbackCHROMIUM>); | 283 void setSwapBuffersCompleteCallbackCHROMIUM(PassOwnPtr<Extensions3DChromium:
:SwapBuffersCompleteCallbackCHROMIUM>); |
288 | 284 |
289 // GL_CHROMIUM_rate_limit_offscreen_context | 285 // GL_CHROMIUM_rate_limit_offscreen_context |
290 void rateLimitOffscreenContextCHROMIUM(); | 286 void rateLimitOffscreenContextCHROMIUM(); |
291 | 287 |
(...skipping 28 matching lines...) Expand all Loading... |
320 OwnArrayPtr<unsigned char> m_renderOutput; | 316 OwnArrayPtr<unsigned char> m_renderOutput; |
321 size_t m_renderOutputSize; | 317 size_t m_renderOutputSize; |
322 #endif | 318 #endif |
323 | 319 |
324 void initializeExtensions(); | 320 void initializeExtensions(); |
325 }; | 321 }; |
326 | 322 |
327 } // namespace WebCore | 323 } // namespace WebCore |
328 | 324 |
329 #endif // GraphicsContext3D_h | 325 #endif // GraphicsContext3D_h |
OLD | NEW |