[interfacekit] Re: :) B_MOUSE_MOVED
- From: "Marcus Overhagen" <ml@xxxxxxxxxxxx>
- To: interfacekit@xxxxxxxxxxxxx
- Date: Wed, 09 Apr 2003 20:35:30 GMT
Adi Oanca wrote:
> In BWindow's current implementation, messages are dispatched in the
> order they arrive! That is why I've suggested adding those 4 bytes, so that
> the state of modifies won't be different when handling B=5FMOUSE=5FMOVED
> message!
>
>
> I will do it as you guys say!, but I still remain convinced that adding
> those 4 bytes will have no effect on performance!
Well, adding 4 bytes does not affect performance at all.
But please have a look at the modifiers() function.
The disassembly clearly shows that is constructs a BMessage,
askes the input server using <=5Fcontrol=5Finput=5Fserver=5F=5F=5FFP8BMessageT0>
where a BMessenger is constructed, etc.
This is huge overhead when moving the mouse.
Marcus
- Follow-Ups:
- [interfacekit] Re: :) B_MOUSE_MOVED
- From: Adi Oanca
- [interfacekit] Re: :) B_MOUSE_MOVED
- From: Axel =?iso-8859-1?q?D=F6rfler
- [interfacekit] Re: Re: :) B_MOUSE_MOVED
- From: DarkWyrm
- References:
- [interfacekit] Re: :) B_MOUSE_MOVED
- From: Adi Oanca
Other related posts:
- » [interfacekit] :-) B_MOUSE_MOVED
- » [interfacekit] :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- [interfacekit] Re: :) B_MOUSE_MOVED
- From: Adi Oanca
- [interfacekit] Re: :) B_MOUSE_MOVED
- From: Axel =?iso-8859-1?q?D=F6rfler
- [interfacekit] Re: Re: :) B_MOUSE_MOVED
- From: DarkWyrm
- [interfacekit] Re: :) B_MOUSE_MOVED
- From: Adi Oanca