On Monday, 8 de August de 2011 07:38:49 Holger Freyther wrote:
> > Now here's a good question: how do I write a Lighthouse program that
> > embeds
> > another program? Do I use QX11EmbedContainer or QMacCocoaViewContainer?
> > The
> > long-term answer will probably be a QML item, but until QML is ready for
> > the desktop, how do I my app?
> > 
> > Another would be a question of whether to link to X11 or libwayland or
> > something else on Q_OS_LINUX. The answer will probably be to make them
> > plugin.
> (didn't know how much to snip)
> 
> WebKit:
>   Let us pretend that Mozilla has specified NPAPI for Wayland and X11
>   and that we have built PluginProcessWayland and PluginProcessX11 for
>   WebKit2. Depending on which criteria should we decide which one to
>   start?

We need to provide a function that gives this information at runtime. Then you 
choose which plugin to load.

> Hacks:
>   I would also hack around for better video integration with directFB, e.g
>   create QPixmapData::VideoPixmapData, or find another way to have a
>   QPixmap that wraps a DirectFBSurface.
>   Right now in WebKit we have a custom GStreamer Video Sink that only
>   advertises RGB color support, I would like the video decoder decode
>   directly to video memory in YUV.

QPixmap is directly implemented by the Lighthouse backend. It should be the 
most efficient surface for drawing by that backend.

But just as we have QPixmap::fromX11Pixmap, we can think of specialised API 
for specialised needs. Case-by-case basis, I guess.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to