OGLPlayer: use more assertions

Change-Id: I0a224a90a3e99d12809d40612b1e66d7c023aebc
OGLWindow: use reference instead of pointer

Change-Id: I72ef9570ac9e7b4cb4afc2319725743098722d31