make sure that all shaders contain a version string

This is necessary for OSX where we are using a core context that does
not implement any legacy features anymore.

Change-Id: I59536e99761691d910fef62cf82ceb03e57725ae
we need to switch to OpenGL 3.2 core for OSX

A 3.2 core context only supports GLSL 150 core and above. This at least
removes all vompile errors related to missing or wrong version
requirements. In a next step we need to make use of modern GLSL features
now.

Change-Id: I59f1bc84ab4f64cc6520309b7da25adc3e116997
replace all attribute and varying in chart shaders

Next step to a pure OpenGL 3.2 core context.

Change-Id: Ifcfccd9ffc8adcc3b7338e10cb25aeb8496909a3
texture*D in GLSL is deprecated and not available in core contexts

Change-Id: Ia5da0899d73aea22fe7bae735e57e30dcd37b254
fix my last core shader error

Now all shaders compile cleanly against a core context without
deprecated functions.

Change-Id: I53c1fe04e07247f94ad5e3a17819cebea0a9f535
glEnable(GL_TEXTURE_2D) is deprecated

Change-Id: Ic4ee5414fbbea3d73655b52e66cb397220e61566
GL_POINT_SMOOTH is deprecated

Change-Id: Id81a238ed71c8c2f9297e14f6f37d148f29cfbca
GL_TEXTURE_WRAP_* is deprecated

Change-Id: I2604a6d647c912a91da156072b9821b2abe52b48
GL_LIGHTING is deprecated

Change-Id: I6280af7182f4afefe39ef676024caa9c21f089ff
fixed pipeline functions are not available in core context

Change-Id: I50f5e876da902181f8ab5c9571df61f035630218
don't even try to create a shape for non existing values

Change-Id: I0af9285c2fa0371607e9ec750bb07968244c44d8
add a note about deprecated functionality

Change-Id: Ic980e633f7c9cdcbb3a1b512d66bfd8279d16339
WIP debug statements
add possibility to request a compatibility context

Change-Id: I0135e81f925fda19c06144d21d2f2b0efc9e57be
use glew instead of directly including OpenGL headers

Change-Id: I7337d2d2f116f465bf6988dd9c7997b0267ca1cc
don't try to use X11 functions on OSX

Change-Id: Ife987833a52c7ed0b55f1003df1ee0dad2011cc0
request a legacy context for OGLTrans

Change-Id: If001121da14ca9d15f6c36af30428f1851710524
fix shader names, the .glsl is attached in OpenGLHelper::LoadShader

Change-Id: I267c1fefa5330359f3aea0d57d38a153232b655f
use generic implementation for OSX

Change-Id: I9b82ca8bb6c1c6453bbedac2c60bec4d6a98c009
make the shaders compliant to GLSL 1.2

Change-Id: Ic15760ca40d719ae333003c9bc241c813cb284fa