Read the size of a window surface from the native buffer.

Currently the size of a window surface is incorrectly read from the native
window rather than the buffer associated with the created surface. With this
change, the surface size is initialized from the buffer and updated whenever
the buffer is swapped.

Bug: 23036813
Change-Id: I6c1a01ccd0da13eb13c0ba065caaa5e517075242
1 file changed