MCPcopy Create free account
hub / github.com/Aloshi/EmulationStation / render

Method render

src/Window.cpp:126–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126void Window::render()
127{
128 //there's nothing to render, which should pretty much never happen
129 if(mGuiStack.size() == 0)
130 std::cout << "guistack empty\n";
131
132 for(unsigned int i = 0; i < mGuiStack.size(); i++)
133 {
134 mGuiStack.at(i)->render(mMatrix);
135 }
136
137 postProcess();
138
139 if(Settings::getInstance()->getBool("DRAWFRAMERATE"))
140 {
141 Renderer::setMatrix(Eigen::Affine3f::Identity());
142 mDefaultFonts.at(1)->drawText(mFrameDataString, Eigen::Vector2f(50, 50), 0xFF00FFFF);
143 }
144}
145
146void Window::normalizeNextUpdate()
147{

Callers 1

mainFunction · 0.45

Calls 4

setMatrixFunction · 0.85
getBoolMethod · 0.80
drawTextMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected