FROM : John Stiles
DATE : Tue Feb 12 23:17:05 2008
Paul Bruneau wrote:
> If anyone likes looking at newbie code for stupid things, now is your
> chance. I'll happily take any tips, comments, or even derision. My
> biggest fear is to hear "There's nothing you can do about it--stuff
> takes time" to which I would respond, "Then how does Blizzard do it!?
> I know they are drawing more than 226 rectangles!"
At Blizzard, we render graphics with OpenGL, which is going to be a lot
faster than anything you can do on the CPU :)
I haven't looked at your code, but have you experimented with
CoreAnimation at all? This would let you leverage the GPU for your
drawing as well, which might help.
DATE : Tue Feb 12 23:17:05 2008
Paul Bruneau wrote:
> If anyone likes looking at newbie code for stupid things, now is your
> chance. I'll happily take any tips, comments, or even derision. My
> biggest fear is to hear "There's nothing you can do about it--stuff
> takes time" to which I would respond, "Then how does Blizzard do it!?
> I know they are drawing more than 226 rectangles!"
At Blizzard, we render graphics with OpenGL, which is going to be a lot
faster than anything you can do on the CPU :)
I haven't looked at your code, but have you experimented with
CoreAnimation at all? This would let you leverage the GPU for your
drawing as well, which might help.
| Related mails | Author | Date |
|---|---|---|
| Paul Bruneau | Feb 12, 23:02 | |
| John Stiles | Feb 12, 23:17 | |
| Peter Ammon | Feb 12, 23:31 | |
| Greg Titus | Feb 12, 23:39 | |
| Graham | Feb 12, 23:49 | |
| Erik Buck | Feb 13, 00:51 | |
| Paul Bruneau | Feb 13, 14:22 | |
| Paul Bruneau | Feb 13, 14:22 | |
| John Stiles | Feb 13, 18:41 | |
| Paul Bruneau | Feb 14, 14:47 | |
| Paul Bruneau | Feb 14, 15:13 | |
| Paul Bruneau | Feb 14, 15:26 | |
| Kyle Sluder | Feb 14, 16:43 |






Cocoa mail archive

