Open bmegli opened 4 years ago
Side note:
And the C++ version rs2::gl::align
We clearly need development headers and link with realsense2-gl for this:
# Ubuntu 18.04
sudo apt-get install librealsense2-gl-dev
# CMake
target_link_libraries(realsense-nhve-depth-color nhve realsense2 realsense2-gl)
Proof of concept implemented in 99bb1f7.
By watching htop
, intel_gpu_top
and nvidia-smi
with and without GL acceleration I can see that:
On the receiving side I get black screen with GL acceleration enabled (on sender).
There is some problem - maybe the data is not downloaded to CPU side for sending.
It seems like you didn't call rs2::init_rendering(), for me this made the difference between blank screen and output as described here https://github.com/IntelRealSense/librealsense/issues/11827
Hi @bmegli,
Please refer the PR https://github.com/IntelRealSense/librealsense/pull/12556.
An example for Align-GL has been added to the development
branch.
Thanks.
Part of #23