cogl-texture: Add a new constructor to turn CoglBuffers into textures

The only goal of using COGL buffers is to use them to create
textures. cogl_texture_new_from_buffer() is the new symbol to create
textures out of buffers.
This commit is contained in:
Damien Lespiau
2010-01-22 15:07:27 +00:00
parent abbb668163
commit b7f049495b
3 changed files with 118 additions and 0 deletions

View File

@ -494,4 +494,7 @@ cogl_pixel_buffer_new
cogl_pixel_buffer_new_for_size
cogl_is_pixel_buffer
<SUBSECTION>
cogl_texture_new_from_buffer
</SECTION>