libgpac
Documentation of the core library of GPAC
|
Data Structures | |
struct | GF_GLProgInstance |
struct | GF_VisualManager |
Macros | |
#define | GF_GL_NUM_OF_FLAGS 6 |
#define | GF_GL_NB_FRAG_SHADERS (1<<(GF_GL_NUM_OF_FLAGS-1) ) |
#define | GF_GL_NB_VERT_SHADERS (1<<(GF_GL_NUM_OF_FLAGS-2) ) |
#define | GF_SHADERID u32 |
Enumerations | |
enum | { GF_GL_HAS_TEXTURE = 1 , GF_GL_HAS_LIGHT = (1<<1) , GF_GL_HAS_COLOR = (1<<2) , GF_GL_HAS_CLIP = (1<<3) , GF_GL_IS_YUV = (1<<4) , GF_GL_IS_ExternalOES = (1<<5) } |
enum | { GF_3D_CAMERA_STRAIGHT = 0 , GF_3D_CAMERA_OFFAXIS , GF_3D_CAMERA_LINEAR , GF_3D_CAMERA_CIRCULAR } |
Functions | |
GF_VisualManager * | visual_new (GF_Compositor *compositor) |
void | visual_del (GF_VisualManager *visual) |
Bool | visual_draw_frame (GF_VisualManager *visual, GF_Node *root, GF_TraverseState *tr_state, Bool is_root_visual) |
Bool | visual_execute_event (GF_VisualManager *visual, GF_TraverseState *tr_state, GF_Event *ev, GF_ChildNodeItem *children) |
Bool | visual_get_size_info (GF_TraverseState *tr_state, Fixed *surf_width, Fixed *surf_height) |
void | visual_clean_contexts (GF_VisualManager *visual) |
void | visual_reset_graphics (GF_VisualManager *visual) |
GF_GLProgInstance * | visual_3d_check_program_exists (GF_VisualManager *root_visual, u32 flags, u32 pix_fmt) |
struct GF_GLProgInstance |
Data Fields | ||
---|---|---|
GF_SHADERID | vertex | |
GF_SHADERID | fragment | |
GF_SHADERID | prog | |
u32 | flags | |
u32 | pix_fmt |
#define GF_GL_NUM_OF_FLAGS 6 |
#define GF_GL_NB_FRAG_SHADERS (1<<(GF_GL_NUM_OF_FLAGS-1) ) |
#define GF_GL_NB_VERT_SHADERS (1<<(GF_GL_NUM_OF_FLAGS-2) ) |
#define GF_SHADERID u32 |
anonymous enum |
anonymous enum |
GF_VisualManager* visual_new | ( | GF_Compositor * | compositor | ) |
void visual_del | ( | GF_VisualManager * | visual | ) |
Bool visual_draw_frame | ( | GF_VisualManager * | visual, |
GF_Node * | root, | ||
GF_TraverseState * | tr_state, | ||
Bool | is_root_visual | ||
) |
Bool visual_execute_event | ( | GF_VisualManager * | visual, |
GF_TraverseState * | tr_state, | ||
GF_Event * | ev, | ||
GF_ChildNodeItem * | children | ||
) |
void visual_clean_contexts | ( | GF_VisualManager * | visual | ) |
void visual_reset_graphics | ( | GF_VisualManager * | visual | ) |
GF_GLProgInstance* visual_3d_check_program_exists | ( | GF_VisualManager * | root_visual, |
u32 | flags, | ||
u32 | pix_fmt | ||
) |