libgpac
Documentation of the core library of GPAC
GF_VisualManager Struct Reference

#include <visual_manager.h>

+ Collaboration diagram for GF_VisualManager:

Data Fields

GF_Compositor * compositor
 
Bool direct_flush
 
u32 type_3d
 
GF_List * back_stack
 
GF_List * view_stack
 
u32 width
 
u32 height
 
GF_RectArray to_redraw
 
u32 draw_node_index
 
DrawableContext * context
 
DrawableContext * cur_context
 
struct _drawable_storeprev_nodes
 
struct _drawable_storelast_prev_entry
 
GF_IRect surf_rect
 
GF_IRect top_clipper
 
GF_IRect frame_bounds
 
u32 last_had_back
 
Bool is_attached
 
Bool center_coords
 
Bool has_modif
 
Bool has_overlays
 
Bool has_text_edit
 
GF_Err(* GetSurfaceAccess )(GF_VisualManager *)
 
void(* ReleaseSurfaceAccess )(GF_VisualManager *)
 
void(* ClearSurface )(GF_VisualManager *visual, GF_IRect *rc, u32 BackColor, u32 offscreen_clear)
 
Bool(* DrawBitmap )(GF_VisualManager *visual, GF_TraverseState *tr_state, DrawableContext *ctx)
 
Bool(* CheckAttached )(GF_VisualManager *visual)
 
GF_EVGSurface * raster_surface
 
GF_EVGStencil * raster_brush
 
GF_Nodeoffscreen
 
u32 bounds_tracker_modif_flag
 
u32 num_nodes_prev_frame
 
u32 num_nodes_current_frame
 
struct _video_overlay * overlays
 
GF_List * navigation_stack
 
GF_List * fog_stack
 
Bool gl_setup
 
GF_IRect clipper_2d
 
Bool has_clipper_2d
 
GF_Camera camera
 
GF_List * alpha_nodes_to_draw
 
u32 num_lights
 
u32 max_lights
 
u32 num_clips
 
u32 max_clips
 
GF_RectArray hybgl_drawn
 
u32 nb_objects_on_canvas_since_last_ogl_flush
 
u32 prev_hybgl_canvas_not_empty
 
u32 nb_views
 
u32 current_view
 
u32 autostereo_type
 
u32 camlay
 
GF_SHADERID base_glsl_vertex
 
u32gl_textures
 
u32 auto_stereo_width
 
u32 auto_stereo_height
 
GF_Meshautostereo_mesh
 
GF_SHADERID autostereo_glsl_program
 
GF_SHADERID autostereo_glsl_fragment
 
Bool needs_projection_matrix_reload
 
Bool has_material_2d
 
SFColorRGBA mat_2d
 
Bool has_material
 
SFColorRGBA materials [4]
 
Fixed shininess
 
Bool state_light_on
 
Bool state_blend_on
 
Bool state_color_on
 
GF_ClipInfo clippers [GF_MAX_GL_CLIPS]
 
Bool has_tx_matrix
 
GF_Matrix tx_matrix
 
GF_LightInfo lights [GF_MAX_GL_LIGHTS]
 
Bool has_inactive_lights
 
Bool has_fog
 
u32 fog_type
 
SFColor fog_color
 
Fixed fog_density
 
Fixed fog_visibility
 
GF_SHADERID glsl_program
 
GF_List * compiled_programs
 
u32 bound_tx_pix_fmt
 
u32 active_glsl_flags
 
Fixed depth_vp_position
 GPAC_DISABLE_3D. More...
 
Fixed depth_vp_range
 
u32 yuv_pixelformat_type
 

Field Documentation

◆ compositor

GF_Compositor* GF_VisualManager::compositor

◆ direct_flush

Bool GF_VisualManager::direct_flush

◆ type_3d

u32 GF_VisualManager::type_3d

◆ back_stack

GF_List* GF_VisualManager::back_stack

◆ view_stack

GF_List* GF_VisualManager::view_stack

◆ width

u32 GF_VisualManager::width

◆ height

u32 GF_VisualManager::height

◆ to_redraw

GF_RectArray GF_VisualManager::to_redraw

◆ draw_node_index

u32 GF_VisualManager::draw_node_index

◆ context

DrawableContext* GF_VisualManager::context

◆ cur_context

DrawableContext * GF_VisualManager::cur_context

◆ prev_nodes

struct _drawable_store* GF_VisualManager::prev_nodes

◆ last_prev_entry

struct _drawable_store * GF_VisualManager::last_prev_entry

◆ surf_rect

GF_IRect GF_VisualManager::surf_rect

◆ top_clipper

GF_IRect GF_VisualManager::top_clipper

◆ frame_bounds

GF_IRect GF_VisualManager::frame_bounds

◆ last_had_back

u32 GF_VisualManager::last_had_back

◆ is_attached

Bool GF_VisualManager::is_attached

◆ center_coords

Bool GF_VisualManager::center_coords

◆ has_modif

Bool GF_VisualManager::has_modif

◆ has_overlays

Bool GF_VisualManager::has_overlays

◆ has_text_edit

Bool GF_VisualManager::has_text_edit

◆ GetSurfaceAccess

GF_Err(* GF_VisualManager::GetSurfaceAccess) (GF_VisualManager *)

◆ ReleaseSurfaceAccess

void(* GF_VisualManager::ReleaseSurfaceAccess) (GF_VisualManager *)

◆ ClearSurface

void(* GF_VisualManager::ClearSurface) (GF_VisualManager *visual, GF_IRect *rc, u32 BackColor, u32 offscreen_clear)

◆ DrawBitmap

Bool(* GF_VisualManager::DrawBitmap) (GF_VisualManager *visual, GF_TraverseState *tr_state, DrawableContext *ctx)

◆ CheckAttached

Bool(* GF_VisualManager::CheckAttached) (GF_VisualManager *visual)

◆ raster_surface

GF_EVGSurface* GF_VisualManager::raster_surface

◆ raster_brush

GF_EVGStencil* GF_VisualManager::raster_brush

◆ offscreen

GF_Node* GF_VisualManager::offscreen

◆ bounds_tracker_modif_flag

u32 GF_VisualManager::bounds_tracker_modif_flag

◆ num_nodes_prev_frame

u32 GF_VisualManager::num_nodes_prev_frame

◆ num_nodes_current_frame

u32 GF_VisualManager::num_nodes_current_frame

◆ overlays

struct _video_overlay* GF_VisualManager::overlays

◆ navigation_stack

GF_List* GF_VisualManager::navigation_stack

◆ fog_stack

GF_List* GF_VisualManager::fog_stack

◆ gl_setup

Bool GF_VisualManager::gl_setup

◆ clipper_2d

GF_IRect GF_VisualManager::clipper_2d

◆ has_clipper_2d

Bool GF_VisualManager::has_clipper_2d

◆ camera

GF_Camera GF_VisualManager::camera

◆ alpha_nodes_to_draw

GF_List* GF_VisualManager::alpha_nodes_to_draw

◆ num_lights

u32 GF_VisualManager::num_lights

◆ max_lights

u32 GF_VisualManager::max_lights

◆ num_clips

u32 GF_VisualManager::num_clips

◆ max_clips

u32 GF_VisualManager::max_clips

◆ hybgl_drawn

GF_RectArray GF_VisualManager::hybgl_drawn

◆ nb_objects_on_canvas_since_last_ogl_flush

u32 GF_VisualManager::nb_objects_on_canvas_since_last_ogl_flush

◆ prev_hybgl_canvas_not_empty

u32 GF_VisualManager::prev_hybgl_canvas_not_empty

◆ nb_views

u32 GF_VisualManager::nb_views

◆ current_view

u32 GF_VisualManager::current_view

◆ autostereo_type

u32 GF_VisualManager::autostereo_type

◆ camlay

u32 GF_VisualManager::camlay

◆ base_glsl_vertex

GF_SHADERID GF_VisualManager::base_glsl_vertex

◆ gl_textures

u32* GF_VisualManager::gl_textures

◆ auto_stereo_width

u32 GF_VisualManager::auto_stereo_width

◆ auto_stereo_height

u32 GF_VisualManager::auto_stereo_height

◆ autostereo_mesh

GF_Mesh* GF_VisualManager::autostereo_mesh

◆ autostereo_glsl_program

GF_SHADERID GF_VisualManager::autostereo_glsl_program

◆ autostereo_glsl_fragment

GF_SHADERID GF_VisualManager::autostereo_glsl_fragment

◆ needs_projection_matrix_reload

Bool GF_VisualManager::needs_projection_matrix_reload

◆ has_material_2d

Bool GF_VisualManager::has_material_2d

◆ mat_2d

SFColorRGBA GF_VisualManager::mat_2d

◆ has_material

Bool GF_VisualManager::has_material

◆ materials

SFColorRGBA GF_VisualManager::materials[4]

◆ shininess

Fixed GF_VisualManager::shininess

◆ state_light_on

Bool GF_VisualManager::state_light_on

◆ state_blend_on

Bool GF_VisualManager::state_blend_on

◆ state_color_on

Bool GF_VisualManager::state_color_on

◆ clippers

GF_ClipInfo GF_VisualManager::clippers[GF_MAX_GL_CLIPS]

◆ has_tx_matrix

Bool GF_VisualManager::has_tx_matrix

◆ tx_matrix

GF_Matrix GF_VisualManager::tx_matrix

◆ lights

GF_LightInfo GF_VisualManager::lights[GF_MAX_GL_LIGHTS]

◆ has_inactive_lights

Bool GF_VisualManager::has_inactive_lights

◆ has_fog

Bool GF_VisualManager::has_fog

◆ fog_type

u32 GF_VisualManager::fog_type

◆ fog_color

SFColor GF_VisualManager::fog_color

◆ fog_density

Fixed GF_VisualManager::fog_density

◆ fog_visibility

Fixed GF_VisualManager::fog_visibility

◆ glsl_program

GF_SHADERID GF_VisualManager::glsl_program

◆ compiled_programs

GF_List* GF_VisualManager::compiled_programs

◆ bound_tx_pix_fmt

u32 GF_VisualManager::bound_tx_pix_fmt

◆ active_glsl_flags

u32 GF_VisualManager::active_glsl_flags

◆ depth_vp_position

Fixed GF_VisualManager::depth_vp_position

◆ depth_vp_range

Fixed GF_VisualManager::depth_vp_range

◆ yuv_pixelformat_type

u32 GF_VisualManager::yuv_pixelformat_type