2014-02-03 13:02:17 +00:00
|
|
|
// Copyright 2015 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "VideoCommon/RenderBase.h"
|
|
|
|
|
|
|
|
namespace Null
|
|
|
|
{
|
|
|
|
class Renderer : public ::Renderer
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Renderer();
|
2017-03-04 06:40:08 +00:00
|
|
|
~Renderer() override;
|
2014-02-03 13:02:17 +00:00
|
|
|
|
2017-09-30 06:25:36 +00:00
|
|
|
std::unique_ptr<AbstractTexture> CreateTexture(const TextureConfig& config) override;
|
2017-10-21 14:49:40 +00:00
|
|
|
std::unique_ptr<AbstractStagingTexture>
|
|
|
|
CreateStagingTexture(StagingTextureType type, const TextureConfig& config) override;
|
2017-09-30 06:25:36 +00:00
|
|
|
|
2014-02-03 13:02:17 +00:00
|
|
|
void RenderText(const std::string& pstr, int left, int top, u32 color) override;
|
|
|
|
u32 AccessEFB(EFBAccessType type, u32 x, u32 y, u32 poke_data) override { return 0; }
|
|
|
|
void PokeEFB(EFBAccessType type, const EfbPokeData* points, size_t num_points) override {}
|
|
|
|
u16 BBoxRead(int index) override { return 0; }
|
|
|
|
void BBoxWrite(int index, u16 value) override {}
|
|
|
|
TargetRectangle ConvertEFBRectangle(const EFBRectangle& rc) override;
|
|
|
|
|
2017-05-29 22:02:09 +00:00
|
|
|
void SwapImpl(AbstractTexture* texture, const EFBRectangle& rc, u64 ticks, float Gamma) override;
|
2014-02-03 13:02:17 +00:00
|
|
|
|
|
|
|
void ClearScreen(const EFBRectangle& rc, bool colorEnable, bool alphaEnable, bool zEnable,
|
|
|
|
u32 color, u32 z) override
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void ReinterpretPixelData(unsigned int convtype) override {}
|
|
|
|
};
|
|
|
|
}
|