![]() |
UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
|

Classes | |
| struct | current_display_desc |
Public Types | |
| enum class | deint { off , on , force } |
| enum | modeset_t { MODESET = -2 , MODESET_SIZE_ONLY = GLFW_DONT_CARE , NOMODESET = 0 } |
| enum | show_cursor_t { SC_TRUE , SC_FALSE , SC_AUTOHIDE } |
Public Member Functions | |
| state_gl (struct module *parent) | |
| ~state_gl () | |
Static Public Member Functions | |
| static const char * | deint_to_string (state_gl::deint val) |
Public Attributes | |
| double | aspect = 0.0 |
| struct video_desc | current_desc = {} |
| struct video_frame * | current_frame = nullptr |
| GLuint | current_program = 0 |
| steady_clock::time_point | cursor_shown_from {} |
| indicates time point from which is cursor show if show_cursor == SC_AUTOHIDE, timepoint() means cursor is not currently shown | |
| enum state_gl::deint | deinterlace = deint::off |
| int | dxt_height = 0 |
| GLuint | fbo_id = 0 |
| int | fixed_h = 0 |
| bool | fixed_size = false |
| int | fixed_w = 0 |
| condition_variable | frame_consumed_cv |
| queue< struct video_frame * > | frame_queue |
| queue< struct video_frame * > | free_frame_queue |
| bool | fs = false |
| double | gamma = 0.0 |
| map< int, int > | init_hints |
| mutex | lock |
| uint32_t | magic = MAGIC_GL |
| struct module | mod |
| enum state_gl::modeset_t | modeset = NOMODESET |
| positive vals force framerate | |
| GLFWmonitor * | monitor = nullptr |
| condition_variable | new_frame_ready_cv |
| bool | noresizable = false |
| volatile bool | paused = false |
| GLuint | pbo_id = 0 |
| GLuint | PHandle_deint = 0 |
| unordered_map< codec_t, GLuint > | PHandles |
| int | pos_x = INT_MIN |
| int | pos_y = INT_MIN |
| int | req_monitor_idx = -1 |
| vector< char > | scratchpad |
| scratchpad sized WxHx8 | |
| enum state_gl::show_cursor_t | show_cursor = SC_AUTOHIDE |
| void * | syphon_spout = nullptr |
| string | syphon_spout_srv_name |
| GLuint | texture_display = 0 |
| GLuint | texture_raw = 0 |
| int | use_pbo = -1 |
| bool | vdp_interop = false |
| double | video_aspect = 0.0 |
| int | vsync = 1 |
| GLFWwindow * | window = nullptr |
| map< int, int > | window_hints |
| double | window_size_factor = 1.0 |
|
strong |
| enum state_gl::modeset_t |
|
inline |
Definition at line 439 of file gl.cpp.
References module::cls, mod, MODULE_CLASS_DATA, module_init_default(), module_register(), and parent.
Referenced by display_gl_init().

|
inline |
Definition at line 445 of file gl.cpp.
References glfw_init_count, mod, and module_done().

|
inlinestatic |
Definition at line 451 of file gl.cpp.
References force, off, on, and val.
Referenced by display_gl_init(), and display_gl_process_key().
| double state_gl::aspect = 0.0 |
Definition at line 401 of file gl.cpp.
Referenced by display_gl_process_key(), gl_change_aspect(), gl_process_frames(), gl_reconfigure_screen(), and glfw_resize_window().
| struct video_desc state_gl::current_desc = {} |
Definition at line 395 of file gl.cpp.
Referenced by display_gl_getf(), and display_gl_reconfigure().
| struct video_frame* state_gl::current_frame = nullptr |
Definition at line 391 of file gl.cpp.
Referenced by display_gl_done(), display_gl_process_key(), and gl_process_frames().
| GLuint state_gl::current_program = 0 |
Definition at line 374 of file gl.cpp.
Referenced by gl_reconfigure_screen(), gl_render(), and gl_render_glsl().
| steady_clock::time_point state_gl::cursor_shown_from {} |
indicates time point from which is cursor show if show_cursor == SC_AUTOHIDE, timepoint() means cursor is not currently shown
Definition at line 411 of file gl.cpp.
Referenced by gl_process_frames().
| enum state_gl::deint state_gl::deinterlace = deint::off |
Referenced by display_gl_init(), display_gl_parse_fmt(), display_gl_process_key(), display_gl_reconfigure(), and gl_process_frames().
| int state_gl::dxt_height = 0 |
Definition at line 405 of file gl.cpp.
Referenced by gl_process_frames(), gl_reconfigure_screen(), and upload_compressed_texture().
| GLuint state_gl::fbo_id = 0 |
Definition at line 377 of file gl.cpp.
Referenced by display_gl_cleanup_opengl(), display_gl_init_opengl(), and gl_render_glsl().
| int state_gl::fixed_h = 0 |
Definition at line 422 of file gl.cpp.
Referenced by display_gl_init_opengl(), and set_size().
| bool state_gl::fixed_size = false |
Definition at line 420 of file gl.cpp.
Referenced by display_gl_init_opengl(), display_gl_parse_fmt(), gl_reconfigure_screen(), and set_size().
| int state_gl::fixed_w = 0 |
Definition at line 421 of file gl.cpp.
Referenced by display_gl_init_opengl(), and set_size().
| condition_variable state_gl::frame_consumed_cv |
Definition at line 399 of file gl.cpp.
Referenced by display_gl_putf(), and pop_frame().
| queue<struct video_frame *> state_gl::frame_queue |
Definition at line 393 of file gl.cpp.
Referenced by display_gl_done(), display_gl_putf(), gl_load_splashscreen(), gl_process_frames(), and pop_frame().
| queue<struct video_frame *> state_gl::free_frame_queue |
Definition at line 394 of file gl.cpp.
Referenced by display_gl_done(), display_gl_getf(), display_gl_putf(), and gl_process_frames().
| bool state_gl::fs = false |
Definition at line 388 of file gl.cpp.
Referenced by display_gl_init(), display_gl_init_opengl(), display_gl_parse_fmt(), display_gl_process_key(), gl_reconfigure_screen(), glfw_print_video_mode(), and glfw_resize_window().
| double state_gl::gamma = 0.0 |
Definition at line 403 of file gl.cpp.
Referenced by display_gl_parse_fmt(), and set_gamma().
| map<int, int> state_gl::init_hints |
Definition at line 427 of file gl.cpp.
Referenced by display_gl_init(), and parse_hints().
| mutex state_gl::lock |
Definition at line 397 of file gl.cpp.
Referenced by display_gl_getf(), display_gl_putf(), and gl_process_frames().
| uint32_t state_gl::magic = MAGIC_GL |
Definition at line 383 of file gl.cpp.
Referenced by display_gl_done(), display_gl_getf(), display_gl_putf(), and gl_reconfigure_screen().
| struct module state_gl::mod |
Definition at line 416 of file gl.cpp.
Referenced by state_gl(), ~state_gl(), display_gl_init(), and gl_process_frames().
| enum state_gl::modeset_t state_gl::modeset = NOMODESET |
positive vals force framerate
Referenced by display_gl_init_opengl(), display_gl_parse_fmt(), display_gl_process_key(), get_refresh_rate(), and glfw_print_video_mode().
| GLFWmonitor* state_gl::monitor = nullptr |
Definition at line 385 of file gl.cpp.
Referenced by display_gl_init_opengl(), display_gl_process_key(), glfw_print_video_mode(), and set_gamma().
| condition_variable state_gl::new_frame_ready_cv |
Definition at line 398 of file gl.cpp.
Referenced by display_gl_putf(), and gl_process_frames().
| bool state_gl::noresizable = false |
Definition at line 408 of file gl.cpp.
Referenced by display_gl_init_opengl(), display_gl_parse_fmt(), and display_gl_set_window_hints().
| volatile bool state_gl::paused = false |
Definition at line 409 of file gl.cpp.
Referenced by display_gl_process_key(), display_gl_putf(), and gl_process_frames().
| GLuint state_gl::pbo_id = 0 |
Definition at line 380 of file gl.cpp.
Referenced by display_gl_cleanup_opengl(), display_gl_init_opengl(), gl_reconfigure_screen(), and upload_texture().
| GLuint state_gl::PHandle_deint = 0 |
Definition at line 373 of file gl.cpp.
Referenced by display_gl_init_opengl(), gl_process_frames(), and gl_reconfigure_screen().
| unordered_map<codec_t, GLuint> state_gl::PHandles |
Definition at line 372 of file gl.cpp.
Referenced by display_gl_cleanup_opengl(), display_gl_init_opengl(), and gl_reconfigure_screen().
| int state_gl::pos_x = INT_MIN |
Definition at line 423 of file gl.cpp.
Referenced by display_gl_init_opengl(), and set_size().
| int state_gl::pos_y = INT_MIN |
Definition at line 424 of file gl.cpp.
Referenced by display_gl_init_opengl(), and set_size().
| int state_gl::req_monitor_idx = -1 |
Definition at line 432 of file gl.cpp.
Referenced by display_gl_init_opengl(), and display_gl_parse_fmt().
| vector<char> state_gl::scratchpad |
scratchpad sized WxHx8
Definition at line 437 of file gl.cpp.
Referenced by gl_reconfigure_screen(), and upload_texture().
| enum state_gl::show_cursor_t state_gl::show_cursor = SC_AUTOHIDE |
Referenced by display_gl_init_opengl(), display_gl_parse_fmt(), display_gl_process_key(), and gl_process_frames().
| void* state_gl::syphon_spout = nullptr |
Definition at line 418 of file gl.cpp.
Referenced by display_gl_cleanup_opengl(), gl_process_frames(), and gl_reconfigure_screen().
| string state_gl::syphon_spout_srv_name |
Definition at line 412 of file gl.cpp.
Referenced by display_gl_parse_fmt(), and gl_reconfigure_screen().
| GLuint state_gl::texture_display = 0 |
Definition at line 378 of file gl.cpp.
Referenced by display_gl_cleanup_opengl(), display_gl_init_opengl(), gl_process_frames(), gl_reconfigure_screen(), and gl_render_glsl().
| GLuint state_gl::texture_raw = 0 |
Definition at line 379 of file gl.cpp.
Referenced by display_gl_cleanup_opengl(), display_gl_init_opengl(), gl_reconfigure_screen(), and gl_render_glsl().
| int state_gl::use_pbo = -1 |
Definition at line 431 of file gl.cpp.
Referenced by display_gl_init(), display_gl_parse_fmt(), and upload_texture().
| bool state_gl::vdp_interop = false |
Definition at line 436 of file gl.cpp.
Referenced by display_gl_init_opengl().
| double state_gl::video_aspect = 0.0 |
Definition at line 402 of file gl.cpp.
Referenced by display_gl_parse_fmt(), and gl_reconfigure_screen().
| int state_gl::vsync = 1 |
Definition at line 407 of file gl.cpp.
Referenced by display_gl_init_opengl(), display_gl_parse_fmt(), gl_process_frames(), and gl_reconfigure_screen().
| GLFWwindow* state_gl::window = nullptr |
Definition at line 386 of file gl.cpp.
Referenced by display_gl_cleanup_opengl(), display_gl_init_opengl(), display_gl_process_key(), display_gl_putf(), display_gl_run(), gl_process_frames(), and gl_reconfigure_screen().
| map<int, int> state_gl::window_hints |
Definition at line 428 of file gl.cpp.
Referenced by display_gl_parse_fmt(), display_gl_set_window_hints(), and parse_hints().
| double state_gl::window_size_factor = 1.0 |
Definition at line 414 of file gl.cpp.
Referenced by display_gl_process_key(), gl_reconfigure_screen(), glfw_resize_window(), and set_size().