Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / native_client_sdk / doc_generated / pepper_dev / cpp / classpp_1_1_compositor_layer.html
index 87bfd33..50ef8b5 100644 (file)
@@ -15,7 +15,7 @@ Inheritance diagram for pp::CompositorLayer:</div>
 <div class="dyncontent">
 <div class="center"><img src="classpp_1_1_compositor_layer__inherit__graph.png" border="0" usemap="#pp_1_1_compositor_layer_inherit__map" alt="Inheritance graph" /></div>
 <map name="pp_1_1_compositor_layer_inherit__map" id="pp_1_1_compositor_layer_inherit__map">
-<area shape="rect" id="node2" href="classpp_1_1_resource.html" title="A reference counted module resource." alt="" coords="31,5,135,35"></area></map>
+<area shape="rect" id="node2" href="classpp_1_1_resource.html" title="A reference counted module resource." alt="" coords="29,5,133,32"></area></map>
 <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
 <p><a href="classpp_1_1_compositor_layer-members.html">List of all members.</a></p>
 <h2>
@@ -27,7 +27,7 @@ Public Member Functions</h2><table class="memberdecls">
 <tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_compositor_layer.html#aa8c5c916890ad4df1bb5a9f602d1be72">CompositorLayer</a> (<a class="el" href="namespacepp.html#a339083c1beec620267bf8b3c55decaa5">PassRef</a>, PP_Resource resource)</td></tr>
 <tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_compositor_layer.html#a612e4be9de4ad166199629c3bee2fca6">~CompositorLayer</a> ()</td></tr>
 <tr><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_compositor_layer.html#a287280d4de4751d6402fbc0a99f66927">SetColor</a> (float red, float green, float blue, float alpha, const <a class="el" href="classpp_1_1_size.html">Size</a> &amp;size)</td></tr>
-<tr><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_compositor_layer.html#a7f85c41e8fc6c16b1227eec0b54fc95f">SetTexture</a> (const <a class="el" href="classpp_1_1_graphics3_d.html">Graphics3D</a> &amp;context, uint32_t texture, const <a class="el" href="classpp_1_1_size.html">Size</a> &amp;size, const <a class="el" href="classpp_1_1_completion_callback.html">CompletionCallback</a> &amp;cc)</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_compositor_layer.html#a758f644c0ce8f5203d2788ca77c99826">SetTexture</a> (const <a class="el" href="classpp_1_1_graphics3_d.html">Graphics3D</a> &amp;context, uint32_t target, uint32_t texture, const <a class="el" href="classpp_1_1_size.html">Size</a> &amp;size, const <a class="el" href="classpp_1_1_completion_callback.html">CompletionCallback</a> &amp;cc)</td></tr>
 <tr><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_compositor_layer.html#a10ed72ce036d1a4c506850139dc4cb8d">SetImage</a> (const <a class="el" href="classpp_1_1_image_data.html">ImageData</a> &amp;image, const <a class="el" href="classpp_1_1_completion_callback.html">CompletionCallback</a> &amp;callback)</td></tr>
 <tr><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_compositor_layer.html#a4f7720cf49b3ae6c67e1d66361ba10ae">SetImage</a> (const <a class="el" href="classpp_1_1_image_data.html">ImageData</a> &amp;image, const <a class="el" href="classpp_1_1_size.html">Size</a> &amp;size, const <a class="el" href="classpp_1_1_completion_callback.html">CompletionCallback</a> &amp;callback)</td></tr>
 <tr><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_compositor_layer.html#ada122da8347b677780971404a32ab3e1">SetClipRect</a> (const <a class="el" href="classpp_1_1_rect.html">Rect</a> &amp;rect)</td></tr>
@@ -389,12 +389,12 @@ Static Public Member Functions</h2><table class="memberdecls">
 <dl class="return"><dt><b>Returns:</b></dt><dd>An int32_t containing a result code from <code>pp_errors.h</code>. </dd></dl>
 </div>
 </div>
-<a class="anchor" id="a7f85c41e8fc6c16b1227eec0b54fc95f"></a><!-- doxytag: member="pp::CompositorLayer::SetTexture" ref="a7f85c41e8fc6c16b1227eec0b54fc95f" args="(const Graphics3D &amp;context, uint32_t texture, const Size &amp;size, const CompletionCallback &amp;cc)" -->
+<a class="anchor" id="a758f644c0ce8f5203d2788ca77c99826"></a><!-- doxytag: member="pp::CompositorLayer::SetTexture" ref="a758f644c0ce8f5203d2788ca77c99826" args="(const Graphics3D &amp;context, uint32_t target, uint32_t texture, const Size &amp;size, const CompletionCallback &amp;cc)" -->
 <div class="memitem">
 <div class="memproto">
 <table class="memname">
 <tr>
-<td class="memname">int32_t <a class="el" href="classpp_1_1_compositor_layer.html#a7f85c41e8fc6c16b1227eec0b54fc95f">pp::CompositorLayer::SetTexture</a> </td>
+<td class="memname">int32_t <a class="el" href="classpp_1_1_compositor_layer.html#a758f644c0ce8f5203d2788ca77c99826">pp::CompositorLayer::SetTexture</a> </td>
 <td>(</td>
 <td class="paramtype">const <a class="el" href="classpp_1_1_graphics3_d.html">Graphics3D</a> &amp;&#160;</td>
 <td class="paramname"><em>context</em>, </td>
@@ -403,6 +403,12 @@ Static Public Member Functions</h2><table class="memberdecls">
 <td class="paramkey"></td>
 <td></td>
 <td class="paramtype">uint32_t&#160;</td>
+<td class="paramname"><em>target</em>, </td>
+</tr>
+<tr>
+<td class="paramkey"></td>
+<td></td>
+<td class="paramtype">uint32_t&#160;</td>
 <td class="paramname"><em>texture</em>, </td>
 </tr>
 <tr>
@@ -427,7 +433,7 @@ Static Public Member Functions</h2><table class="memberdecls">
 <div class="memdoc">
 <p>Sets the texture of a texture layer. </p>
 <p>If the layer is uninitialized, it will initialize the layer first, and then set its texture. The source rect will be set to ((0, 0), (1, 1)). If the layer has been initialized to another kind of layer, the layer will not be changed, and <code>PP_ERROR_BADARGUMENT</code> will be returned.</p>
-<p>param[in] context A <code><a class="el" href="classpp_1_1_graphics3_d.html" title="This class represents a 3D rendering context in the browser.">Graphics3D</a></code> corresponding to a graphics 3d resource which owns the GL texture. param[in] texture A GL texture object id. param[in] size A <code><a class="el" href="classpp_1_1_size.html" title="A size of an object based on width and height.">Size</a></code> for the size of the layer before transform. param[in] cc A <code><a class="el" href="classpp_1_1_completion_callback.html" title="This API enables you to implement and receive callbacks when Pepper operations complete asynchronousl...">CompletionCallback</a></code> to be called when the texture is released by Chromium compositor.</p>
+<p>param[in] context A <code><a class="el" href="classpp_1_1_graphics3_d.html" title="This class represents a 3D rendering context in the browser.">Graphics3D</a></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><a class="el" href="classpp_1_1_size.html" title="A size of an object based on width and height.">Size</a></code> for the size of the layer before transform. param[in] cc A <code><a class="el" href="classpp_1_1_completion_callback.html" title="This API enables you to implement and receive callbacks when Pepper operations complete asynchronousl...">CompletionCallback</a></code> to be called when the texture is released by Chromium compositor.</p>
 <dl class="return"><dt><b>Returns:</b></dt><dd>An int32_t containing a result code from <code>pp_errors.h</code>. </dd></dl>
 </div>
 </div>