Merge "[RenderScript] Update documentation about API level and RS Support Lib." into mnc-mr-docs
This commit is contained in:
@@ -198,12 +198,12 @@ precision (such as SIMD CPU instructions).</p>
|
|||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 19
|
compileSdkVersion 23
|
||||||
buildToolsVersion "19.0.3"
|
buildToolsVersion "23.0.3"
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion 8
|
minSdkVersion 8
|
||||||
targetSdkVersion 16
|
targetSdkVersion 19
|
||||||
<strong>
|
<strong>
|
||||||
renderscriptTargetApi 18
|
renderscriptTargetApi 18
|
||||||
renderscriptSupportModeEnabled true
|
renderscriptSupportModeEnabled true
|
||||||
@@ -217,9 +217,9 @@ android {
|
|||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>{@code renderscriptTargetApi} - Specifies the bytecode version to be generated. We
|
<li>{@code renderscriptTargetApi} - Specifies the bytecode version to be generated. We
|
||||||
recommend you set this value to the highest available API level and set
|
recommend you set this value to the lowest API level able to provide all the functionality
|
||||||
{@code renderscriptSupportModeEnabled}
|
you are using and set {@code renderscriptSupportModeEnabled} to {@code true}.
|
||||||
to {@code true}. Valid values for this setting are any integer value
|
Valid values for this setting are any integer value
|
||||||
from 11 to the most recently released API level. If your minimum SDK version specified in your
|
from 11 to the most recently released API level. If your minimum SDK version specified in your
|
||||||
application manifest is set to a different value, that value is ignored and the target value
|
application manifest is set to a different value, that value is ignored and the target value
|
||||||
in the build file is used to set the minimum SDK version.</li>
|
in the build file is used to set the minimum SDK version.</li>
|
||||||
|
|||||||
Reference in New Issue
Block a user