Skip to content

Class mediapipe::GpuResources

ClassList > mediapipe > GpuResources

Public Types

Type Name
typedef absl::StatusOr< std::shared_ptr< GpuResources > > StatusOrGpuResources

Public Functions

Type Name
const std::map< std::string, std::shared_ptr< Executor > > & GetGpuExecutors ()
GpuResources (PlatformGlContext external_context)
absl::Status PrepareGpuNode (CalculatorNode * node)
const std::shared_ptr< GlContext > & gl_context ()
const std::shared_ptr< GlContext > & gl_context (CalculatorContext * cc)
GpuBufferMultiPool & gpu_buffer_pool ()
~GpuResources ()

Public Static Functions

Type Name
StatusOrGpuResources Create ()
StatusOrGpuResources Create (PlatformGlContext external_context)

Public Types Documentation

typedef StatusOrGpuResources

using mediapipe::GpuResources::StatusOrGpuResources =  absl::StatusOr<std::shared_ptr<GpuResources> >;

Public Functions Documentation

function GetGpuExecutors

inline const std::map< std::string, std::shared_ptr< Executor > > & mediapipe::GpuResources::GetGpuExecutors () 

function GpuResources [1/3]

explicit mediapipe::GpuResources::GpuResources (
    PlatformGlContext external_context
) 

function PrepareGpuNode

absl::Status mediapipe::GpuResources::PrepareGpuNode (
    CalculatorNode * node
) 

function gl_context [1/2]

inline const std::shared_ptr< GlContext > & mediapipe::GpuResources::gl_context () 

function gl_context [2/2]

const std::shared_ptr< GlContext > & mediapipe::GpuResources::gl_context (
    CalculatorContext * cc
) 

function gpu_buffer_pool

inline GpuBufferMultiPool & mediapipe::GpuResources::gpu_buffer_pool () 

function ~GpuResources

mediapipe::GpuResources::~GpuResources () 

Public Static Functions Documentation

function Create [1/2]

static StatusOrGpuResources mediapipe::GpuResources::Create () 

function Create [2/2]

static StatusOrGpuResources mediapipe::GpuResources::Create (
    PlatformGlContext external_context
) 


The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR-plugins/hand_tracking/mediapipe/gpu/gpu_shared_data_internal.h