invert Y texture coordinate in box primitive
Apothecary Update for Xcode 6 and new SDKs

- Using Xcode defaults now (so more dynamic) for iOS SDK, OSX SDK
- Set default SDK levels to current
clarify getCurrentViewport

currentViewport was used as a shadowing local variable - this change is purely for code clarification.
GPU optim # 1

store uniform locations even if location returns -1. If uniform location would not be stored, many unnecessary glGetUniformLocation requests would be issued on every draw call.

This is especially pronounced if custom shaders were used which do not define the built-in shader uniforms.

Since the uniform locations cannot change once a shader is linked, a failure to look up the uniform on the first frame will also mean a failure to look it up on every following frame. By catching this early, we don't incur a driver overhead penalty per uniform per frame.
GPU optim #2

native viewport caching.

Since most apps just use one render viewport, it pays off to cache the render viewport and only issue a glGetInteger Query should the viewport have changed.

Before this, the viewport would have been queried twice a frame at least.

glGetInteger() has the potential for high driver overhead, since worst case the pipeline needs to be flushed before the query can return, and the CPU can continue issueing commands.
Documentation for ofVideoGrabber's base classes.
Merge branch 'master' of git://github.com/openframeworks/openFrameworks into documentation-baseclasses
Additional base class documentation.
Clean up spaces.
Convert spaces to tabs to match existing.
Update to use links rather than enumerations -- future proof.
Update to fix typos and add template params.
Updates to fix typos.
Updates to fix typos.
Move documentation from implementation to header.
Merge branch 'master' of git://github.com/openframeworks/openFrameworks into documentation-ofImage
Minor grammar/code example fixes
Merge pull request #21 from mikewesthad/documentation-baseclasses

Minor grammar/code example fixes for documentation
set tab indentation in xcode OF projects
fixed bug where getIndexAtLength(perimeter) returns 0 instead of the final index. closes #3389