native service, EGL, native test client
This commit is contained in:
19
src/main/cpp/egl_context.h
Normal file
19
src/main/cpp/egl_context.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
|
||||
typedef void* EGLContext;
|
||||
typedef void* EGLDisplay;
|
||||
typedef void* EGLConfig;
|
||||
|
||||
namespace egl
|
||||
{
|
||||
class Context
|
||||
{
|
||||
EGLContext m_context;
|
||||
EGLDisplay m_display;
|
||||
EGLConfig m_config = nullptr;
|
||||
public:
|
||||
Context();
|
||||
bool create();
|
||||
void destroy();
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user