winex11: Implement X11DRV_FLUSH_GDI_DISPLAY ExtEscape command

Alexandre Julliard julliard at winehq.org
Tue Dec 31 09:25:22 CST 2013


Sebastian Lackner <sebastian at fds-team.de> writes:

> Calling MsgWaitForMultipleObjects could help as a workaround for this
> patch, but would be a relatively large overhead: wineserver calls,
> listening for input events, ... - even though in windowless mode the
> plugin doesn't have any window, but just an hDC to draw on. The
> functions are called for every video frame, thats why I want to keep the
> overhead as small as possible.

You'll still need to check for events one way or another.

> Do you think it would be better to expose those functions
> (X11DRV_SET_DRAWABLE, X11DRV_FLUSH_GDI_DISPLAY) somehow else?

No, not really.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list