Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Side by Side Diff: Source/WebKit/chromium/src/GraphicsContext3DChromium.cpp

Issue 7671031: Merge 92520 - [chromium] Accelerated canvas breaks when moving canvases or resources between Pages (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/835/
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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)
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/src/Extensions3DChromium.cpp ('k') | Source/WebKit/chromium/src/GraphicsContext3DInternal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698