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