Sluggish Core Animation

Discussion in 'iOS Programming' started by Darkroom, Aug 19, 2009.

  1. Darkroom Guest

    Darkroom

    Joined:
    Dec 15, 2006
    Location:
    Montréal, Canada
    #1
    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?
     
  2. mccannmarc macrumors 6502

    mccannmarc

    Joined:
    Aug 15, 2008
    Location:
    Manchester, UK
    #2
    It depends what you are doing tbh, Core Animation is just a small collection of high level routines based on OpenGL anyway
     

Share This Page