sony / flutter-elinux

Flutter tools for embedded Linux (eLinux)
BSD 3-Clause "New" or "Revised" License
429 stars 43 forks source link

A question about drm #123

Closed fayfive closed 2 years ago

fayfive commented 2 years ago

As I know, DRM divide into planes, but flutter elinux never shows which plane is using and qt can specify. And my app want to using two planes, one is flutter, anther is video. Can elinux flutter do that?

HidenoriMatsubayashi commented 2 years ago

I'm not sure what you wan to do, but basically current embedder for DRM backend doesn't support overlay with multi plane.

And my app want to using two planes, one is flutter, anther is video.

In Flutter, it's usually done with an embedder. No need to use post-DRM.

fayfive commented 2 years ago

Similarly, QT can specify which layer it runs. For example, there are 2 planes. Flutter can run on number 1 or 2. I want to do that flutter runs on the top layer. The second is to play a video. Because video to drm is faster. The flutter ui can be slower, and the flutter ui is about 50% transparent

HidenoriMatsubayashi commented 2 years ago

I see. But it's out/against of flutter's design.

fayfive commented 2 years ago

I don't think so. Because flutter just use one plane. Flutter drm can not do it now? And which plane does flutter drm use?

HidenoriMatsubayashi commented 2 years ago

Because flutter just use one plane.

Right, so flutter-elinux for drm doesn't support multi plane overlay.

HidenoriMatsubayashi commented 2 years ago

I'll close the issue.