[interfacekit] Re: :) B_MOUSE_MOVED

"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.


Other related posts: