summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/compositor_layer_resource.h
diff options
context:
space:
mode:
authorpenghuang@chromium.org <penghuang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-15 21:30:16 +0000
committerpenghuang@chromium.org <penghuang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-15 21:32:05 +0000
commit1c28b793441e42107265c9e8514572d6fd2c7085 (patch)
tree1e6eff45da50fab026a4a6b1ffd33803cd399ad2 /ppapi/proxy/compositor_layer_resource.h
parentd904aeef98036af5688e6b73990bd7104a5d4e0b (diff)
downloadchromium_src-1c28b793441e42107265c9e8514572d6fd2c7085.zip
chromium_src-1c28b793441e42107265c9e8514572d6fd2c7085.tar.gz
chromium_src-1c28b793441e42107265c9e8514572d6fd2c7085.tar.bz2
[PPAPI] Add target param for CompositorLayer::SetTexture().
BUG=403504 Review URL: https://codereview.chromium.org/475123003 Cr-Commit-Position: refs/heads/master@{#290016} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290016 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/compositor_layer_resource.h')
-rw-r--r--ppapi/proxy/compositor_layer_resource.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ppapi/proxy/compositor_layer_resource.h b/ppapi/proxy/compositor_layer_resource.h
index a31d8fe..09f5d81 100644
--- a/ppapi/proxy/compositor_layer_resource.h
+++ b/ppapi/proxy/compositor_layer_resource.h
@@ -53,8 +53,14 @@ class PPAPI_PROXY_EXPORT CompositorLayerResource
float blue,
float alpha,
const PP_Size* size) OVERRIDE;
+ virtual int32_t SetTexture0_1(
+ PP_Resource context,
+ uint32_t texture,
+ const PP_Size* size,
+ const scoped_refptr<ppapi::TrackedCallback>& callback) OVERRIDE;
virtual int32_t SetTexture(
PP_Resource context,
+ uint32_t target,
uint32_t texture,
const PP_Size* size,
const scoped_refptr<TrackedCallback>& callback) OVERRIDE;