Make CoglTexture2D public as experimental API
This exposes a CoglTexture2D typedef and adds the following experimental API: cogl_is_texture_2d cogl_texture_2d_new_with_size cogl_texture_2d_new_from_data cogl_texture_2d_new_from_foreign Since this is experimental API you need to define COGL_ENABLE_EXPERIMENTAL_API before including cogl.h. Note: With these new entrypoints we now expect a CoglContext pointer to be passed in, instead of assuming there is a default context. The aim is that for Cogl 2.0 we won't have a default context so this is a step in that direction.
This commit is contained in:
@ -225,6 +225,16 @@ cogl_texture_set_region
|
||||
COGL_TEXTURE_MAX_WASTE
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>cogl-texture-2d</FILE>
|
||||
<TITLE>2D textures</TITLE>
|
||||
CoglTexture2D
|
||||
cogl_is_texture_2d
|
||||
cogl_texture_2d_new_with_size
|
||||
cogl_texture_2d_new_from_data
|
||||
cogl_texture_2d_new_from_foreign
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>cogl-texture-3d</FILE>
|
||||
<TITLE>3D textures</TITLE>
|
||||
|
Reference in New Issue
Block a user