TI J6:如何查找我的应用程序是否正在使用GPU [英] TI J6: How to find if my application is using GPU

查看:496
本文介绍了TI J6:如何查找我的应用程序是否正在使用GPU的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试利用TI Jacinto 6目标中存在的GPU.我已经编译了QT5 opengl示例.我可以在TI J6上运行qt5 opengl示例.现在,我想知道运行的应用程序是否是GPU加速的.我怎么知道?

I am trying to make use of the GPU present in TI Jacinto 6 target. I have compiled the QT5 opengl examples. I am able to run the qt5 opengl examples on TI J6. Now, I want to know if the application running is GPU accelerated or not. How can I find out?

推荐答案

Qt不能神奇地GPU加速整个应用程序.除非从 QOpenGLWidget 派生小部件,否则它们不会加速.默认情况下,Qt Quick 2加速.可以在不支持OpenGL ES 2的硬件上使用软件渲染器.如果在QGraphicsView上将QOpenGLWidget设置为视口,则会加快Qt Quick 1.

Qt doesn't magically GPU-accelerate the entire application. Widgets are not accelerated unless they derive from QOpenGLWidget. Qt Quick 2 is accelerated by default; there's an option of using the software renderer on hardware that doesn't support OpenGL ES 2. Qt Quick 1 is accelerated if you set a QOpenGLWidget as a viewport on the QGraphicsView.

这篇关于TI J6:如何查找我的应用程序是否正在使用GPU的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆