fixed window pos not being restored when toggling fullscreen. also fixes the fact that glfwSetWindowPos is inverted for y.
change uniform vec4 color -> uniform vec4 drawColor

this changes, within the programmableGL default shaders, the naming for the color uniform and color attributes.

this allows us to use "color" for the shader attribute parameter, and drawColor for the shader uniform parameter.

* "color" is the vertex colour, while
* "drawColor" is set through the  Material colour / the current openFrameworks draw colour value

Also stringifies the OpenGL default shaders for easier legibility.

Signed-off-by: tgfrerer <tim@poniesandlight.co.uk>
fix getModelViewPorjectionMatrix -> getModelViewProjectionMatrix

fixes a typo

Signed-off-by: tgfrerer <tim@poniesandlight.co.uk>
Merge branch 'develop' of github.com:openframeworks/openFrameworks into bugfix-glfw-fixes
change openFrameworks draw color variable name for programmable GL default shaders to "globalColor"

Signed-off-by: tgfrerer <tim@poniesandlight.co.uk>
Merge pull request #2188 from tgfrerer/update_programmableGL-shader-attributes

rename programmable GL shader attributes
add missing semicolon ;-)

Signed-off-by: tgfrerer <tim@poniesandlight.co.uk>
GLFW fixes: setWindowPosition for OS X. Enables 4x sampling as default. Fixes restore window pos afteer fullscreen.
Adds setMultiDisplayFullscreen for fullscreen across multiple windows ( needs win and nix implementation )
Merge branch 'develop' of github.com:openframeworks/openFrameworks into bugfix-glfw-fixes
fix RPi critical compilation issue

this fixes an issue where openFrameworksLib on RPi wouldn't compile due to an #ifdef out-scoping the variable "bpp" in ofGstVideoGrabber:

"variable 'bpp' not declared"

I've pulled out the bpp declaration & initialisation to be outside the #ifdef block, please @arturoc check if that's not completely whacky.

Signed-off-by: tgfrerer <tim@poniesandlight.co.uk>
bugfix GLFW osx, key and mouse events now work on fullscreen toggle.
Merge pull request #2192 from openframeworks/bugfix-glfw-fixes

Bugfix glfw fixes - work in progress.
Merge pull request #2193 from tgfrerer/fix_rpiCompilationIssues

Fix rpi compilation issues
bugfix GLFW delete/backspace/return keys were not coming in. also ctrl click alt click were not coming in as left right click. closes #2197
bugfix GLFW fix for shift key changing case of letter
bugfix glfw key presses reverted to LEFT/RIGHT types. ofEvents fix for detecting OF_KEY_ALT OF_KEY_CTRL etc
external display mirror mode is now default

- also cleaned up ofxiPhoneAppDelegate up a little bit,
  - cleaned up formatting.
  - including ofxiPhoneViewController class reference in the
ofxiPhoneAppDelegate implementation file.
  - adjusted iosCustomSizeExample to include a reference to
ofxiPhoneViewController
Merge pull request #2200 from julapy/ios-mirror-mode-by-default

ios external display mirror mode is now default
ofAppGLFWWindow: adds multimonitor fullscreen for linux, related to issue #2195
Merge branch 'develop' of github.com:openframeworks/openFrameworks into develop