move Swap Buffers to top of PStats list

This commit is contained in:
David Rose 2001-08-10 00:31:14 +00:00
parent 2af9c8b6a9
commit 438f5f0aed
2 changed files with 3 additions and 3 deletions

View File

@ -37,7 +37,7 @@ GraphicsWindow::WindowFactory *GraphicsWindow::_factory = NULL;
#ifndef CPPPARSER
PStatCollector GraphicsWindow::_app_pcollector("App");
PStatCollector GraphicsWindow::_show_code_pcollector("App:Show code");
PStatCollector GraphicsWindow::_swap_pcollector("Draw:Swap buffers");
PStatCollector GraphicsWindow::_swap_pcollector("Swap buffers");
PStatCollector GraphicsWindow::_clear_pcollector("Draw:Clear");
PStatCollector GraphicsWindow::_show_fps_pcollector("Draw:Show fps");
PStatCollector GraphicsWindow::_make_current_pcollector("Draw:Make current");

View File

@ -104,7 +104,8 @@ struct LevelCollectorProperties {
};
static TimeCollectorProperties time_properties[] = {
{ 1, "App", { 0.0, 1.0, 1.0 }, 1.0 / 30.0 },
{ 1, "Swap buffers", { 0.5, 1.0, 0.8 } },
{ 1, "App", { 0.0, 0.8, 0.4 }, 1.0 / 30.0 },
{ 1, "App:Animation", { 1.0, 0.0, 1.0 } },
{ 1, "App:Collisions", { 1.0, 0.5, 0.0 } },
{ 0, "App:Data graph", { 0.5, 0.8, 0.4 } },
@ -133,7 +134,6 @@ static TimeCollectorProperties time_properties[] = {
{ 1, "Draw:Quick", { 1.0, 0.0, 0.8 } },
{ 1, "Draw:Direct", { 0.0, 0.4, 1.0 } },
{ 1, "Draw:Cull", { 0.4, 1.0, 0.0 } },
{ 1, "Draw:Swap buffers", { 0.5, 1.0, 0.8 } },
{ 0, "Draw:Clear", { 0.5, 0.7, 0.7 } },
{ 0, "Draw:Show fps", { 0.5, 0.8, 1.0 } },
{ 0, "Draw:Make current", { 1.0, 0.6, 0.3 } },