#include "chromecast/public/cast_egl_platform.h"
#include "chromecast/public/cast_egl_platform_shlib.h"
namespace chromecast {
namespace {
class EglPlatformDefault : public CastEglPlatform {
public:
~EglPlatformDefault() override {}
const int* GetEGLSurfaceProperties(const int* desired) override {
return desired;
}
bool InitializeHardware() override { return true; }
void* GetEglLibrary() override { return nullptr; }
void* GetGles2Library() override { return nullptr; }
GLGetProcAddressProc GetGLProcAddressProc() override { return nullptr; }
NativeDisplayType CreateDisplayType(const Size& size) override {
return nullptr;
}
NativeWindowType CreateWindow(NativeDisplayType display_type,
const Size& size) override {
return nullptr;
}
};
}
CastEglPlatform* CastEglPlatformShlib::Create(
const std::vector<std::string>& argv) {
return new EglPlatformDefault();
}
}