Protected Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
librealsense::gl::gpu_object Class Referenceabstract

#include <synthetic-stream-gl.h>

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

Protected Member Functions

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 Member Functions

 gpu_object (const gpu_object &)=delete
 
gpu_objectoperator= (const gpu_object &)=delete
 
void update_gpu_resources (bool use_glsl)
 

Private Attributes

std::atomic_int _needs_cleanup { 0 }
 
bool _use_glsl = false
 

Friends

class processing_lane
 
class rendering_lane
 

Detailed Description

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

Constructor & Destructor Documentation

librealsense::gl::gpu_object::gpu_object ( )
protecteddefault
librealsense::gl::gpu_object::gpu_object ( const gpu_object )
privatedelete

Member Function Documentation

virtual void librealsense::gl::gpu_object::cleanup_gpu_resources ( )
protectedpure virtual
virtual void librealsense::gl::gpu_object::create_gpu_resources ( )
protectedpure virtual
bool librealsense::gl::gpu_object::glsl_enabled ( ) const
inlineprotected

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

void librealsense::gl::gpu_object::need_cleanup ( )
inlineprotected

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

gpu_object& librealsense::gl::gpu_object::operator= ( const gpu_object )
privatedelete
void librealsense::gl::gpu_object::update_gpu_resources ( bool  use_glsl)
inlineprivate

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

void librealsense::gl::gpu_object::use_glsl ( bool  val)
inlineprotected

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

Friends And Related Function Documentation

friend class processing_lane
friend

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

friend class rendering_lane
friend

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

Member Data Documentation

std::atomic_int librealsense::gl::gpu_object::_needs_cleanup { 0 }
private

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

bool librealsense::gl::gpu_object::_use_glsl = false
private

Definition at line 262 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