From 748e647a09bf44eb993022f31495efd5b58e7d3d Mon Sep 17 00:00:00 2001 From: "penghuang@chromium.org" Date: Fri, 15 Aug 2014 21:30:16 +0000 Subject: [PPAPI] Add target param for CompositorLayer::SetTexture(). BUG=403504 Review URL: https://codereview.chromium.org/475123003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290016 0039d316-1c4b-4281-b951-d872f2087c98 --- ppapi/cpp/compositor_layer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ppapi/cpp/compositor_layer.h') diff --git a/ppapi/cpp/compositor_layer.h b/ppapi/cpp/compositor_layer.h index f431bd8..9e65e87 100644 --- a/ppapi/cpp/compositor_layer.h +++ b/ppapi/cpp/compositor_layer.h @@ -70,6 +70,7 @@ class CompositorLayer : public Resource { /// /// param[in] context A Graphics3D corresponding to a graphics 3d /// resource which owns the GL texture. + /// param[in] target GL texture target (GL_TEXTURE_2D, etc). /// param[in] texture A GL texture object id. /// param[in] size A Size for the size of the layer before /// transform. @@ -78,6 +79,7 @@ class CompositorLayer : public Resource { /// /// @return An int32_t containing a result code from pp_errors.h. int32_t SetTexture(const Graphics3D& context, + uint32_t target, uint32_t texture, const Size& size, const CompletionCallback& cc); -- cgit v1.1