Skip to content

Commit

Permalink
Move the ownership of GPU breakpoints to GPUCommon
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Dec 15, 2024
1 parent 638607d commit 4223bcf
Show file tree
Hide file tree
Showing 15 changed files with 219 additions and 198 deletions.
2 changes: 2 additions & 0 deletions GPU/Common/GPUDebugInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ struct DisplayList;
namespace GPURecord {
class Recorder;
}
class GPUBreakpoints;

struct GPUDebugOp {
u32 pc;
Expand Down Expand Up @@ -244,6 +245,7 @@ class GPUDebugInterface {
virtual const DisplayList &GetDisplayList(int index) = 0;

virtual GPURecord::Recorder *GetRecorder() = 0;
virtual GPUBreakpoints *GetBreakpoints() = 0;

virtual bool GetCurrentSimpleVertices(int count, std::vector<GPUDebugVertex> &vertices, std::vector<u16> &indices) {
return false;
Expand Down
Loading

0 comments on commit 4223bcf

Please sign in to comment.