Jump to content

How to view # of webgl draw calls


ForgeableSum
 Share

Recommended Posts

Where and how can I view the number of webgl calls in real-time? The following solutions didn't work for me:

* Phaser debug module (sometimes it work, somtimes it doesn't, based on my code

* The chrome webgl inspector extension. Hasn't been updated since 2012, is horribly buggy and doesn't show the number of calls anywhere that I can easily find.

Also, I wonder if Phaser's built-in debug class should keep track of frequency of calls? Seeing as #calls has such a major impact on performance, it might be a good idea. 

Link to comment
Share on other sites

There's always overhead in monitoring overhead.

Personally I would recommend the Firefox Canvas Debugger, it's absolutely excellent. It doesn't run in 'real time', i.e. you get a frame snapeshot when you invoke it, but it will tell you more about that one single frame than any other tool I've ever seen. I cover it here: http://phaser.io/tutorials/advanced-rendering-tutorial/part2

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...