diff options
author | fischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-29 19:25:38 +0000 |
---|---|---|
committer | fischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-29 19:25:38 +0000 |
commit | c8423065a0054dc81e72801dfd60b99483f70b79 (patch) | |
tree | c23140bb47c7edfb80309ffa767ba301167acb8b /webkit/plugins/ppapi/resource_creation_impl.h | |
parent | 94bef5ad7ddd08327f7d80d50a187c86d78fccf7 (diff) | |
download | chromium_src-c8423065a0054dc81e72801dfd60b99483f70b79.zip chromium_src-c8423065a0054dc81e72801dfd60b99483f70b79.tar.gz chromium_src-c8423065a0054dc81e72801dfd60b99483f70b79.tar.bz2 |
PPB_VideoDecoder_Dev::Initialize is now synchronous!
Apparently flash can't deal with async init, so we make it synchronous.
We keep processing in the GPU process asynchronous and just take the blocking
hit on the renderer.
BUG=none
TEST=gles2, ovdatest, trybots
Review URL: http://codereview.chromium.org/7474006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94730 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins/ppapi/resource_creation_impl.h')
-rw-r--r-- | webkit/plugins/ppapi/resource_creation_impl.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/webkit/plugins/ppapi/resource_creation_impl.h b/webkit/plugins/ppapi/resource_creation_impl.h index 5a8e734..3342896 100644 --- a/webkit/plugins/ppapi/resource_creation_impl.h +++ b/webkit/plugins/ppapi/resource_creation_impl.h @@ -100,7 +100,10 @@ class ResourceCreationImpl : public ::ppapi::FunctionGroupBase, const char* proto) OVERRIDE; virtual PP_Resource CreateURLLoader(PP_Instance instance) OVERRIDE; virtual PP_Resource CreateURLRequestInfo(PP_Instance instance) OVERRIDE; - virtual PP_Resource CreateVideoDecoder(PP_Instance instance) OVERRIDE; + virtual PP_Resource CreateVideoDecoder( + PP_Instance instance, + PP_Resource context3d_id, + const PP_VideoConfigElement* config) OVERRIDE; virtual PP_Resource CreateVideoLayer(PP_Instance instance, PP_VideoLayerMode_Dev mode) OVERRIDE; virtual PP_Resource CreateWheelInputEvent( |