[squeak-dev] Re: How Morohs are rendered

Hilaire Fernandes hilaire.fernandes at edu.ge.ch
Tue Jul 19 20:28:21 UTC 2011

>> No such thing. If you're interested in the details you'll have to be
>> more specific about what aspect you're interested in. Are you trying to
>> make your graphics faster? In that case enable the preference

Yes, I try to make graphics faster on iPad.
I am tempted to think the bottleneck are the bitblt operations of the
damaged area, also the larger the whole canvas, the slower the rendering
with the same sketch.
I can try to reduce the number of damaged area.


>> #debugShowDamage and have a look at what is drawn when you change your
>> model. Then add a profiler loop in your model which looks like this:
>> MessageTally spyOn:[
>>     1 to: 100 do:[:i|
>>         self changed. "whatever caused your model to change"
>>         World doOneCycleNow. "force redraw"
>>     ].
>> ].
>> At this point you should have an idea about where to look next.

Education 0.2 -- http://blog.ofset.org/hilaire

More information about the Squeak-dev mailing list