// TODO Should be an xml attribute. But then GPUImage can not be distributed as .jar anymore. public void setRatio(float ratio) { mRatio = ratio; mGLSurfaceView.requestLayout(); mGPUImage.deleteImage(); }