mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-12 23:25:41 -04:00
22 lines
537 B
C++
22 lines
537 B
C++
#pragma once
|
|
#include "context_egl.h"
|
|
|
|
namespace GL {
|
|
|
|
class ContextEGLAndroid final : public ContextEGL
|
|
{
|
|
public:
|
|
ContextEGLAndroid(const WindowInfo& wi);
|
|
~ContextEGLAndroid() override;
|
|
|
|
static std::unique_ptr<Context> Create(const WindowInfo& wi, const Version* versions_to_try,
|
|
size_t num_versions_to_try);
|
|
|
|
std::unique_ptr<Context> CreateSharedContext(const WindowInfo& wi) override;
|
|
|
|
protected:
|
|
EGLNativeWindowType GetNativeWindow(EGLConfig config) override;
|
|
};
|
|
|
|
} // namespace GL
|