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 863 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
874 initializeExtensions(); | 874 initializeExtensions(); |
875 String mappedName = mapExtensionName(name); | 875 String mappedName = mapExtensionName(name); |
876 return m_enabledExtensions.contains(mappedName); | 876 return m_enabledExtensions.contains(mappedName); |
877 } | 877 } |
878 | 878 |
879 DELEGATE_TO_IMPL_4R(mapBufferSubDataCHROMIUM, GC3Denum, GC3Dsizeiptr, GC3Dsizei,
GC3Denum, void*) | 879 DELEGATE_TO_IMPL_4R(mapBufferSubDataCHROMIUM, GC3Denum, GC3Dsizeiptr, GC3Dsizei,
GC3Denum, void*) |
880 DELEGATE_TO_IMPL_1(unmapBufferSubDataCHROMIUM, const void*) | 880 DELEGATE_TO_IMPL_1(unmapBufferSubDataCHROMIUM, const void*) |
881 DELEGATE_TO_IMPL_9R(mapTexSubImage2DCHROMIUM, GC3Denum, GC3Dint, GC3Dint, GC3Din
t, GC3Dsizei, GC3Dsizei, GC3Denum, GC3Denum, GC3Denum, void*) | 881 DELEGATE_TO_IMPL_9R(mapTexSubImage2DCHROMIUM, GC3Denum, GC3Dint, GC3Dint, GC3Din
t, GC3Dsizei, GC3Dsizei, GC3Denum, GC3Denum, GC3Denum, void*) |
882 DELEGATE_TO_IMPL_1(unmapTexSubImage2DCHROMIUM, const void*) | 882 DELEGATE_TO_IMPL_1(unmapTexSubImage2DCHROMIUM, const void*) |
883 | 883 |
| 884 DELEGATE_TO_IMPL_1(setVisibilityCHROMIUM, bool); |
| 885 |
884 DELEGATE_TO_IMPL_10(blitFramebufferCHROMIUM, GC3Dint, GC3Dint, GC3Dint, GC3Dint,
GC3Dint, GC3Dint, GC3Dint, GC3Dint, GC3Dbitfield, GC3Denum) | 886 DELEGATE_TO_IMPL_10(blitFramebufferCHROMIUM, GC3Dint, GC3Dint, GC3Dint, GC3Dint,
GC3Dint, GC3Dint, GC3Dint, GC3Dint, GC3Dbitfield, GC3Denum) |
885 DELEGATE_TO_IMPL_5(renderbufferStorageMultisampleCHROMIUM, GC3Denum, GC3Dsizei,
GC3Denum, GC3Dsizei, GC3Dsizei) | 887 DELEGATE_TO_IMPL_5(renderbufferStorageMultisampleCHROMIUM, GC3Denum, GC3Dsizei,
GC3Denum, GC3Dsizei, GC3Dsizei) |
886 | 888 |
887 DELEGATE_TO_IMPL(rateLimitOffscreenContextCHROMIUM) | 889 DELEGATE_TO_IMPL(rateLimitOffscreenContextCHROMIUM) |
888 DELEGATE_TO_IMPL_R(getGraphicsResetStatusARB, GC3Denum) | 890 DELEGATE_TO_IMPL_R(getGraphicsResetStatusARB, GC3Denum) |
889 | 891 |
890 //---------------------------------------------------------------------- | 892 //---------------------------------------------------------------------- |
891 // GraphicsContext3D | 893 // GraphicsContext3D |
892 // | 894 // |
893 | 895 |
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1296 | 1298 |
1297 void GraphicsContext3DPrivate::setSwapBuffersCompleteCallbackCHROMIUM(PassOwnPtr
<Extensions3DChromium::SwapBuffersCompleteCallbackCHROMIUM> cb) | 1299 void GraphicsContext3DPrivate::setSwapBuffersCompleteCallbackCHROMIUM(PassOwnPtr
<Extensions3DChromium::SwapBuffersCompleteCallbackCHROMIUM> cb) |
1298 { | 1300 { |
1299 m_swapBuffersCompleteCallbackAdapter = SwapBuffersCompleteCallbackAdapter::c
reate(cb); | 1301 m_swapBuffersCompleteCallbackAdapter = SwapBuffersCompleteCallbackAdapter::c
reate(cb); |
1300 m_impl->setSwapBuffersCompleteCallbackCHROMIUM(m_swapBuffersCompleteCallback
Adapter.get()); | 1302 m_impl->setSwapBuffersCompleteCallbackCHROMIUM(m_swapBuffersCompleteCallback
Adapter.get()); |
1301 } | 1303 } |
1302 | 1304 |
1303 } // namespace WebCore | 1305 } // namespace WebCore |
1304 | 1306 |
1305 #endif // ENABLE(WEBGL) | 1307 #endif // ENABLE(WEBGL) |
OLD | NEW |