Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions | Static Public Member Functions | Protected Attributes
GLContext Class Referenceabstract
Inheritance diagram for GLContext:
AndroidGLContext IOSGLContext

Public Member Functions

virtual void set_context ()=0
virtual void reset_context ()=0
virtual void flush_context ()=0
bool halfFloatTextureSupported ()
void setTextureAllocator (std::function< const GLTexture *(const int width, const int height)> textureAllocator)
std::function< const GLTexture *(const int width, const int height)> getTextureAllocator ()

Static Public Member Functions

static void initGLContext ()
static GLContextgetGLContext ()
static void deleteGLContext ()
static bool GL_EXT_texture_border_clamp_defined ()

Protected Attributes

bool half_float_supported = true

Detailed Description

Definition at line 7 of file GLContext.h.

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