Render D7 Update
This commit is contained in:
parent
0cfd1a0e42
commit
dcf6d77979
@ -251,7 +251,7 @@ void frameloop()
|
||||
last_time = osGetTime();
|
||||
}
|
||||
d11framerate = current_fps;
|
||||
// mt_fpsgraph[320] = current_fps;
|
||||
mt_fpsgraph[320] = current_fps;
|
||||
}
|
||||
float getframerate()
|
||||
{
|
||||
@ -846,6 +846,7 @@ void RenderD7::DrawMetrikOvl()
|
||||
RenderD7::DrawText(0, 0, mt_txtSize, mt_txtcolor, "FPS: " + RenderD7::GetFramerate());
|
||||
RenderD7::DrawText(0, 50, mt_txtSize, mt_txtcolor, "CPU: " + std::to_string(C3D_GetProcessingTime()*6.0f) + "/" + std::to_string(C3D_GetProcessingTime()));
|
||||
RenderD7::DrawText(0, 70, mt_txtSize, mt_txtcolor, "GPU: " + std::to_string(C3D_GetDrawingTime()*6.0f) + "/" + std::to_string(C3D_GetDrawingTime()));
|
||||
|
||||
for (int z = 0; z < 320; z++)
|
||||
{
|
||||
C2D_DrawLine(z, 239 - mt_fpsgraph[z], mt_txtcolor, z + 1, 239 - mt_fpsgraph[z + 1], mt_txtcolor, 1, 1);
|
||||
@ -875,7 +876,8 @@ void RenderD7::FrameEnd()
|
||||
{
|
||||
overlays.push_back(overlay);
|
||||
}*/
|
||||
RenderD7::Console::Console()
|
||||
|
||||
/*RenderD7::Console::Console()
|
||||
{
|
||||
this->x = 0;
|
||||
this->y = 0;
|
||||
@ -924,4 +926,4 @@ bool RenderD7::Console::Update()
|
||||
bool dr_sc = true;
|
||||
return dr_sc;
|
||||
}
|
||||
|
||||
*/
|
||||
|
@ -282,7 +282,7 @@ namespace RenderD7
|
||||
u32 outcol, incol, chcol;
|
||||
};
|
||||
void DrawCheckbox(Checkbox box);
|
||||
class Console
|
||||
/*class Console
|
||||
{
|
||||
public:
|
||||
Console();
|
||||
@ -302,7 +302,7 @@ namespace RenderD7
|
||||
RenderD7::Color::rgba color = {255, 255, 255, 255};
|
||||
RenderD7::Color::rgba outlinecol = {222, 222, 222, 255};
|
||||
RenderD7::Color::rgba barcolor = {0, 0, 0, 255};
|
||||
};
|
||||
};*/
|
||||
|
||||
bool NameIsEndingWith(const std::string &name, const std::vector<std::string> &extensions);
|
||||
void GetDirContentsExt(std::vector<RenderD7::DirContent> &dircontent, const std::vector<std::string> &extensions);
|
||||
|
Loading…
Reference in New Issue
Block a user