Home
last modified time | relevance | path

Searched refs:RenderScript (Results 1 – 25 of 453) sorted by relevance

12345678910>>...19

/frameworks/rs/support/java/src/androidx/renderscript/
DElement.java170 if (RenderScript.sPointerSize == 8) { in DataType()
317 public static Element BOOLEAN(RenderScript rs) { in BOOLEAN()
331 public static Element U8(RenderScript rs) { in U8()
345 public static Element I8(RenderScript rs) { in I8()
352 public static Element U16(RenderScript rs) { in U16()
359 public static Element I16(RenderScript rs) { in I16()
366 public static Element U32(RenderScript rs) { in U32()
373 public static Element I32(RenderScript rs) { in I32()
380 public static Element U64(RenderScript rs) { in U64()
387 public static Element I64(RenderScript rs) { in I64()
[all …]
DSampler.java65 Sampler(long id, RenderScript rs) { in Sampler()
112 public static Sampler CLAMP_NEAREST(RenderScript rs) { in CLAMP_NEAREST()
132 public static Sampler CLAMP_LINEAR(RenderScript rs) { in CLAMP_LINEAR()
152 public static Sampler CLAMP_LINEAR_MIP_LINEAR(RenderScript rs) { in CLAMP_LINEAR_MIP_LINEAR()
172 public static Sampler WRAP_NEAREST(RenderScript rs) { in WRAP_NEAREST()
192 public static Sampler WRAP_LINEAR(RenderScript rs) { in WRAP_LINEAR()
212 public static Sampler WRAP_LINEAR_MIP_LINEAR(RenderScript rs) { in WRAP_LINEAR_MIP_LINEAR()
232 public static Sampler MIRRORED_REPEAT_NEAREST(RenderScript rs) { in MIRRORED_REPEAT_NEAREST()
252 public static Sampler MIRRORED_REPEAT_LINEAR(RenderScript rs) { in MIRRORED_REPEAT_LINEAR()
269 RenderScript mRS;
[all …]
DScriptC.java45 protected ScriptC(long id, RenderScript rs) { in ScriptC()
57 protected ScriptC(RenderScript rs, Resources resources, int resourceID) { in ScriptC()
74 protected ScriptC(RenderScript rs, String resName, byte[] bitcode32, byte[] bitcode64) { in ScriptC()
77 if (RenderScript.sPointerSize == 4) { in ScriptC()
88 …private static synchronized long internalCreate(RenderScript rs, Resources resources, int resource… in internalCreate()
125 …private static synchronized long internalStringCreate(RenderScript rs, String resName, byte[] bitc… in internalStringCreate()
/frameworks/base/rs/java/android/renderscript/
DElement.java168 if (RenderScript.sPointerSize == 8) { in DataType()
315 public static Element BOOLEAN(RenderScript rs) { in BOOLEAN()
333 public static Element U8(RenderScript rs) { in U8()
351 public static Element I8(RenderScript rs) { in I8()
362 public static Element U16(RenderScript rs) { in U16()
373 public static Element I16(RenderScript rs) { in I16()
384 public static Element U32(RenderScript rs) { in U32()
395 public static Element I32(RenderScript rs) { in I32()
406 public static Element U64(RenderScript rs) { in U64()
417 public static Element I64(RenderScript rs) { in I64()
[all …]
DScriptC.java38 protected ScriptC(int id, RenderScript rs) { in ScriptC()
48 protected ScriptC(long id, RenderScript rs) { in ScriptC()
59 protected ScriptC(RenderScript rs, Resources resources, int resourceID) { in ScriptC()
73 protected ScriptC(RenderScript rs, String resName, byte[] bitcode32, byte[] bitcode64) { in ScriptC()
76 if (RenderScript.sPointerSize == 4) { in ScriptC()
87 …private static synchronized long internalCreate(RenderScript rs, Resources resources, int resource… in internalCreate()
119 return rs.nScriptCCreate(resName, RenderScript.getCachePath(), pgm, pgmLength); in internalCreate()
122 …private static synchronized long internalStringCreate(RenderScript rs, String resName, byte[] bitc… in internalStringCreate()
124 return rs.nScriptCCreate(resName, RenderScript.getCachePath(), bitcode, bitcode.length); in internalStringCreate()
DAllocation.java382 Allocation(long id, RenderScript rs, Type t, int usage) { in Allocation()
416 RenderScript.registerNativeAllocation.invoke(RenderScript.sRuntime, mSize); in Allocation()
418 Log.e(RenderScript.LOG_TAG, "Couldn't invoke registerNativeAllocation:" + e); in Allocation()
424 … Allocation(long id, RenderScript rs, Type t, boolean owningType, int usage, MipmapControl mips) { in Allocation()
431 RenderScript.registerNativeFree.invoke(RenderScript.sRuntime, mSize); in finalize()
533 Trace.traceBegin(RenderScript.TRACE_TAG, "syncAll"); in syncAll()
555 Trace.traceEnd(RenderScript.TRACE_TAG); in syncAll()
568 Trace.traceBegin(RenderScript.TRACE_TAG, "ioSend"); in ioSend()
576 Trace.traceEnd(RenderScript.TRACE_TAG); in ioSend()
587 Trace.traceBegin(RenderScript.TRACE_TAG, "ioReceive"); in ioReceive()
[all …]
DSampler.java52 Sampler(long id, RenderScript rs) { in Sampler()
100 public static Sampler CLAMP_NEAREST(RenderScript rs) { in CLAMP_NEAREST()
124 public static Sampler CLAMP_LINEAR(RenderScript rs) { in CLAMP_LINEAR()
148 public static Sampler CLAMP_LINEAR_MIP_LINEAR(RenderScript rs) { in CLAMP_LINEAR_MIP_LINEAR()
172 public static Sampler WRAP_NEAREST(RenderScript rs) { in WRAP_NEAREST()
196 public static Sampler WRAP_LINEAR(RenderScript rs) { in WRAP_LINEAR()
220 public static Sampler WRAP_LINEAR_MIP_LINEAR(RenderScript rs) { in WRAP_LINEAR_MIP_LINEAR()
244 public static Sampler MIRRORED_REPEAT_NEAREST(RenderScript rs) { in MIRRORED_REPEAT_NEAREST()
268 public static Sampler MIRRORED_REPEAT_LINEAR(RenderScript rs) { in MIRRORED_REPEAT_LINEAR()
292 public static Sampler MIRRORED_REPEAT_LINEAR_MIP_LINEAR(RenderScript rs) { in MIRRORED_REPEAT_LINEAR_MIP_LINEAR()
[all …]
DProgramRaster.java56 ProgramRaster(long id, RenderScript rs) { in ProgramRaster()
85 public static ProgramRaster CULL_BACK(RenderScript rs) { in CULL_BACK()
97 public static ProgramRaster CULL_FRONT(RenderScript rs) { in CULL_FRONT()
109 public static ProgramRaster CULL_NONE(RenderScript rs) { in CULL_NONE()
122 RenderScript mRS;
130 public Builder(RenderScript rs) { in Builder()
DFileA3D.java78 RenderScript mRS;
133 static synchronized BaseObj internalCreate(RenderScript rs, IndexEntry entry) { in internalCreate()
161 IndexEntry(RenderScript rs, int index, long id, String name, EntryType type) { in IndexEntry()
174 FileA3D(long id, RenderScript rs, InputStream stream) { in FileA3D()
237 static public FileA3D createFromAsset(RenderScript rs, AssetManager mgr, String path) { in createFromAsset()
258 static public FileA3D createFromFile(RenderScript rs, String path) { in createFromFile()
278 static public FileA3D createFromFile(RenderScript rs, File path) { in createFromFile()
293 static public FileA3D createFromResource(RenderScript rs, Resources res, int id) { in createFromResource()
/frameworks/rs/script_api/
Drs_core.spec20 RenderScript is a high-performance runtime that provides compute operations at the native level.
21 RenderScript code is compiled on devices at runtime to allow platform-independence as well.
23 This reference documentation describes the RenderScript runtime APIs, which you can utilize
24 to write RenderScript code in C99. The RenderScript compute header files are automatically
27 To use RenderScript, you need to utilize the RenderScript runtime APIs documented here as well
28 as the Android framework APIs for RenderScript. For documentation on the Android framework
31 For more information on how to develop with RenderScript and how the runtime and Android
32 …>RenderScript developer guide</a> and the <a target="_parent" href="http://developer.android.com/r…
Drs_object_types.spec20 The types below are used to manipulate RenderScript objects like allocations, samplers,
21 elements, and scripts. Most of these object are created using the Java RenderScript APIs.
25 // Opaque handle to a RenderScript object. Do not use this directly.
46 An opaque handle to a RenderScript element.
55 An opaque handle to a RenderScript type.
64 An opaque handle to a RenderScript allocation.
73 An opaque handle to a RenderScript sampler object.
82 An opaque handle to a RenderScript script object.
195 Android YUV formats that can be associated with a RenderScript Type.
/frameworks/compile/slang/tests/P_reflection3264_divergent_support/
DScriptField_DivergentNest.java.expect46 public static Element createElement(RenderScript rs) {
49 if (RenderScript.getPointerSize() == 8) {
55 if (RenderScript.getPointerSize() == 8) {
62 private ScriptField_DivergentNest(RenderScript rs) {
68 public ScriptField_DivergentNest(RenderScript rs, int count) {
75 public ScriptField_DivergentNest(RenderScript rs, int count, int usages) {
82 public static ScriptField_DivergentNest create1D(RenderScript rs, int dimX, int usages) {
88 public static ScriptField_DivergentNest create1D(RenderScript rs, int dimX) {
92 public static ScriptField_DivergentNest create2D(RenderScript rs, int dimX, int dimY) {
96 …public static ScriptField_DivergentNest create2D(RenderScript rs, int dimX, int dimY, int usages) {
[all …]
DScriptField_Divergent.java.expect45 public static Element createElement(RenderScript rs) {
48 if (RenderScript.getPointerSize() == 8) {
54 if (RenderScript.getPointerSize() == 8) {
61 private ScriptField_Divergent(RenderScript rs) {
67 public ScriptField_Divergent(RenderScript rs, int count) {
74 public ScriptField_Divergent(RenderScript rs, int count, int usages) {
81 public static ScriptField_Divergent create1D(RenderScript rs, int dimX, int usages) {
87 public static ScriptField_Divergent create1D(RenderScript rs, int dimX) {
91 public static ScriptField_Divergent create2D(RenderScript rs, int dimX, int dimY) {
95 public static ScriptField_Divergent create2D(RenderScript rs, int dimX, int dimY, int usages) {
[all …]
/frameworks/rs/script_api/include/
Drs_core.rsh22 * 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
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.
/frameworks/rs/tests/lldb/java/Reduction/src/com/android/rs/lldbreductiontest/
DMainActivity.java45 private RenderScript mRS;
66 RenderScript rs, ScriptC_reduce_auto_comb s, Allocation alloc) { in findMinUserTypeAutoComb()
74 private float findMinUserType(RenderScript rs, ScriptC_reduce s, Allocation alloc) { in findMinUserType()
82 private float findMinUserType1DAutoComb(RenderScript rs, ScriptC_reduce_auto_comb s, int xCount) { in findMinUserType1DAutoComb()
96 private float findMinUserType1D(RenderScript rs, ScriptC_reduce s, int xCount) { in findMinUserType1D()
111 mRS = RenderScript.create(this, RenderScript.ContextType.NORMAL, in initRS()
112 RenderScript.CREATE_FLAG_LOW_LATENCY | RenderScript.CREATE_FLAG_WAIT_FOR_ATTACH); in initRS()
/frameworks/rs/tests/lldb/java/BranchingFunCalls/src/com/android/rs/branchingfuncalls/
DMainActivity.java24 private RenderScript mRS;
40 mRS = RenderScript.create(this, in createScript()
41 RenderScript.ContextType.NORMAL, in createScript()
42 RenderScript.CREATE_FLAG_LOW_LATENCY | in createScript()
43 RenderScript.CREATE_FLAG_WAIT_FOR_ATTACH); in createScript()
/frameworks/rs/tests/lldb/java/DebugWaitAttach/src/com/android/rs/waitattachdebug/
DMainActivity.java30 private RenderScript mRS;
53 mRS = RenderScript.create(this, in createScript()
54 RenderScript.ContextType.NORMAL, in createScript()
55 RenderScript.CREATE_FLAG_LOW_LATENCY | in createScript()
56 RenderScript.CREATE_FLAG_WAIT_FOR_ATTACH); in createScript()
/frameworks/rs/tests/lldb/java/NoDebugWaitAttach/src/com/android/rs/waitattachnodebug/
DMainActivity.java30 private RenderScript mRS;
53 mRS = RenderScript.create(this, in createScript()
54 RenderScript.ContextType.NORMAL, in createScript()
55 RenderScript.CREATE_FLAG_LOW_LATENCY | in createScript()
56 RenderScript.CREATE_FLAG_WAIT_FOR_ATTACH); in createScript()
/frameworks/rs/tests/lldb/java/SingleSource/src/com/android/rs/singlesource/
DMainActivity.java27 private RenderScript mRS;
41 mRS = RenderScript.create( in onCreate()
43 RenderScript.ContextType.NORMAL, in onCreate()
44 RenderScript.CREATE_FLAG_WAIT_FOR_ATTACH | in onCreate()
45 RenderScript.CREATE_FLAG_LOW_LATENCY); in onCreate()
/frameworks/rs/tests/lldb/java/MultipleRSFiles/src/com/android/rs/multiplersfiles/
DMainActivity.java30 private RenderScript mRS;
54 mRS = RenderScript.create(this, in createScript()
55 RenderScript.ContextType.NORMAL, in createScript()
56 RenderScript.CREATE_FLAG_LOW_LATENCY | in createScript()
57 RenderScript.CREATE_FLAG_WAIT_FOR_ATTACH); in createScript()
/frameworks/rs/tests/lldb/java/ScriptGroup/src/com/android/rs/scriptgroup/
DMainActivity.java34 RenderScript pRS = RenderScript.create(this, RenderScript.ContextType.NORMAL, in onCreate()
35 RenderScript.CREATE_FLAG_WAIT_FOR_ATTACH | RenderScript.CREATE_FLAG_LOW_LATENCY); in onCreate()
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
DUT_element.java73 private void initializeGlobals(RenderScript RS, ScriptC_element s) { in initializeGlobals()
83 private void testScriptSide(RenderScript pRS) { in testScriptSide()
92 private void testJavaSide(RenderScript RS) { in testJavaSide()
115 RenderScript pRS = RenderScript.create(mCtx); in run()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_fp16.java22 import android.renderscript.RenderScript;
36 private void initializeGlobals(RenderScript RS, ScriptC_fp16 s, Element e, int nDims) { in initializeGlobals()
58 private void TestHalf(RenderScript RS, ScriptC_fp16 s, int nDims) { in TestHalf()
79 private void TestHalf2(RenderScript RS, ScriptC_fp16 s, int nDims) { in TestHalf2()
100 private void TestHalf3(RenderScript RS, ScriptC_fp16 s, int nDims) { in TestHalf3()
121 private void TestHalf4(RenderScript RS, ScriptC_fp16 s, int nDims) { in TestHalf4()
144 RenderScript pRS = createRenderScript(true); in run()
DUT_element.java23 import android.renderscript.RenderScript;
72 private void initializeGlobals(RenderScript RS, ScriptC_element s) { in initializeGlobals()
82 private void testScriptSide(RenderScript pRS) { in testScriptSide()
92 private void testJavaSide(RenderScript RS) { in testJavaSide()
121 RenderScript pRS = createRenderScript(true); in run()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_element.java25 import androidx.renderscript.RenderScript;
74 private void initializeGlobals(RenderScript RS, ScriptC_element s) { in initializeGlobals()
84 private void testScriptSide(RenderScript pRS) { in testScriptSide()
94 private void testJavaSide(RenderScript RS) { in testJavaSide()
123 RenderScript pRS = createRenderScript(true); in run()

12345678910>>...19