create()方法最后都会调用这个方法 RenderScript.create(Context ctx, int sdkVersion, ContextType ct, int flags); flag:CREATE_FLAG_LOW_POWER>省电,CREATE_FLAG_LOW_LATENCY>高性能 ,`CREATE_FLAG_NONE:普通的,一般的 ContextType:
/**
* NORMAL context, this is the default and what shipping apps should
* use.
*/
NORMAL (0),
/**
DEBUG context, perform extra runtime checks to validate the
kernels and APIs are being used as intended. Get and SetElementAt
will be bounds checked in this mode.
*/
DEBUG (1),
/**
* PROFILE context, Intended to be us