2015-05-24 04:32:32 +00:00
|
|
|
// Copyright 2011 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
2014-02-10 18:54:46 +00:00
|
|
|
#pragma once
|
2011-01-31 01:28:32 +00:00
|
|
|
|
2014-03-12 19:33:41 +00:00
|
|
|
#include <string>
|
2014-02-17 10:18:15 +00:00
|
|
|
#include "VideoCommon/VideoBackendBase.h"
|
2011-01-31 01:28:32 +00:00
|
|
|
|
|
|
|
namespace OGL
|
|
|
|
{
|
|
|
|
|
2011-03-16 22:48:17 +00:00
|
|
|
class VideoBackend : public VideoBackendHardware
|
2011-01-31 01:28:32 +00:00
|
|
|
{
|
2014-08-06 04:44:21 +00:00
|
|
|
bool Initialize(void *) override;
|
2013-10-29 05:34:26 +00:00
|
|
|
void Shutdown() override;
|
2011-01-31 01:28:32 +00:00
|
|
|
|
2014-03-11 05:55:00 +00:00
|
|
|
std::string GetName() const override;
|
|
|
|
std::string GetDisplayName() const override;
|
2015-09-22 00:25:37 +00:00
|
|
|
std::string GetConfigName() const override;
|
2011-01-31 01:28:32 +00:00
|
|
|
|
2013-10-29 05:34:26 +00:00
|
|
|
void Video_Prepare() override;
|
|
|
|
void Video_Cleanup() override;
|
2011-01-31 01:28:32 +00:00
|
|
|
|
2013-10-29 05:34:26 +00:00
|
|
|
void ShowConfig(void* parent) override;
|
2011-01-31 01:28:32 +00:00
|
|
|
|
2013-10-29 05:34:26 +00:00
|
|
|
unsigned int PeekMessages() override;
|
2011-01-31 01:28:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|