Wholesale changes to RenderScript API - must only be used with MPDN v2.11.0 and above.
Manual merge from Shiandow's work branch.