title: Display cv::Mat with OpenGL in fully native app
body: <p>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 <code>cv::Mat</code> (capture the camera), putting it in a openGL texture. </p>
  
  <p>Most of the examples involving OpenCV are using half-native app with java handling the display part. Does someone know how to create a <code>glTexImage2D</code> from <code>cv::Mat</code> in android native code ?</p>
  
  <p>Thanks</p>