I trying to use Canvas from such methods:
Canvas mCanvas = mSurface.lockCanvas(null);
mSurface.unlockCanvasAndPost(mCanvas);
I need to display images or text on camera preview. The way I choose is to create texture from canvas, which contains views. I gonna combine this texture and texture of video frame. Is it right way?