Commit 3f8962e9 authored by VaL Doroshchuk's avatar VaL Doroshchuk
Browse files

imx: Fallback to copying data if mapping has not succeeded


Some formats or data might be unsupported and not possible to use them in glTexDirectVIVMap.
If glTexDirectVIVMap returns an error then need to upload data to memory
created by the driver using glTexDirectVIV.
If at least one such error has occurred, all next video frames will be copied via glTexDirectVIV
without trying to map again.

Task-number: QTBUG-50927
Change-Id: I0715d4b244139b8d3f49d8bd2fc905f3fd55556c
Reviewed-by: default avatarChristian Stromme <christian.stromme@qt.io>
parent beed240a
Branches
Tags
No related merge requests found
Showing with 41 additions and 34 deletions
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