[vlc-devel] [PATCH v5 00/24] Get rid of the control command API
Alexandre Janniaux
ajanni at videolabs.io
Thu Aug 27 17:31:19 CEST 2020
Hi,
On Mon, Aug 24, 2020 at 05:01:04PM +0300, Rémi Denis-Courmont wrote:
> Le maanantaina 24. elokuuta 2020, 10.41.41 EEST Steve Lhomme a écrit :
> > Changes since v4:
> > - split the "mouse-moved" variables in 2 versions: one in video area
> > coordinates one in original video coordinates.
>
> We never did that because it is utterly pointless.
>
> By definition, the window coordinates can only mean anything in the window
> provider. And the window provider already knows those values, needs not have
> core callbacks to receive its own events.
>
> As the obvious example, if you want to draw something where the pointer is,
> you will either need:
> - the window handle and the coordinates relative to the window (if compositing
> is involved, this won't even match the video area coordinates), or
> - absolute coordinates (relative to root window).
Actually it would make sense for a subpicture source filter
if we're able to define coordinates in the display space /
video area too, but I'm not sure whether it's currently
possible or not, and how the event should be handled in that
case.
I don't follow what compositing has to do here though.
Coordinates has to match in most compositors system
I know.
Regards,
--
Alexandre Janniaux
Videolabs
More information about the vlc-devel
mailing list