mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-13 03:29:11 +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
|
@ -89,6 +89,7 @@ public:
|
|||
|
||||
virtual u32 Video_AccessEFB(EFBAccessType, u32, u32, u32) = 0;
|
||||
virtual u32 Video_GetQueryResult(PerfQueryType type) = 0;
|
||||
virtual u16 Video_GetBoundingBox(int index) = 0;
|
||||
|
||||
virtual void Video_AddMessage(const std::string& msg, unsigned int milliseconds) = 0;
|
||||
virtual void Video_ClearMessages() = 0;
|
||||
|
@ -137,6 +138,7 @@ class VideoBackendHardware : public VideoBackend
|
|||
|
||||
u32 Video_AccessEFB(EFBAccessType, u32, u32, u32) override;
|
||||
u32 Video_GetQueryResult(PerfQueryType type) override;
|
||||
u16 Video_GetBoundingBox(int index) override;
|
||||
|
||||
void Video_AddMessage(const std::string& pstr, unsigned int milliseconds) override;
|
||||
void Video_ClearMessages() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue