Resolve "(viz): use image resource sharing in all adaptors"
Description
The following adaptors were updated to use the new GPU resource sharing mechanism:
- scene3d::STexture
- scene3d::SVideo
- scene3d::SShaderParameter
Other changes
Also some functions managing textures of scene3d::Utils were removed from the public API.
We used to employ 16 bits integers for all grayscale images that are intended to index a transfer function. Now we use the source format everywhere and rescale in the correct range in the shader. This reduces the memory footprint drastically for 8 bits texture.
Closes #932 (closed)
How to test it?
- Test Tuto07GenericScene
- Test Tuto17SimpleAR
- Test SightViewer