libgpac
Documentation of the core library of GPAC
texturing.h File Reference
+ Include dependency graph for texturing.h:
+ This graph shows which files directly or indirectly include this file:

Enumerations

enum  { TX_DECAL = 0 , TX_MODULATE , TX_REPLACE , TX_BLEND }
 

Functions

GF_Err gf_sc_texture_allocate (GF_TextureHandler *txh)
 
void gf_sc_texture_release (GF_TextureHandler *txh)
 
GF_Err gf_sc_texture_set_data (GF_TextureHandler *hdl)
 
void gf_sc_texture_reset (GF_TextureHandler *hdl)
 
Bool gf_sc_texture_push_image (GF_TextureHandler *txh, Bool generate_mipmaps, Bool for2d)
 
Bool gf_sc_texture_get_transform (GF_TextureHandler *txh, GF_Node *tx_transform, GF_Matrix *mx, Bool for_picking)
 
GF_EVGStencil * gf_sc_texture_get_stencil (GF_TextureHandler *hdl)
 
void gf_sc_texture_set_stencil (GF_TextureHandler *hdl, GF_EVGStencil *stencil)
 
Bool gf_sc_texture_is_transparent (GF_TextureHandler *txh)
 
void gf_sc_texture_check_pause_on_first_load (GF_TextureHandler *txh, Bool do_freeze)
 
GF_Err gf_sc_texture_configure_conversion (GF_TextureHandler *txh)
 
u32 gf_sc_texture_enable (GF_TextureHandler *txh, GF_Node *tx_transform)
 
u32 gf_sc_texture_enable_ex (GF_TextureHandler *txh, GF_Node *tx_transform, GF_Rect *bounds)
 
void gf_sc_texture_disable (GF_TextureHandler *txh)
 
char * gf_sc_texture_get_data (GF_TextureHandler *txh, u32 *pix_format)
 
Bool gf_sc_texture_needs_reload (GF_TextureHandler *hdl)
 
void gf_sc_copy_to_texture (GF_TextureHandler *txh)
 
GF_Err gf_sc_texture_setup_fbo (GF_TextureHandler *txh)
 
void gf_sc_texture_enable_fbo (GF_TextureHandler *txh, Bool enable)
 
Bool gf_sc_texture_convert (GF_TextureHandler *txh)
 
void gf_sc_copy_to_stencil (GF_TextureHandler *txh)
 
void gf_sc_texture_set_blend_mode (GF_TextureHandler *txh, u32 mode)
 
u32 gf_sc_texture_get_gl_id (GF_TextureHandler *txh)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
TX_DECAL 
TX_MODULATE 
TX_REPLACE 
TX_BLEND 

Function Documentation

◆ gf_sc_texture_allocate()

GF_Err gf_sc_texture_allocate ( GF_TextureHandler txh)
+ Here is the caller graph for this function:

◆ gf_sc_texture_release()

void gf_sc_texture_release ( GF_TextureHandler txh)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_sc_texture_set_data()

GF_Err gf_sc_texture_set_data ( GF_TextureHandler hdl)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_sc_texture_reset()

void gf_sc_texture_reset ( GF_TextureHandler hdl)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_sc_texture_push_image()

Bool gf_sc_texture_push_image ( GF_TextureHandler txh,
Bool  generate_mipmaps,
Bool  for2d 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_sc_texture_get_transform()

Bool gf_sc_texture_get_transform ( GF_TextureHandler txh,
GF_Node tx_transform,
GF_Matrix mx,
Bool  for_picking 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_sc_texture_get_stencil()

GF_EVGStencil* gf_sc_texture_get_stencil ( GF_TextureHandler hdl)
+ Here is the caller graph for this function:

◆ gf_sc_texture_set_stencil()

void gf_sc_texture_set_stencil ( GF_TextureHandler hdl,
GF_EVGStencil *  stencil 
)
+ Here is the caller graph for this function:

◆ gf_sc_texture_is_transparent()

Bool gf_sc_texture_is_transparent ( GF_TextureHandler txh)
+ Here is the caller graph for this function:

◆ gf_sc_texture_check_pause_on_first_load()

void gf_sc_texture_check_pause_on_first_load ( GF_TextureHandler txh,
Bool  do_freeze 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_sc_texture_configure_conversion()

GF_Err gf_sc_texture_configure_conversion ( GF_TextureHandler txh)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_sc_texture_enable()

u32 gf_sc_texture_enable ( GF_TextureHandler txh,
GF_Node tx_transform 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_sc_texture_enable_ex()

u32 gf_sc_texture_enable_ex ( GF_TextureHandler txh,
GF_Node tx_transform,
GF_Rect bounds 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_sc_texture_disable()

void gf_sc_texture_disable ( GF_TextureHandler txh)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_sc_texture_get_data()

char* gf_sc_texture_get_data ( GF_TextureHandler txh,
u32 pix_format 
)
+ Here is the caller graph for this function:

◆ gf_sc_texture_needs_reload()

Bool gf_sc_texture_needs_reload ( GF_TextureHandler hdl)
+ Here is the caller graph for this function:

◆ gf_sc_copy_to_texture()

void gf_sc_copy_to_texture ( GF_TextureHandler txh)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_sc_texture_setup_fbo()

GF_Err gf_sc_texture_setup_fbo ( GF_TextureHandler txh)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_sc_texture_enable_fbo()

void gf_sc_texture_enable_fbo ( GF_TextureHandler txh,
Bool  enable 
)
+ Here is the caller graph for this function:

◆ gf_sc_texture_convert()

Bool gf_sc_texture_convert ( GF_TextureHandler txh)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_sc_copy_to_stencil()

void gf_sc_copy_to_stencil ( GF_TextureHandler txh)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_sc_texture_set_blend_mode()

void gf_sc_texture_set_blend_mode ( GF_TextureHandler txh,
u32  mode 
)
+ Here is the caller graph for this function:

◆ gf_sc_texture_get_gl_id()

u32 gf_sc_texture_get_gl_id ( GF_TextureHandler txh)
+ Here is the caller graph for this function: