#include <synthetic-stream-gl.h>
Public Member Functions | |
void | cleanup_gpu_resources () override |
void | create_gpu_resources () override |
void | fetch_frame (void *to) |
int | get_frame_size () const |
gpu_section () | |
bool | input_texture (int id, uint32_t *tex) |
bool | on_gpu () const |
void | on_publish () |
void | on_unpublish () |
operator bool () | |
void | output_texture (int id, uint32_t *tex, texture_type type) |
void | set_size (uint32_t width, uint32_t height, bool preloaded=false) |
~gpu_section () | |
Public Member Functions inherited from librealsense::gl::gpu_processing_object | |
gpu_processing_object () | |
void | set_context (std::weak_ptr< context > ctx) |
virtual | ~gpu_processing_object () |
Private Member Functions | |
void | ensure_init () |
Private Attributes | |
std::unique_ptr< uint8_t[]> | backup |
bool | backup_content = true |
uint32_t | height |
bool | initialized = false |
bool | loaded [MAX_TEXTURES] |
bool | preloaded = false |
uint32_t | textures [MAX_TEXTURES] |
texture_type | types [MAX_TEXTURES] |
uint32_t | width |
Additional Inherited Members | |
Protected Member Functions inherited from librealsense::gl::gpu_processing_object | |
rs2::visualizer_2d & | get_texture_visualizer () |
void | initialize () |
template<class T , class S > | |
void | perform_gl_action (T action, S fallback) |
Protected Member Functions inherited from librealsense::gl::gpu_object | |
bool | glsl_enabled () const |
gpu_object ()=default | |
void | need_cleanup () |
void | use_glsl (bool val) |
Definition at line 344 of file synthetic-stream-gl.h.
librealsense::gl::gpu_section::gpu_section | ( | ) |
Definition at line 208 of file synthetic-stream-gl.cpp.
librealsense::gl::gpu_section::~gpu_section | ( | ) |
Definition at line 187 of file synthetic-stream-gl.cpp.
|
overridevirtual |
Implements librealsense::gl::gpu_object.
Definition at line 170 of file synthetic-stream-gl.cpp.
|
overridevirtual |
Implements librealsense::gl::gpu_object.
Definition at line 195 of file synthetic-stream-gl.cpp.
|
private |
Definition at line 50 of file synthetic-stream-gl.cpp.
Definition at line 277 of file synthetic-stream-gl.cpp.
int librealsense::gl::gpu_section::get_frame_size | ( | ) | const |
Definition at line 266 of file synthetic-stream-gl.cpp.
bool librealsense::gl::gpu_section::input_texture | ( | int | id, |
uint32_t * | tex | ||
) |
Definition at line 256 of file synthetic-stream-gl.cpp.
|
inline |
Definition at line 364 of file synthetic-stream-gl.h.
void librealsense::gl::gpu_section::on_publish | ( | ) |
Definition at line 218 of file synthetic-stream-gl.cpp.
void librealsense::gl::gpu_section::on_unpublish | ( | ) |
Definition at line 227 of file synthetic-stream-gl.cpp.
librealsense::gl::gpu_section::operator bool | ( | ) |
Definition at line 200 of file synthetic-stream-gl.cpp.
void librealsense::gl::gpu_section::output_texture | ( | int | id, |
uint32_t * | tex, | ||
texture_type | type | ||
) |
Definition at line 235 of file synthetic-stream-gl.cpp.
void librealsense::gl::gpu_section::set_size | ( | uint32_t | width, |
uint32_t | height, | ||
bool | preloaded = false |
||
) |
Definition at line 251 of file synthetic-stream-gl.cpp.
|
private |
Definition at line 376 of file synthetic-stream-gl.h.
|
private |
Definition at line 373 of file synthetic-stream-gl.h.
|
private |
Definition at line 372 of file synthetic-stream-gl.h.
|
private |
Definition at line 375 of file synthetic-stream-gl.h.
|
private |
Definition at line 371 of file synthetic-stream-gl.h.
|
private |
Definition at line 374 of file synthetic-stream-gl.h.
|
private |
Definition at line 369 of file synthetic-stream-gl.h.
|
private |
Definition at line 370 of file synthetic-stream-gl.h.
|
private |
Definition at line 372 of file synthetic-stream-gl.h.