-
Notifications
You must be signed in to change notification settings - Fork 265
Closed
Labels
Feature requestNew driver featureNew driver feature
Description
The support implemented in #166 has some limitations on the supported texture format. I have been discussing in that (now closed) issue the possibility to support more formats but I thought it'd be better to open a new issue rather than keep talking in a closed one.
I've so far removed the quick check that limit the "create memory" to the currently supported texture format and what I noticed is that the call then hangs if you use unsupported textures.
I dug a bit into that and noticed two things :
- The hang I notice is probably some bug in the error path.
_eglDestroyImageCommonis only called ifeglExportDMABUFImageMESAfailed. So it should definitely not hang and it should return the error code instead of hanging but it's also not the root of my problem, ideally that call should work. eglExportDMABUFImageMESAfails becausedri2_can_export_dma_buf_imagereturns FALSE. And that's the root of the issue.- And the above eventually falls to missing formats in
dri2_format_table... but I have no idea if I can just add format to that table or what it implies or whatever ...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Feature requestNew driver featureNew driver feature