MCPcopy Create free account
hub / github.com/dfranx/SHADERed / FrameAnalysis

Method FrameAnalysis

src/SHADERed/Objects/FrameAnalysis.cpp:46–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 }
45
46 FrameAnalysis::FrameAnalysis(DebugInformation* dbgr, RenderEngine* renderer, PipelineManager* pipeline, ObjectManager* objects, MessageStack* msgs)
47 {
48 m_depth = nullptr;
49 m_color = nullptr;
50 m_instCount = nullptr;
51 m_ub = nullptr;
52 m_pass = nullptr;
53 m_bkpt = nullptr;
54
55 m_width = 0;
56 m_height = 0;
57 m_hasBreakpoints = false;
58 m_isRegion = false;
59 m_instCountAvg = m_instCountAvgN = m_instCountMax = 0;
60 m_pixelCount = m_pixelsDiscarded = m_pixelsUB = m_pixelsFailedDepthTest = 0;
61 m_triangleCount = m_trianglesDiscarded = 0;
62
63 m_debugger = dbgr;
64 m_renderer = renderer;
65 m_pipeline = pipeline;
66 m_objects = objects;
67 m_msgs = msgs;
68
69 m_pixelHistoryLocation = glm::ivec2(-1, -1);
70 }
71 FrameAnalysis::~FrameAnalysis()
72 {
73 m_cleanBreakpoints();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected