Searched defs:RS (Results 1 - 25 of 29) sorted by relevance

12

/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
H A DUT_alloc.java31 private void initializeGlobals(RenderScript RS, ScriptC_alloc s) { argument
32 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
40 Allocation A = Allocation.createTyped(RS, typeBuilder.create());
44 typeBuilder = new Type.Builder(RS, Element.I32(RS));
46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create());
49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create());
52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create());
H A DUT_foreach.java32 private void initializeGlobals(RenderScript RS, ScriptC_foreach s) { argument
33 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
39 A = Allocation.createTyped(RS, typeBuilder.create());
H A DUT_foreach_bounds.java32 private void initializeGlobals(RenderScript RS, ScriptC_foreach_bounds s) { argument
33 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
39 A = Allocation.createTyped(RS, typeBuilder.create());
H A DUT_kernel.java34 private void initializeGlobals(RenderScript RS, ScriptC_kernel s) { argument
35 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
39 A = Allocation.createTyped(RS, typeBuilder.create());
41 B = Allocation.createTyped(RS, typeBuilder.create());
H A DUT_kernel_struct.java34 private void initializeGlobals(RenderScript RS, ScriptC_kernel_struct s) { argument
38 t = new ScriptField_simpleStruct(RS, X);
41 t = new ScriptField_simpleStruct(RS, X);
H A DUT_noroot.java32 private void initializeGlobals(RenderScript RS, ScriptC_noroot s) { argument
33 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
39 A = Allocation.createTyped(RS, typeBuilder.create());
H A DUT_refcount.java31 private void initializeGlobals(RenderScript RS, ScriptC_refcount s) { argument
32 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
36 Allocation A = Allocation.createTyped(RS, typeBuilder.create());
H A DUT_element.java73 private void initializeGlobals(RenderScript RS, ScriptC_element s) { argument
74 simpleElem = Element.F32_3(RS);
75 complexElem = ScriptField_ComplexStruct.createElement(RS);
79 ScriptField_ComplexStruct data = new ScriptField_ComplexStruct(RS, 1);
92 private void testJavaSide(RenderScript RS) { argument
H A DUT_sampler.java37 private Sampler.Builder getDefaultBuilder(RenderScript RS) { argument
38 Sampler.Builder b = new Sampler.Builder(RS);
47 private void initializeGlobals(RenderScript RS, ScriptC_sampler s) { argument
48 Sampler.Builder b = getDefaultBuilder(RS);
52 b = getDefaultBuilder(RS);
56 b = getDefaultBuilder(RS);
60 b = getDefaultBuilder(RS);
64 b = getDefaultBuilder(RS);
84 private void testJavaSide(RenderScript RS) { argument
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
H A DUT_alloc.java31 private void initializeGlobals(RenderScript RS, ScriptC_alloc s) { argument
32 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
40 Allocation A = Allocation.createTyped(RS, typeBuilder.create());
44 typeBuilder = new Type.Builder(RS, Element.I32(RS));
46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create());
49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create());
52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create());
H A DUT_foreach.java32 private void initializeGlobals(RenderScript RS, ScriptC_foreach s) { argument
33 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
39 A = Allocation.createTyped(RS, typeBuilder.create());
H A DUT_foreach_bounds.java32 private void initializeGlobals(RenderScript RS, ScriptC_foreach_bounds s) { argument
33 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
43 A = Allocation.createTyped(RS, typeBuilder.create());
H A DUT_kernel.java34 private void initializeGlobals(RenderScript RS, ScriptC_kernel s) { argument
35 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
39 A = Allocation.createTyped(RS, typeBuilder.create());
41 B = Allocation.createTyped(RS, typeBuilder.create());
H A DUT_kernel_struct.java34 private void initializeGlobals(RenderScript RS, ScriptC_kernel_struct s) { argument
38 t = new ScriptField_simpleStruct(RS, X);
41 t = new ScriptField_simpleStruct(RS, X);
H A DUT_noroot.java32 private void initializeGlobals(RenderScript RS, ScriptC_noroot s) { argument
33 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
39 A = Allocation.createTyped(RS, typeBuilder.create());
H A DUT_refcount.java31 private void initializeGlobals(RenderScript RS, ScriptC_refcount s) { argument
32 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
36 Allocation A = Allocation.createTyped(RS, typeBuilder.create());
H A DUT_check_dims.java35 private void initializeGlobals(RenderScript RS, ScriptC_check_dims s) { argument
36 Type.Builder typeBuilder = new Type.Builder(RS, Element.U8(RS));
38 Allocation AFailed = Allocation.createTyped(RS, typeBuilder.create());
45 typeBuilder = new Type.Builder(RS, Element.I32(RS));
49 mA = Allocation.createTyped(RS, typeBuilder.create());
H A DUT_element.java76 private void initializeGlobals(RenderScript RS, ScriptC_element s) { argument
77 simpleElem = Element.F32_3(RS);
78 complexElem = ScriptField_ComplexStruct.createElement(RS);
82 ScriptField_ComplexStruct data = new ScriptField_ComplexStruct(RS, 1);
95 private void testJavaSide(RenderScript RS) { argument
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
H A DUT_alloc.java31 private void initializeGlobals(RenderScript RS, ScriptC_alloc s) { argument
32 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
40 Allocation A = Allocation.createTyped(RS, typeBuilder.create());
44 typeBuilder = new Type.Builder(RS, Element.I32(RS));
46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create());
49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create());
52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create());
H A DUT_foreach.java32 private void initializeGlobals(RenderScript RS, ScriptC_foreach s) { argument
33 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
39 A = Allocation.createTyped(RS, typeBuilder.create());
H A DUT_refcount.java31 private void initializeGlobals(RenderScript RS, ScriptC_refcount s) { argument
32 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
36 Allocation A = Allocation.createTyped(RS, typeBuilder.create());
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
H A DUT_alloc.java31 private void initializeGlobals(RenderScript RS, ScriptC_alloc s) { argument
32 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
40 Allocation A = Allocation.createTyped(RS, typeBuilder.create());
44 typeBuilder = new Type.Builder(RS, Element.I32(RS));
46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create());
49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create());
52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create());
H A DUT_foreach.java32 private void initializeGlobals(RenderScript RS, ScriptC_foreach s) { argument
33 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
39 A = Allocation.createTyped(RS, typeBuilder.create());
H A DUT_refcount.java31 private void initializeGlobals(RenderScript RS, ScriptC_refcount s) { argument
32 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
36 Allocation A = Allocation.createTyped(RS, typeBuilder.create());
/frameworks/rs/cpp/
H A DRenderScript.cpp38 bool RS::gInitialized = false;
39 bool RS::usingNative = false;
40 pthread_mutex_t RS::gInitMutex = PTHREAD_MUTEX_INITIALIZER;
41 dispatchTable* RS::dispatch = NULL;
44 RS::RS() { function in class:RS
57 RS::~RS() {
62 RS::dispatch->ContextDeinitToClient(mContext);
67 RS
[all...]

Completed in 179 milliseconds

12