Gamua / Starling-Framework

The Cross Platform Game Engine
http://www.starling-framework.org
Other
2.85k stars 819 forks source link

Show GPU memory in StatsDisplay #864

Closed henke37 closed 8 years ago

henke37 commented 8 years ago

While it's hardly the fancy feature I asked for, the new ability to track gpu memory consumption at all allows basic profiling by checking the total memory use.

PrimaryFeather commented 8 years ago

Yes, that's definitely coming. One thing I didn't find a nice solution for yet is the naming of the indictors. Right now, it's a simple FPS, MEM, DRW; but what should I add for GPU memory? Perhaps somebody else has an idea. I'd love to be able to keep it small and concise.

Otherwise, I'll have to expand all of them to longer words.

kheftel-old commented 8 years ago

GRAM? GMEM?

PrimaryFeather commented 8 years ago

Yes, something like that - I'll probably not be able to keep all of them just 3 letters. Probably "MEM" and "GMEM". Thanks, Kawika!

kheftel-old commented 8 years ago

I suppose "GRM" or "GPU" or "GME" or "GMM" is possible but none of those seem intuitive to me

PrimaryFeather commented 8 years ago

Yeah, that's not self-documenting. Perhaps I should just make all of them longer - wouldn't hurt to have a little more clarity.

henke37 commented 8 years ago

WRAM and VRAM?

kheftel-old commented 8 years ago

What does the W in WRAM stand for?

henke37 commented 8 years ago

It's Video ram and Working ram

kheftel-old commented 8 years ago

ah. makes sense now that you explain it :)

PrimaryFeather commented 8 years ago

Finally, I got around to doing this! Sorry for the long wait. Here's what it looks like now:

statsDisplay