mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 19:40:43 -05:00
Add gtk-doc for cogl_texture_multiple_rectangles
This commit is contained in:
parent
778a9f7d67
commit
3f492e6054
@ -385,6 +385,24 @@ void cogl_texture_polygon (CoglHandle handle,
|
|||||||
CoglTextureVertex *vertices,
|
CoglTextureVertex *vertices,
|
||||||
gboolean use_color);
|
gboolean use_color);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* cogl_texture_multiple_rectangles:
|
||||||
|
* @handle: a @CoglHandle.
|
||||||
|
* @verts: an array of vertices
|
||||||
|
* @n_rects: number of rectangles to draw
|
||||||
|
*
|
||||||
|
* Draws a series of rectangles in the same way that
|
||||||
|
* cogl_texture_rectangle() does. In some situations it can give a
|
||||||
|
* significant performance boost to use this function rather than
|
||||||
|
* calling cogl_texture_rectangle() separately for each rectangle.
|
||||||
|
*
|
||||||
|
* @verts should point to an array of #CoglFixed<!-- -->s with
|
||||||
|
* @n_rects * 8 elements. Each group of 8 values corresponds to the
|
||||||
|
* parameters x1, y1, x2, y2, tx1, ty1, tx2 and ty2 and have the same
|
||||||
|
* meaning as in cogl_texture_rectangle().
|
||||||
|
*
|
||||||
|
* Since: 1.0
|
||||||
|
*/
|
||||||
void cogl_texture_multiple_rectangles
|
void cogl_texture_multiple_rectangles
|
||||||
(CoglHandle handle,
|
(CoglHandle handle,
|
||||||
const CoglFixed *verts,
|
const CoglFixed *verts,
|
||||||
|
@ -120,6 +120,7 @@ cogl_texture_set_region
|
|||||||
cogl_texture_ref
|
cogl_texture_ref
|
||||||
cogl_texture_unref
|
cogl_texture_unref
|
||||||
cogl_texture_rectangle
|
cogl_texture_rectangle
|
||||||
|
cogl_texture_multiple_rectangles
|
||||||
cogl_texture_polygon
|
cogl_texture_polygon
|
||||||
</SECTION>
|
</SECTION>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user