Constructor

CoglTexture2Dnew_from_egl_image_external

Declaration [src]

CoglTexture2D*
cogl_texture_2d_new_from_egl_image_external (
  CoglContext* ctx,
  int width,
  int height,
  CoglTexture2DEGLImageExternalAlloc alloc,
  gpointer user_data,
  GDestroyNotify destroy,
  GError** error
)

Description

No description available.

Parameters

ctx CoglContext
  No description available.
 The data is owned by the caller of the function.
width int
  No description available.
height int
  No description available.
alloc CoglTexture2DEGLImageExternalAlloc
  No description available.
user_data gpointer
  No description available.
destroy GDestroyNotify
  No description available.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: CoglTexture2D
  No description available.
 The caller of the function takes ownership of the data, and is responsible for freeing it.