GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
|
#include "visual_manager.h"
#include "nodes_stacks.h"
#include <gpac/options.h>
#include "gl_inc.h"
#include "texturing.h"
Macros | |
#define | ROUND_FIX(_v) |
#define | CEILING(_v) |
Functions | |
static void | c2d_gl_fill_no_alpha (void *cbk, u32 x, u32 y, u32 run_h_len, GF_Color color) |
static void | c2d_gl_fill_alpha (void *cbk, u32 x, u32 y, u32 run_h_len, GF_Color color, u8 alpha) |
static void | c2d_gl_fill_rect (void *cbk, u32 x, u32 y, u32 width, u32 height, GF_Color color) |
Bool | c2d_gl_draw_bitmap (GF_VisualManager *visual, GF_TraverseState *tr_state, DrawableContext *ctx, GF_ColorKey *col_key) |
GF_Err | compositor_2d_get_video_access (GF_VisualManager *visual) |
void | compositor_2d_release_video_access (GF_VisualManager *visual) |
static void | log_blit_times (GF_TextureHandler *txh, u32 push_time) |
Bool | compositor_texture_rectangles (GF_VisualManager *visual, GF_TextureHandler *txh, GF_IRect *clip, GF_Rect *unclip, GF_Window *src, GF_Window *dst, Bool *disable_blit, Bool *has_scale) |
static Bool | compositor_2d_draw_bitmap_ex (GF_VisualManager *visual, GF_TextureHandler *txh, DrawableContext *ctx, GF_IRect *clip, GF_Rect *unclip, u8 alpha, GF_ColorKey *col_key, GF_TraverseState *tr_state, Bool force_soft_blt) |
Bool | compositor_2d_draw_bitmap (GF_VisualManager *visual, GF_TraverseState *tr_state, DrawableContext *ctx, GF_ColorKey *col_key) |
GF_Err | compositor_2d_set_aspect_ratio (GF_Compositor *compositor) |
void | compositor_send_resize_event (GF_Compositor *compositor, GF_SceneGraph *subscene, Fixed old_z, Fixed old_tx, Fixed old_ty, Bool is_resize) |
void | compositor_2d_set_user_transform (GF_Compositor *compositor, Fixed zoom, Fixed tx, Fixed ty, Bool is_resize) |
GF_Rect | compositor_2d_update_clipper (GF_TraverseState *tr_state, GF_Rect this_clip, Bool *need_restore, GF_Rect *original, Bool for_layer) |
Bool | visual_2d_overlaps_overlay (GF_VisualManager *visual, DrawableContext *ctx, GF_TraverseState *tr_state) |
void | visual_2d_flush_overlay_areas (GF_VisualManager *visual, GF_TraverseState *tr_state) |
void | visual_2d_draw_overlays (GF_VisualManager *visual) |
void | compositor_2d_init_callbacks (GF_Compositor *compositor) |
#define ROUND_FIX | ( | _v | ) |
#define CEILING | ( | _v | ) |
|
static |
|
static |
Bool c2d_gl_draw_bitmap | ( | GF_VisualManager * | visual, |
GF_TraverseState * | tr_state, | ||
DrawableContext * | ctx, | ||
GF_ColorKey * | col_key | ||
) |
GF_Err compositor_2d_get_video_access | ( | GF_VisualManager * | visual | ) |
void compositor_2d_release_video_access | ( | GF_VisualManager * | visual | ) |
|
static |
Bool compositor_texture_rectangles | ( | GF_VisualManager * | visual, |
GF_TextureHandler * | txh, | ||
GF_IRect * | clip, | ||
GF_Rect * | unclip, | ||
GF_Window * | src, | ||
GF_Window * | dst, | ||
Bool * | disable_blit, | ||
Bool * | has_scale | ||
) |
|
static |
Bool compositor_2d_draw_bitmap | ( | GF_VisualManager * | visual, |
GF_TraverseState * | tr_state, | ||
DrawableContext * | ctx, | ||
GF_ColorKey * | col_key | ||
) |
GF_Err compositor_2d_set_aspect_ratio | ( | GF_Compositor * | compositor | ) |
void compositor_send_resize_event | ( | GF_Compositor * | compositor, |
GF_SceneGraph * | subscene, | ||
Fixed | old_z, | ||
Fixed | old_tx, | ||
Fixed | old_ty, | ||
Bool | is_resize | ||
) |
void compositor_2d_set_user_transform | ( | GF_Compositor * | compositor, |
Fixed | zoom, | ||
Fixed | tx, | ||
Fixed | ty, | ||
Bool | is_resize | ||
) |
GF_Rect compositor_2d_update_clipper | ( | GF_TraverseState * | tr_state, |
GF_Rect | this_clip, | ||
Bool * | need_restore, | ||
GF_Rect * | original, | ||
Bool | for_layer | ||
) |
Bool visual_2d_overlaps_overlay | ( | GF_VisualManager * | visual, |
DrawableContext * | ctx, | ||
GF_TraverseState * | tr_state | ||
) |
void visual_2d_flush_overlay_areas | ( | GF_VisualManager * | visual, |
GF_TraverseState * | tr_state | ||
) |
void visual_2d_draw_overlays | ( | GF_VisualManager * | visual | ) |
void compositor_2d_init_callbacks | ( | GF_Compositor * | compositor | ) |