I'm trying to make a simple fully-native app which uses OpenGL-ES. Thanks to the ndk sample native-activity I was able to display a color on the screen.
Now I want to display the content of a cv::Mat
(capture the camera), putting it in a openGL texture.
Most of the examples involving OpenCV are using half-native app with java handling the display part. Does someone know how to create a glTexImage2D
from cv::Mat
in android native code ?
Thanks