Skip to content
Commit a4dedb64 authored by Xaver Hugl's avatar Xaver Hugl
Browse files

backends/drm: handle multiple OpenGl contexts more correctly

In order to destroy resources from a context on the secondary GPU, that
context needs to be current. We also want to destroy the context once it's
no longer used, if the GPU is unplugged etc, so this commit uses shared
and weak pointers to manage the lifetime of the contexts
parent ed0974b8
Pipeline #488646 passed with stage
in 9 minutes and 8 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment