Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
Application:setBackgroundColor(color) a draw call? — Gideros Forum

Application:setBackgroundColor(color) a draw call?

NatWobbleNatWobble Member
edited November 2015 in General questions
Hi Guys,

Gideros is nice and fast and we don't really have any performance issues, but my understanding from using other engines is that drawing the background counts as a draw call and the number of layers you draw will effect performance if you have too many layers.

The docs state that the default background colour is white, so I'm assuming that a draw call is made to draw a white layer even when you use your own backgrounds and you don't set a colour, which is pretty much a waste.

Is it possible to set the background to nil and save a draw or turn it off somehow, or could this be implemented? We noticed a big difference when we were developing HTML5 games. It might help with performance on low spec devices and will probably make a noticeable difference with HTML5.

Thanks

Comments

Sign In or Register to comment.