Node Webkit - Excessive Draw Calls?

Bugs will be moved here once resolved.

Post » Mon Feb 24, 2014 7:37 pm

Link to .capx file (required! If link is blocked remove the http and www parts):

https://dl.dropboxusercontent.com/u/184657779/C2%20problems/node%20draw%20calls%20problem.capx

Steps to reproduce:
1. Run Layout 1 in Debug using Node Webkit
2. Select full screen
3. Note - Debug : Profile : Draw Calls (for me it's approx 74%)
4. Repeat steps 1 to 3 but in a browser - draw calls show normal (for me < 1%)

Observed result:
I had been testing in Chrome with no problems (r163) - the display scales up from 450 to 1080 with smooth 60 fps. When tested on Node Webkit significant stuttering was observed due to poor display refresh rate. A little investigation showed that Node was using up a lot of resource making the draw calls. Is this a Node Webkit bug or is it a bug in C2? I did a search of the forums and couldn't find any other reports of something like this.

Expected result:
Node Webkit should perform the same as the Chrome browser - smooth 60 fps when scaled up with such a simple layout.

Browsers affected:
Chrome: no
Firefox: no
Internet Explorer: no

Operating system & service pack:Windows 7 family edition

W7 SP1 x64
B
76
S
20
G
76
Posts: 2,286
Reputation: 47,556

Post » Mon Feb 24, 2014 9:55 pm

Sounds like you're getting software rendering in node-webkit but not in a browser. I'm not sure why this would be, but node-webkit is currently based on Chrome 32 and Chrome 33 is out, so maybe there's some difference there. Closing as I don't think there's anything we can do about this.
Scirra Founder
B
403
S
238
G
89
Posts: 24,653
Reputation: 196,143

Post » Mon Feb 24, 2014 10:21 pm

OK - thanks @Ashley.
B
76
S
20
G
76
Posts: 2,286
Reputation: 47,556


Return to Closed bugs

Who is online

Users browsing this forum: LolindirLink and 5 guests