path: root/tests/manual/rhi/offscreen
diff options
authorLaszlo Agocs <>2019-06-17 12:17:19 +0200
committerLaszlo Agocs <>2019-06-17 12:17:19 +0200
commit4c297bdca8da543c582d129f12413d29a2a520eb (patch)
treee2cdc1910d20a957fe7ac5e648d0c134008f8c36 /tests/manual/rhi/offscreen
parent39d74b5b3db328fa32f7b831936d3671d29ff0e3 (diff)
rhi: Make it possible to request making the context current on GL
Needed by Qt Quick to handle cases where the application (or other Qt) code contains OpenGL calls, and Qt Quick facilitates this by ensuring the scenegraph's GL context is current. The expectation is that when running with the GL backend of the rhi, all such code remains fully functional. So add a makeCurrent type of call into the QRhi API that is a no-op with anything other than OpenGL. Change-Id: I6f774bf828e31802bdab0c3fef9421cdc0cebe5c Reviewed-by: Lars Knoll <>
Diffstat (limited to 'tests/manual/rhi/offscreen')
0 files changed, 0 insertions, 0 deletions