
|
[haiku-appserver]
||
[Date Prev]
[10-2004 Date Index]
[Date Next]
||
[Thread Prev]
[10-2004 Thread Index]
[Thread Next]
[haiku-appserver] Re: drawing thread
- From: Adi Oanca <adioanca@xxxxxxxxxxxxx>
- To: haiku-appserver@xxxxxxxxxxxxx
- Date: Wed, 27 Oct 2004 15:08:02 +0300
DarkWyrm wrote:
>>>It's a very good trick
>>>when used properly. I suspect that it reduces context switching by
>>>eliminating redundant messages. As a result, I suspect that somehow
>>>the
>>>messages are queued client side, but I'm not sure how we should do
>>>it.
>>
>> Wait, you may be confusing things... (me too also :-) )
>> IMHO:
>> Disable/EnableUpdates() disable/enable _UPDATE_ messages being sent
>>to client side thus issuing a
>>BView::Draw().
>> Begin/EndViewTransaction() caches the whole BView::Draw() in a
>>BPicture just like you said - for
>>every BView in window. When EndViewTransaction() is called,
>>app_server will update each affected
>>view (the ones for which BPicture is not empty(or NULL)) but instead
>>of sending the _UPDATE_ message
>>if renders the associated BPicture's data.
>> What do you think?
>
> I agree that I was getting them confused in my bleariness. ooooook. :D
> I *like* the BPicture idea.
I too liked the idea. Until Stefano showed me it's wrong. :-PPP :-D
Adi.
|

|