summaryrefslogtreecommitdiffstats
path: root/ppapi/cpp/compositor_layer.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:30:16 +0000
commit748e647a09bf44eb993022f31495efd5b58e7d3d (patch)
tree1e6eff45da50fab026a4a6b1ffd33803cd399ad2 /ppapi/cpp/compositor_layer.h
parent032ed0d7869d3ad0569a2024eaa4946864cc7f9d (diff)
downloadchromium_src-748e647a09bf44eb993022f31495efd5b58e7d3d.zip
chromium_src-748e647a09bf44eb993022f31495efd5b58e7d3d.tar.gz
chromium_src-748e647a09bf44eb993022f31495efd5b58e7d3d.tar.bz2
[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
Diffstat (limited to 'ppapi/cpp/compositor_layer.h')
-rw-r--r--ppapi/cpp/compositor_layer.h2
1 files changed, 2 insertions, 0 deletions
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 <code>Graphics3D</code> 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 <code>Size</code> 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 <code>pp_errors.h</code>.
int32_t SetTexture(const Graphics3D& context,
+ uint32_t target,
uint32_t texture,
const Size& size,
const CompletionCallback& cc);