2 * Copyright (C) 2016 The Android Open Source Project
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 // Don't edit this file! It is auto-generated by frameworks/rs/api/generate.sh.
20 * rs_core.rsh: Overview
22 * RenderScript is a high-performance runtime that provides compute operations at the native level.
23 * RenderScript code is compiled on devices at runtime to allow platform-independence as well.
25 * This reference documentation describes the RenderScript runtime APIs, which you can utilize
26 * to write RenderScript code in C99. The RenderScript compute header files are automatically
29 * To use RenderScript, you need to utilize the RenderScript runtime APIs documented here as well
30 * as the Android framework APIs for RenderScript. For documentation on the Android framework
31 * APIs, see the android.renderscript package reference.
33 * For more information on how to develop with RenderScript and how the runtime and Android
34 * framework APIs interact, see the RenderScript developer guide and the RenderScript samples.
37 #ifndef RENDERSCRIPT_RS_CORE_RSH
38 #define RENDERSCRIPT_RS_CORE_RSH
40 #define RS_KERNEL __attribute__((kernel))
44 #include "rs_value_types.rsh"
45 #include "rs_object_types.rsh"
47 #include "rs_allocation_create.rsh"
48 #include "rs_allocation_data.rsh"
49 #include "rs_atomic.rsh"
50 #include "rs_convert.rsh"
51 #include "rs_debug.rsh"
52 #include "rs_for_each.rsh"
54 #include "rs_math.rsh"
55 #include "rs_matrix.rsh"
56 #include "rs_object_info.rsh"
57 #include "rs_quaternion.rsh"
58 #include "rs_time.rsh"
59 #include "rs_vector_math.rsh"
61 #endif // RENDERSCRIPT_RS_CORE_RSH