mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
move Swap Buffers to top of PStats list
This commit is contained in:
parent
2af9c8b6a9
commit
438f5f0aed
@ -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");
|
||||
|
@ -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 } },
|
||||
|
Loading…
x
Reference in New Issue
Block a user