libgpac
Documentation of the core library of GPAC
visual_manager_2d.c File Reference
#include "visual_manager.h"
#include "nodes_stacks.h"
+ Include dependency graph for visual_manager_2d.c:

Macros

#define ra_clear(ra)   { (ra)->count = 0; }
 
#define ra_is_empty(ra)   (!((ra)->count))
 

Functions

Bool gf_irect_overlaps (GF_IRect *rc1, GF_IRect *rc2)
 
void gf_irect_intersect (GF_IRect *rc1, GF_IRect *rc2)
 
GF_Rect gf_rect_ft (GF_IRect *rc)
 
DrawableContext * visual_2d_get_drawable_context (GF_VisualManager *visual)
 
void visual_2d_remove_last_context (GF_VisualManager *visual)
 
void visual_2d_drawable_delete (GF_VisualManager *visual, struct _drawable *drawable)
 
void visual_2d_setup_projection (GF_VisualManager *visual, GF_TraverseState *tr_state)
 
GF_Err visual_2d_init_draw (GF_VisualManager *visual, GF_TraverseState *tr_state)
 
Bool gf_irect_inside (GF_IRect *rc1, GF_IRect *rc2)
 
void ra_union_rect (GF_RectArray *ra, GF_IRect *rc)
 
static u32 gf_irect_relation (GF_IRect *rc1, GF_IRect *rc2)
 
void ra_refresh (GF_RectArray *ra)
 
static u32 register_context_rect (GF_RectArray *ra, DrawableContext *ctx, u32 ctx_idx, DrawableContext **first_opaque)
 
static void register_dirty_rect (GF_RectArray *ra, GF_IRect *rc)
 
Bool visual_2d_terminate_draw (GF_VisualManager *visual, GF_TraverseState *tr_state)
 
Bool visual_2d_draw_frame (GF_VisualManager *visual, GF_Node *root, GF_TraverseState *tr_state, Bool is_root_visual)
 
void visual_2d_pick_node (GF_VisualManager *visual, GF_TraverseState *tr_state, GF_Event *ev, GF_ChildNodeItem *children)
 

Macro Definition Documentation

◆ ra_clear

#define ra_clear (   ra)    { (ra)->count = 0; }

◆ ra_is_empty

#define ra_is_empty (   ra)    (!((ra)->count))

Function Documentation

◆ gf_irect_overlaps()

Bool gf_irect_overlaps ( GF_IRect rc1,
GF_IRect rc2 
)
+ Here is the caller graph for this function:

◆ gf_irect_intersect()

void gf_irect_intersect ( GF_IRect rc1,
GF_IRect rc2 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_rect_ft()

GF_Rect gf_rect_ft ( GF_IRect rc)
+ Here is the caller graph for this function:

◆ visual_2d_get_drawable_context()

DrawableContext* visual_2d_get_drawable_context ( GF_VisualManager *  visual)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ visual_2d_remove_last_context()

void visual_2d_remove_last_context ( GF_VisualManager *  visual)
+ Here is the caller graph for this function:

◆ visual_2d_drawable_delete()

void visual_2d_drawable_delete ( GF_VisualManager *  visual,
struct _drawable drawable 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ visual_2d_setup_projection()

void visual_2d_setup_projection ( GF_VisualManager *  visual,
GF_TraverseState *  tr_state 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ visual_2d_init_draw()

GF_Err visual_2d_init_draw ( GF_VisualManager *  visual,
GF_TraverseState *  tr_state 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_irect_inside()

Bool gf_irect_inside ( GF_IRect rc1,
GF_IRect rc2 
)
+ Here is the caller graph for this function:

◆ ra_union_rect()

void ra_union_rect ( GF_RectArray ra,
GF_IRect rc 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_irect_relation()

static u32 gf_irect_relation ( GF_IRect rc1,
GF_IRect rc2 
)
static
+ Here is the caller graph for this function:

◆ ra_refresh()

void ra_refresh ( GF_RectArray ra)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ register_context_rect()

static u32 register_context_rect ( GF_RectArray ra,
DrawableContext *  ctx,
u32  ctx_idx,
DrawableContext **  first_opaque 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ register_dirty_rect()

static void register_dirty_rect ( GF_RectArray ra,
GF_IRect rc 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ visual_2d_terminate_draw()

Bool visual_2d_terminate_draw ( GF_VisualManager *  visual,
GF_TraverseState *  tr_state 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ visual_2d_draw_frame()

Bool visual_2d_draw_frame ( GF_VisualManager *  visual,
GF_Node root,
GF_TraverseState *  tr_state,
Bool  is_root_visual 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ visual_2d_pick_node()

void visual_2d_pick_node ( GF_VisualManager *  visual,
GF_TraverseState *  tr_state,
GF_Event ev,
GF_ChildNodeItem children 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function: