When a blob resource is created with VIRGL_RENDERER_BLOB_FLAG_USE_CROSS_DEVICE, it can be exported to foreign devices. This provides the opposite direction. When a foreign device allocates a cross-device resource, virgl_renderer_resource_import_blob imports the resource into virglrenderer. This is similar to virgl_renderer_resource_import_eglimage, but is more generic and is for blob resources. Signed-off-by: Chia-I Wu <olvaffe@gmail.com> Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by: Ryan Neph <ryanneph@google.com>macos/master
parent
2c2908b296
commit
f0b4e97975
Loading…
Reference in new issue