mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Merge branch 'master' into videosoftware-xfb
Conflicts: Source/Core/VideoBackends/Software/Src/EfbCopy.cpp Source/Core/VideoBackends/Software/Src/SWRenderer.cpp Source/Core/VideoBackends/Software/Src/SWRenderer.h Source/Core/VideoBackends/Software/Src/SWVideoConfig.cpp Source/Core/VideoBackends/Software/Src/SWmain.cpp
This commit is contained in:
31
Source/Core/VideoBackends/Software/Src/SWRenderer.h
Normal file
31
Source/Core/VideoBackends/Software/Src/SWRenderer.h
Normal file
@ -0,0 +1,31 @@
|
||||
// Copyright 2013 Dolphin Emulator Project
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#ifndef _RENDERER_H_
|
||||
#define _RENDERER_H_
|
||||
|
||||
#include "CommonTypes.h"
|
||||
#include "EfbInterface.h"
|
||||
#include "Thread.h"
|
||||
|
||||
namespace SWRenderer
|
||||
{
|
||||
void Init();
|
||||
void Prepare();
|
||||
void Shutdown();
|
||||
|
||||
void SetScreenshot(const char *_szFilename);
|
||||
void RenderText(const char* pstr, int left, int top, u32 color);
|
||||
void DrawDebugText();
|
||||
|
||||
u8* getColorTexture();
|
||||
void swapColorTexture();
|
||||
void UpdateColorTexture(EfbInterface::yuv422_packed *xfb, u32 fbWidth, u32 fbHeight);
|
||||
void DrawTexture(u8 *texture, int width, int height);
|
||||
|
||||
void Swap(u32 fbWidth, u32 fbHeight);
|
||||
void SwapBuffer();
|
||||
}
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user