2 May 2012 1:11 AM #1
Unanswered: Canvas drawing slow while backface visibility is hidden
I am in big dilemma regarding this.
For last many days, i have been struggling canvas drawing operation(different shapes) in sencha touch application.
The drawing of lines where a bit slow while the finger moved ahead of the line while drawing it in the IPAD in canvas.
I was not able to figure out that what made this application little slow. Then suddenly, when i added backface-visiblity: visible, propery in css of the body, the drawing become faster as it should be.
But what is the importance of this css in relation to canvas drawing, as there is no animation going on while drawing something on canvas?
3 May 2012 12:39 PM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
I have seen some device act differently with backface rule, like CSS3 animations get affected. It's just how the device handles certain CSS rules.Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
3 May 2012 9:50 PM #3
Thanks for your time.
But i hope someone exactly knows what is the problem behind this, as to trace this was a big problem, and i solved it accidentally, that's not possible for all who might face this problem in future.