@Override
	public void surfaceDestroyed(SurfaceHolder holder) {
		if (mThread != null) {
			mThread.interrupt();
		}
		mRunning = false;
	}
The surface view will fill completely fill its parent.
src/net/majorkernelpanic/streaming/gl/SurfaceView.java