View Full Version : Sluggish Core Animation
Darkroom
Aug 19, 2009, 12:58 PM
in development i'm realizing that my animations can be pretty sluggish if a lot are happening at once. is that the difference between CA and OpenGL? or perhaps it's my methods to moving frames (touchesMoves continuously hammers away at setFrame: of a rect that can be as large as the screen). even CGAffineTrasformMakeTranslation moving a "large" CGRect can get pretty jagged. it seems that the smaller the CGRect, the smoother the animation, and this seems true with development on Mac OS X as well.
is OpenGL really that much faster than Core Animation?
mccannmarc
Aug 19, 2009, 01:18 PM
in development i'm realizing that my animations can be pretty sluggish if a lot are happening at once. is that the difference between CA and OpenGL? or perhaps it's my methods to moving frames (touchesMoves continuously hammers away at setFrame: of a rect that can be as large as the screen). even CGAffineTrasformMakeTranslation moving a "large" CGRect can get pretty jagged. it seems that the smaller the CGRect, the smoother the animation, and this seems true with development on Mac OS X as well.
is OpenGL really that much faster than Core Animation?
It depends what you are doing tbh, Core Animation is just a small collection of high level routines based on OpenGL anyway
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.