我想知道对应于以下委托方法返回的宽度和高度:
public void onSurfaceChanged(GL10 gl, int width, int height)
{
}
在我的Samsung S8上,它返回以下值:
02-20 11:36:42.790 D/GLSurfaceRenderer: onSurfaceChanged
02-20 11:36:42.790 D/MyApp: onSurfaceChanged viewWidth 1080
02-20 11:36:42.790 D/MyApp: onSurfaceChanged viewHeight 2004
02-20 11:36:43.140 D/GLSurfaceRenderer: onSurfaceChanged
02-20 11:36:43.141 D/MyApp: onSurfaceChanged viewWidth 1080
02-20 11:36:43.141 D/MyApp: onSurfaceChanged viewHeight 2076
我不明白它对应的内容。