| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 812 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 823 initializeExtensions(); | 823 initializeExtensions(); |
| 824 String mappedName = mapExtensionName(name); | 824 String mappedName = mapExtensionName(name); |
| 825 return m_enabledExtensions.contains(mappedName); | 825 return m_enabledExtensions.contains(mappedName); |
| 826 } | 826 } |
| 827 | 827 |
| 828 DELEGATE_TO_IMPL_4R(mapBufferSubDataCHROMIUM, GC3Denum, GC3Dsizeiptr, GC3Dsizei,
GC3Denum, void*) | 828 DELEGATE_TO_IMPL_4R(mapBufferSubDataCHROMIUM, GC3Denum, GC3Dsizeiptr, GC3Dsizei,
GC3Denum, void*) |
| 829 DELEGATE_TO_IMPL_1(unmapBufferSubDataCHROMIUM, const void*) | 829 DELEGATE_TO_IMPL_1(unmapBufferSubDataCHROMIUM, const void*) |
| 830 DELEGATE_TO_IMPL_9R(mapTexSubImage2DCHROMIUM, GC3Denum, GC3Dint, GC3Dint, GC3Din
t, GC3Dsizei, GC3Dsizei, GC3Denum, GC3Denum, GC3Denum, void*) | 830 DELEGATE_TO_IMPL_9R(mapTexSubImage2DCHROMIUM, GC3Denum, GC3Dint, GC3Dint, GC3Din
t, GC3Dsizei, GC3Dsizei, GC3Denum, GC3Denum, GC3Denum, void*) |
| 831 DELEGATE_TO_IMPL_1(unmapTexSubImage2DCHROMIUM, const void*) | 831 DELEGATE_TO_IMPL_1(unmapTexSubImage2DCHROMIUM, const void*) |
| 832 | 832 |
| 833 void GraphicsContext3DInternal::copyTextureToParentTextureCHROMIUM(Platform3DObj
ect texture, Platform3DObject parentTexture) | |
| 834 { | |
| 835 m_impl->setParentContext(m_webViewImpl->graphicsContext3D()); | |
| 836 m_impl->copyTextureToParentTextureCHROMIUM(texture, parentTexture); | |
| 837 } | |
| 838 | |
| 839 DELEGATE_TO_IMPL_10(blitFramebufferCHROMIUM, GC3Dint, GC3Dint, GC3Dint, GC3Dint,
GC3Dint, GC3Dint, GC3Dint, GC3Dint, GC3Dbitfield, GC3Denum) | 833 DELEGATE_TO_IMPL_10(blitFramebufferCHROMIUM, GC3Dint, GC3Dint, GC3Dint, GC3Dint,
GC3Dint, GC3Dint, GC3Dint, GC3Dint, GC3Dbitfield, GC3Denum) |
| 840 DELEGATE_TO_IMPL_5(renderbufferStorageMultisampleCHROMIUM, GC3Denum, GC3Dsizei,
GC3Denum, GC3Dsizei, GC3Dsizei) | 834 DELEGATE_TO_IMPL_5(renderbufferStorageMultisampleCHROMIUM, GC3Denum, GC3Dsizei,
GC3Denum, GC3Dsizei, GC3Dsizei) |
| 841 | 835 |
| 842 DELEGATE_TO_IMPL(rateLimitOffscreenContextCHROMIUM) | 836 DELEGATE_TO_IMPL(rateLimitOffscreenContextCHROMIUM) |
| 843 DELEGATE_TO_IMPL_R(getGraphicsResetStatusARB, GC3Denum) | 837 DELEGATE_TO_IMPL_R(getGraphicsResetStatusARB, GC3Denum) |
| 844 | 838 |
| 845 //---------------------------------------------------------------------- | 839 //---------------------------------------------------------------------- |
| 846 // GraphicsContext3D | 840 // GraphicsContext3D |
| 847 // | 841 // |
| 848 | 842 |
| (...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1253 | 1247 |
| 1254 void GraphicsContext3DInternal::setSwapBuffersCompleteCallbackCHROMIUM(PassOwnPt
r<Extensions3DChromium::SwapBuffersCompleteCallbackCHROMIUM> cb) | 1248 void GraphicsContext3DInternal::setSwapBuffersCompleteCallbackCHROMIUM(PassOwnPt
r<Extensions3DChromium::SwapBuffersCompleteCallbackCHROMIUM> cb) |
| 1255 { | 1249 { |
| 1256 m_swapBuffersCompleteCallbackAdapter = SwapBuffersCompleteCallbackAdapter::c
reate(cb); | 1250 m_swapBuffersCompleteCallbackAdapter = SwapBuffersCompleteCallbackAdapter::c
reate(cb); |
| 1257 m_impl->setSwapBuffersCompleteCallbackCHROMIUM(m_swapBuffersCompleteCallback
Adapter.get()); | 1251 m_impl->setSwapBuffersCompleteCallbackCHROMIUM(m_swapBuffersCompleteCallback
Adapter.get()); |
| 1258 } | 1252 } |
| 1259 | 1253 |
| 1260 } // namespace WebCore | 1254 } // namespace WebCore |
| 1261 | 1255 |
| 1262 #endif // ENABLE(WEBGL) | 1256 #endif // ENABLE(WEBGL) |
| OLD | NEW |