How to understand the underneath of setDisplay/setSurface/setPrewviewDisplay/setPreviewTexture for Android
问题 Since Android api level 1, We can attach a MediaPlayer or Camera to the Surface with setDisplay or setPrewviewDisplay, then image data can be transfered to gpu and processed much faster. After SurfaceTexture is introduced, We can create our own texture with the target GL_TEXTURE_EXTERNAL_OES and attach the MediaPlayer or Camera to opengl es. These are well known, but what I want to talk about is the underneath which is about Android graphics architecture.(Android Graphics architecture) The