[sc-users] GUI performance issues
jostM
sc3 at glyph.de
Fri Apr 4 00:32:32 PDT 2008
It took me a bit to realize there were two different Scotts at work here ;-)
If one of you two could give me a few pointers on where it is best to
start, perhaps I will delve into the primitives. That probably won't
help for this case, but I might be able to fix things in the future then.
jostM
Scott Wilson wrote:
> Hmm. Not sure exactly why that's happening. It seems to occur even
> when the view is hidden.
>
> The Cocoa views like text view and qc are subviews of the
> SCGraphView. I would have thought hiding them was enough to prevent
> them from drawing, but obviously not. I have a vague memory of seeing
> some optimisation code disabled somewhere in the views. I'll see if I
> can figure this out when I have a moment, but in the meantime if any
> of the Cocoa gurus on the list have ideas, do speak up.
>
> S.
>
> On 3 Apr 2008, at 16:53, jostM wrote:
>
>
>> Hi Scott,
>>
>> run QD on the following;
>>
>> w=SCWindow.new.front;
>>
>> w.view.flow{arg w;
>> 20.do{
>> SCSlider(w,15 @ 150)
>> };
>>
>> SCTextView(w,100 @ 100)
>>
>> };
>>
>>
>> you will see that the textview is updated everytime you move a slider.
>> And if I have many text views, then they are all updated everytime I
>> move a slider. If I have a large text view on an invisible tab, its
>> entire area is still updated everytime I move a slider. so I think the
>> issue is in the text view primitive, and in the quartzcomposer view
>> primitive. I remember when I first started working on TabbedView, both
>> QuartComposerView and TextView would not become invisble when their
>> parent became invisible. Perhaps when this was fixed, the update
>> mechanism was missed. One of these days I will look into primitives,
>> but my work load does not allow it at the moment. Wish I could help
>> with
>> this.
>>
>> jostM
>> _______________________________________________
>> sc-users mailing list
>> sc-users at create.ucsb.edu
>> http://lists.create.ucsb.edu/mailman/listinfo/sc-users
>>
>
> _______________________________________________
> sc-users mailing list
> sc-users at create.ucsb.edu
> http://lists.create.ucsb.edu/mailman/listinfo/sc-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.create.ucsb.edu/pipermail/sc-users/attachments/20080404/2589462f/attachment.html
More information about the sc-users
mailing list