Added UI support to set OpenGL MultiSample.

Code to support it was lying around for long already, but not controlled by UI nicely.
Now you have in user preferences "System" tab an option to set it. 

NOTE:
- it only works saving as User startup.blend, and restart Blender.
- your system should support it, no check for it is visible in UI
- tested only on iMac OSX 10.7

Screenshot:
http://www.blender.org/bf/chinchilla.blend.png




git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52069 954f8c5b-7b00-dc11-b283-0030488c597c
Removed test call to set MultiSample - forgot to delete.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52070 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/cmake: rework the optional frameworks handling more osx-like, make jack weak-linked

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52071 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/ndof: test link whole framework weak rather than single functions to fix clang compile issue

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52072 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/cmake: little cleanup in ghost

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52073 954f8c5b-7b00-dc11-b283-0030488c597c
Bevel: patch from Thomas Beck fixes numeric offset input and adds wheel input for number of segments.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52074 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #33135: cycles object info random number not working anymore.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52075 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/ndof: rollback  52072, test showed we need individually weak functions -> todo: solve the clang link issue other way

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52076 954f8c5b-7b00-dc11-b283-0030488c597c
Solved issue with distorted compositor results in some cases

Originally issue was discovered when using stabilization and movie distortion
nodes, but in fact issue was caused by render layer node always doing nearest
interpolation. Now made it so this node will respect sampler passed to it's
executePixel function and do an interpolation.

Added two new functions to do bilinear/bicubic interpolation in float buffer
with variable number of components per element, so it could interpolate 1, 3
and 4 component vectors. This functions currently mostly duplicates the same
functions from imageprocess.c and it should actually be de-duplicated. Think
it's ok to leave a bit of time with such duplication, since functions should
be generalized one more time to support byte buffers, which could backfire on
readability.

Also removed mark as complex from stabilization node, which isn't needed sine
int fact this node is not complex.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52077 954f8c5b-7b00-dc11-b283-0030488c597c
Movie clip: display stabilization border even if current frame failed to load

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52078 954f8c5b-7b00-dc11-b283-0030488c597c
Removed determineDependingAreaOfInterest from movie distortion node

It wasn't used and it was incorrect anyway (distortion could be more than 100px).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52079 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles: panorama camera in viewport camera view now shows the render mapped
to the camera border rather than the entire viewport.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52080 954f8c5b-7b00-dc11-b283-0030488c597c
- property sensor was converting floating point values to text then back to float - for floating point properties.
- IntValue's GetNumber() was convert int -> float -> double.
- BL_Shader was using STR_String rather then char*, where most callers had a char*, use a char* to avoid STR_String conversion-and-alloc on shader access.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52081 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: bge - rename 'type' to 'use_mcol' in material conversion.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52082 954f8c5b-7b00-dc11-b283-0030488c597c
game engine material conversion: don't use the material to convert vertex colors, then extract back out (pre face).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52083 954f8c5b-7b00-dc11-b283-0030488c597c
bge mesh conversion speedup, avoid calling ConvertMaterial() on every face.
now do per material bucket.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52084 954f8c5b-7b00-dc11-b283-0030488c597c
SVN maintenance.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52085 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #32398: Mirror modifier with "Merge" enabled producing pairs of faces
sharing the same set of vertices.

Modified the CDDM_merge_verts function (currently only used by the Mirror
modifier) to skip faces using all merged vertices.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52086 954f8c5b-7b00-dc11-b283-0030488c597c
Code de-duplication in imageprocess.c -- made it use interpolation functions from blenlib

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52087 954f8c5b-7b00-dc11-b283-0030488c597c
replace 0 and 1 with FALSE and TRUE in BLF_global_font_init in blf.c

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52088 954f8c5b-7b00-dc11-b283-0030488c597c