mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 08:39:00 +00:00
OGL: implement bounding box support with ssbo
This implemention tries to be as accurate as the old SW implemention, but it will remove the dependcy of our vertexloader on videosw.
This commit is contained in:
parent
dced84d440
commit
c211450b99
24 changed files with 231 additions and 7 deletions
|
@ -33,6 +33,7 @@
|
|||
#include "VideoBackends/Software/VideoBackend.h"
|
||||
#include "VideoBackends/Software/XFMemLoader.h"
|
||||
|
||||
#include "VideoCommon/BoundingBox.h"
|
||||
#include "VideoCommon/Fifo.h"
|
||||
#include "VideoCommon/OnScreenDisplay.h"
|
||||
#include "VideoCommon/PixelEngine.h"
|
||||
|
@ -283,6 +284,11 @@ u32 VideoSoftware::Video_GetQueryResult(PerfQueryType type)
|
|||
return EfbInterface::perf_values[type];
|
||||
}
|
||||
|
||||
u16 VideoSoftware::Video_GetBoundingBox(int index)
|
||||
{
|
||||
return BoundingBox::coords[index];
|
||||
}
|
||||
|
||||
bool VideoSoftware::Video_Screenshot(const std::string& filename)
|
||||
{
|
||||
SWRenderer::SetScreenshot(filename.c_str());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue