GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
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)
 
Bool visual_2d_node_cull (GF_TraverseState *tr_state, GF_Rect *bounds)
 
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 gf_irect_union (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 Bool 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

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

Function Documentation

Bool gf_irect_overlaps ( GF_IRect rc1,
GF_IRect rc2 
)

+ Here is the caller graph for this function:

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 gf_rect_ft ( GF_IRect rc)

+ Here is the caller graph for this function:

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:

void visual_2d_remove_last_context ( GF_VisualManager *  visual)

+ Here is the caller graph for this function:

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:

Bool visual_2d_node_cull ( GF_TraverseState *  tr_state,
GF_Rect bounds 
)

+ Here is the call graph for this function:

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:

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:

Bool gf_irect_inside ( GF_IRect rc1,
GF_IRect rc2 
)

+ Here is the caller graph for this function:

void gf_irect_union ( GF_IRect rc1,
GF_IRect rc2 
)

+ Here is the caller graph for this function:

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:

static u32 gf_irect_relation ( GF_IRect rc1,
GF_IRect rc2 
)
static

+ Here is the caller graph for this function:

void ra_refresh ( GF_RectArray ra)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static Bool 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:

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:

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:

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:

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: