| 1 |
/* |
| 2 |
* Copyright (C) 2018 Team Kodi |
| 3 |
* This file is part of Kodi - https://kodi.tv |
| 4 |
* |
| 5 |
* SPDX-License-Identifier: GPL-2.0-or-later |
| 6 |
* See LICENSES/README.md for more information. |
| 7 |
*/ |
| 8 |
|
| 9 |
#pragma once |
| 10 |
|
| 11 |
#include "GameClientStreamVideo.h" |
| 12 |
|
| 13 |
namespace KODI |
| 14 |
{ |
| 15 |
namespace GAME |
| 16 |
{ |
| 17 |
|
| 18 |
/*! |
| 19 |
* \ingroup games |
| 20 |
*/ |
| 21 |
class CGameClientStreamSwFramebuffer : public CGameClientStreamVideo |
| 22 |
{ |
| 23 |
public: |
| 24 |
CGameClientStreamSwFramebuffer() = default; |
| 25 |
~CGameClientStreamSwFramebuffer() override = default; |
| 26 |
|
| 27 |
// Implementation of IGameClientStream via CGameClientStreamVideo |
| 28 |
bool GetBuffer(unsigned int width, unsigned int height, game_stream_buffer& buffer) override; |
| 29 |
}; |
| 30 |
|
| 31 |
} // namespace GAME |
| 32 |
} // namespace KODI |