libgpac
Documentation of the core library of GPAC
|
Data Structures | |
struct | GradientStack |
Macros | |
#define | GRAD_TEXTURE_SIZE 128 |
#define | GRAD_TEXTURE_HSIZE 64 |
Enumerations | |
enum | { GF_SR_TEXTURE_GRAD_REGISTERED = 1<<6 , GF_SR_TEXTURE_GRAD_NO_RGB = 1<<7 } |
Functions | |
void | GradientGetMatrix (GF_Node *transform, GF_Matrix2D *mat) |
static void | DestroyGradient (GF_Node *node, void *rs, Bool is_destroy) |
static void | UpdateLinearGradient (GF_TextureHandler *txh) |
static void | LG_ComputeMatrix (GF_TextureHandler *txh, GF_Rect *bounds, GF_Matrix2D *mat, Bool for_3d) |
static void | BuildLinearGradientTexture (GF_TextureHandler *txh) |
void | compositor_init_linear_gradient (GF_Compositor *compositor, GF_Node *node) |
static void | BuildRadialGradientTexture (GF_TextureHandler *txh) |
static void | UpdateRadialGradient (GF_TextureHandler *txh) |
static void | RG_ComputeMatrix (GF_TextureHandler *txh, GF_Rect *bounds, GF_Matrix2D *mat, Bool for_3d) |
void | compositor_init_radial_gradient (GF_Compositor *compositor, GF_Node *node) |
GF_TextureHandler * | compositor_mpeg4_get_gradient_texture (GF_Node *node) |
void | compositor_gradient_update (GF_TextureHandler *txh) |
struct GradientStack |
#define GRAD_TEXTURE_SIZE 128 |
#define GRAD_TEXTURE_HSIZE 64 |
void GradientGetMatrix | ( | GF_Node * | transform, |
GF_Matrix2D * | mat | ||
) |
|
static |
|
static |
|
static |
void compositor_init_linear_gradient | ( | GF_Compositor * | compositor, |
GF_Node * | node | ||
) |
!! Gradients are textures but are not registered as textures with the compositor in order to avoid updating too many textures each frame - gradients are only registered with the compositor when they are used in OpenGL, in order to release associated HW resource when no longer used
|
static |
|
static |
|
static |
void compositor_init_radial_gradient | ( | GF_Compositor * | compositor, |
GF_Node * | node | ||
) |
!! Gradients are textures but are not registered as textures with the compositor in order to avoid updating too many textures each frame - gradients are only registered with the compositor when they are used in OpenGL, in order to release associated HW resource when no longer used
GF_TextureHandler* compositor_mpeg4_get_gradient_texture | ( | GF_Node * | node | ) |
void compositor_gradient_update | ( | GF_TextureHandler * | txh | ) |