Caffe2 - C++ API
A deep learning, cross platform ML framework
Related Pages
Modules
Data Structures
Files
C++ API
Python API
GitHub
File List
Globals
caffe2
mobile
contrib
opengl
ios
IOSGLContext.h
1
2
#pragma once
3
4
#include "../core/GLContext.h"
5
#include "../core/GLTexture.h"
6
7
#import <CoreVideo/CoreVideo.h>
8
9
class
IOSGLContext
:
public
GLContext
{
10
void
* oglContext;
11
void
* oldContext;
12
CVOpenGLESTextureCacheRef textureCache;
13
14
public
:
15
IOSGLContext
();
16
~
IOSGLContext
();
17
18
const
GLTexture
* createNewTexture(CVPixelBufferRef pixelBuffer,
const
GLTexture::Type
& type);
19
void
set_context();
20
void
reset_context();
21
void
flush_context();
22
};
GLTexture
Definition:
GLTexture.h:6
GLContext
Definition:
GLContext.h:7
GLTexture::Type
Definition:
GLTexture.h:8
IOSGLContext
Definition:
IOSGLContext.h:9
Generated on Thu Apr 19 2018 13:03:54 for Caffe2 - C++ API by
1.8.11