use of com.seu.magicfilter.display.MagicCameraDisplay in project MagicCamera by wuhaoyu1990.
the class CameraActivity method initMagicPreview.
private void initMagicPreview() {
GLSurfaceView glSurfaceView = (GLSurfaceView) findViewById(R.id.glsurfaceview_camera);
FrameLayout.LayoutParams params = new LayoutParams(Constants.mScreenWidth, Constants.mScreenHeight);
glSurfaceView.setLayoutParams(params);
mMagicCameraDisplay = new MagicCameraDisplay(this, glSurfaceView);
}
Aggregations