mirror of https://github.com/alibaba/MNN.git
25 lines
422 B
C++
25 lines
422 B
C++
|
//
|
||
|
// GLContext.h
|
||
|
// MNN
|
||
|
//
|
||
|
// Created by MNN on 2019/01/31.
|
||
|
// Copyright © 2018, Alibaba Group Holding Limited
|
||
|
//
|
||
|
|
||
|
#ifndef GLCONTEXT_H
|
||
|
#define GLCONTEXT_H
|
||
|
|
||
|
#include "GLHead.hpp"
|
||
|
namespace MNN {
|
||
|
namespace OpenGL {
|
||
|
class GLContext {
|
||
|
public:
|
||
|
class nativeContext;
|
||
|
static nativeContext* create(int version = 2);
|
||
|
static void destroy(nativeContext* context);
|
||
|
};
|
||
|
} // namespace OpenGL
|
||
|
} // namespace MNN
|
||
|
|
||
|
#endif
|