mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
texture-2d: Add _new_from_file api
This adds a cogl_texture_2d_new_from_file() api since we are planning to remove cogl_texture_new_from_file() but don't want to loose the convenience it had. Reviewed-by: Neil Roberts <neil@linux.intel.com> (cherry picked from commit 10e91aa513123ed277a8d45976f8d75445d7dc9c)
This commit is contained in:

committed by
Neil Roberts

parent
fc5d1a8a68
commit
aa92110f83
@ -417,6 +417,7 @@ COGL_TEXTURE_MAX_WASTE
|
||||
<TITLE>2D textures</TITLE>
|
||||
CoglTexture2D
|
||||
cogl_texture_2d_new_with_size
|
||||
cogl_texture_2d_new_from_file
|
||||
cogl_texture_2d_new_from_bitmap
|
||||
cogl_texture_2d_new_from_data
|
||||
cogl_texture_2d_new_from_foreign
|
||||
|
Reference in New Issue
Block a user