Public Member Functions | Protected Member Functions | Private Attributes | List of all members
librealsense::gl::gpu_processing_object Class Reference

#include <synthetic-stream-gl.h>

Inheritance diagram for librealsense::gl::gpu_processing_object:
Inheritance graph
[legend]

Public Member Functions

 gpu_processing_object ()
 
void set_context (std::weak_ptr< context > ctx)
 
virtual ~gpu_processing_object ()
 

Protected Member Functions

rs2::visualizer_2dget_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
virtual void cleanup_gpu_resources ()=0
 
virtual void create_gpu_resources ()=0
 
bool glsl_enabled () const
 
 gpu_object ()=default
 
void need_cleanup ()
 
void use_glsl (bool val)
 

Private Attributes

std::weak_ptr< context_ctx
 

Detailed Description

Definition at line 293 of file synthetic-stream-gl.h.

Constructor & Destructor Documentation

librealsense::gl::gpu_processing_object::gpu_processing_object ( )
inline

Definition at line 296 of file synthetic-stream-gl.h.

virtual librealsense::gl::gpu_processing_object::~gpu_processing_object ( )
inlinevirtual

Definition at line 300 of file synthetic-stream-gl.h.

Member Function Documentation

rs2::visualizer_2d& librealsense::gl::gpu_processing_object::get_texture_visualizer ( )
inlineprotected

Definition at line 334 of file synthetic-stream-gl.h.

void librealsense::gl::gpu_processing_object::initialize ( )
inlineprotected

Definition at line 307 of file synthetic-stream-gl.h.

template<class T , class S >
void librealsense::gl::gpu_processing_object::perform_gl_action ( action,
fallback 
)
inlineprotected

Definition at line 320 of file synthetic-stream-gl.h.

void librealsense::gl::gpu_processing_object::set_context ( std::weak_ptr< context ctx)
inline

Definition at line 305 of file synthetic-stream-gl.h.

Member Data Documentation

std::weak_ptr<context> librealsense::gl::gpu_processing_object::_ctx
private

Definition at line 341 of file synthetic-stream-gl.h.


The documentation for this class was generated from the following file:


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:39