[interfacekit] Re: :) B_MOUSE_MOVED
- From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
- To: interfacekit@xxxxxxxxxxxxx
- Date: Wed, 09 Apr 2003 22:30:29 +0200 CEST
"Marcus Overhagen" <ml@xxxxxxxxxxxx> wrote:
> Adi Oanca wrote:
> > 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 <=3D5Fcontrol=3D5Finput=3D5Fserver=3D5F=3D5F=3D
> 5FFP8BMessageT0>
> where a BMessenger is constructed, etc.
> This is huge overhead when moving the mouse.
Oh, didn't know that. We should probably "fix" this implementation with
a shared page for common data between the input=5Fserver/app=5Fserver/
application.
In that case, Adi's idea to add the modifiers in the B=5FMOUSE=5FMOVED
message wouldn't be bad. Although it wouldn't help much, since no
current application would make use of it.
Adios...
Axel.
- References:
- [interfacekit] Re: :) B_MOUSE_MOVED
- From: Marcus Overhagen
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: Marcus Overhagen