2015-05-23 22:32:32 -06:00
|
|
|
// Copyright 2011 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
2014-02-10 11:54:46 -07:00
|
|
|
#pragma once
|
2011-01-30 18:28:32 -07:00
|
|
|
|
2014-03-12 13:33:41 -06:00
|
|
|
#include <string>
|
2014-02-17 03:18:15 -07:00
|
|
|
#include "VideoCommon/VideoBackendBase.h"
|
2011-01-30 18:28:32 -07:00
|
|
|
|
|
|
|
namespace OGL
|
|
|
|
{
|
2016-01-12 01:35:24 -07:00
|
|
|
class VideoBackend : public VideoBackendBase
|
2011-01-30 18:28:32 -07:00
|
|
|
{
|
2016-06-24 02:43:46 -06:00
|
|
|
bool Initialize(void*) override;
|
|
|
|
void Shutdown() override;
|
2011-01-30 18:28:32 -07:00
|
|
|
|
2016-06-24 02:43:46 -06:00
|
|
|
std::string GetName() const override;
|
|
|
|
std::string GetDisplayName() const override;
|
2011-01-30 18:28:32 -07:00
|
|
|
|
2016-01-13 13:38:11 -07:00
|
|
|
void InitBackendInfo() override;
|
2011-01-30 18:28:32 -07:00
|
|
|
|
2017-03-09 07:01:23 -07:00
|
|
|
private:
|
|
|
|
bool InitializeGLExtensions();
|
|
|
|
bool FillBackendInfo();
|
2011-01-30 18:28:32 -07:00
|
|
|
};
|
|
|
|
}
|