@@ -0,0 +1,890 @@
+package sbname.sbcamera.opengl;%0A%0A/**%0A * Created by WindPush on 2017/2/13.%0A */%0A%0Apublic class SbCameraDrawer %7B%0A    private final String mVertexShader =%0A            %22uniform mat4 uMVPMatrix;%5Cn%22 +%0A                    %22attribute vec4 aPosition;%5Cn%22 +%0A                    %22attribute vec2 aTextureCoord;%5Cn%22 +%0A                    %22varying vec2 vTextureCoord;%5Cn%22 +%0A                    %22void main() %7B%5Cn%22 +%0A                    %22  gl_Position = uMVPMatrix * aPosition;%5Cn%22 +%0A                    %22  vTextureCoord = aTextureCoord;%5Cn%22 +%0A                    %22%7D%5Cn%22;%0A%0A    private final String mFragmentShader =%0A            %22precision mediump float;%5Cn%22 +%0A                    %22varying vec2 vTextureCoord;%5Cn%22 +%0A                    %22uniform sampler2D sTexture;%5Cn%22 +%0A                    %22void main() %7B%5Cn%22 +%0A                    %22  gl_FragColor = texture2D(sTexture, vTextureCoord);%5Cn%22 +%0A                    %22%7D%5Cn%22;%0A%7D%0A

add SbDraw for opengl when camera is preview on Glsurface