diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-29 18:53:29 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-29 18:53:29 +0000 |
commit | 08e65c1a5b8187886e3c5d8c37e8b17c19d0b57e (patch) | |
tree | 67fc51a28fb4bc9c8f686d97f5acbff34b479cf3 /webkit/plugins/ppapi/resource_creation_impl.cc | |
parent | 895a8472bdc74bcaa0c32609f68c6570dedba03e (diff) | |
download | chromium_src-08e65c1a5b8187886e3c5d8c37e8b17c19d0b57e.zip chromium_src-08e65c1a5b8187886e3c5d8c37e8b17c19d0b57e.tar.gz chromium_src-08e65c1a5b8187886e3c5d8c37e8b17c19d0b57e.tar.bz2 |
Migrate Graphics2D to new design, as part of the whole Pepper resource redesign.
New design provides higher performance and involves writing much less code. See the pepper implementation doc for detail.
http://www.chromium.org/developers/design-documents/pepper-plugin-implementation
TODO: Inline impl to PepperGraphics2DHost
Original review URL: https://codereview.chromium.org/11053003/
Patch by Victor Hsieh
R = brettw, Cris Neckar
Review URL: https://codereview.chromium.org/11414171
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170225 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins/ppapi/resource_creation_impl.cc')
-rw-r--r-- | webkit/plugins/ppapi/resource_creation_impl.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/webkit/plugins/ppapi/resource_creation_impl.cc b/webkit/plugins/ppapi/resource_creation_impl.cc index e1f883e..96713c8 100644 --- a/webkit/plugins/ppapi/resource_creation_impl.cc +++ b/webkit/plugins/ppapi/resource_creation_impl.cc @@ -18,7 +18,6 @@ #include "webkit/plugins/ppapi/ppb_file_ref_impl.h" #include "webkit/plugins/ppapi/ppb_file_system_impl.h" #include "webkit/plugins/ppapi/ppb_flash_message_loop_impl.h" -#include "webkit/plugins/ppapi/ppb_graphics_2d_impl.h" #include "webkit/plugins/ppapi/ppb_graphics_3d_impl.h" #include "webkit/plugins/ppapi/ppb_host_resolver_private_impl.h" #include "webkit/plugins/ppapi/ppb_image_data_impl.h" @@ -123,13 +122,6 @@ PP_Resource ResourceCreationImpl::CreateFlashMessageLoop(PP_Instance instance) { return PPB_Flash_MessageLoop_Impl::Create(instance); } -PP_Resource ResourceCreationImpl::CreateGraphics2D( - PP_Instance instance, - const PP_Size& size, - PP_Bool is_always_opaque) { - return PPB_Graphics2D_Impl::Create(instance, size, is_always_opaque); -} - PP_Resource ResourceCreationImpl::CreateGraphics3D( PP_Instance instance, PP_Resource share_context, |