哪种嵌入式 Linux 窗口系统支持硬件覆盖?

发布于 2024-08-10 08:34:32 字数 241 浏览 4 评论 0原文

哪种嵌入式 Linux 窗口系统支持硬件覆盖

是否可以在嵌入式 Linux 的 Qt 中添加硬件覆盖支持?

Which windowing system for embedded linux supports hardware overlay?

Is it possible to add hardware overlay support in Qt for embedded Linux?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

夏末染殇 2024-08-17 08:34:32

Qt for Embedded Linux 使用 Qt 自己的窗口系统。为了渲染图形,使用后端。其中一些后端支持硬件图形加速 - 例如用于基于 OMAP 的高端系统的 PowerVR 后端。在这里,您可能可以创建覆盖,但您必须使用 Qt 来完成,因为 Qt 完全拥有屏幕。

我使用的另一种替代方案(当实现机顶盒功能时,即视频上的 UI)是为 Qt 编写一个自定义后端,然后为其配备额外的挂钩,您可以使用这些挂钩来控制覆盖功能(即从您的 Qt 应用程序中绕过 Qt)。但我想这种方法算是一种黑客行为!

Qt for Embedded Linux uses Qt's own windowing system. For rendering the graphics, back-ends are used. Some of these back-ends support hardware graphics acceleration - for instance the PowerVR back-end used for high-end OMAP-based systems. Here, you can probably create overlays, but you will have to do it using Qt, as Qt takes full ownership of the screen.

Another alternative that I've used (when implemented a set-top-box functionality, i.e. UI over video) is to write a custom back-end for Qt and then equip it with additional hooks that you can use to control the overlay functionality (i.e. circumvent Qt from within your Qt application). But I guess that approach counts as a hack!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文