we need glew initalized before testing through it for features

Change-Id: I4999de29b2a12888129ab291344b239b8def373c
remove these unnecessary typedefs

Change-Id: Iae2dc2d9bcc40bf7b45cd319a8be46b040d9ec23
avoid temporary copy

Change-Id: Ica949141c58d7ebb85f246dee4109c39ee8f889e