aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/scenegraph/fboitem/shaders
Commit message (Collapse)AuthorAgeFilesLines
* Remove old GLSL code from fboitem exampleLaszlo Agocs2020-09-074-29/+15
| | | | | | | There is no OpenGL path anymore in Qt 6, no point using file selectors. Change-Id: I4b7afbbb193dfe1a6e912a909babab0aeb8dcdda Reviewed-by: Andy Nichols <andy.nichols@qt.io>
* Make QQuickFbo work with the OpenGL backend of QRhiLaszlo Agocs2019-11-143-0/+36
So no matter if Quick goes directly to OpenGL, or via QRhi, QQuickFramebufferObject will still work. Also fix up the fboitem example to use a ShaderEffect that works with both rendering paths. With graphics APIs other than OpenGL the item will be empty, as QQuickFbo is not something we can support there. Task-number: QTBUG-79222 Change-Id: I52177d3a75f619f7075a2fc829573c17031eded1 Reviewed-by: Andy Nichols <andy.nichols@qt.io>