TI J6: How to find if my application is using GPU

前端 未结 2 690
北恋
北恋 2021-01-25 14:50

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 kno

2条回答
  •  半阙折子戏
    2021-01-25 15:39

    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.

提交回复
热议问题