Searched refs:RS (Results 1 - 25 of 43) sorted by relevance

12

/frameworks/rs/cpp/
H A DRenderScript.cpp27 bool RS::gInitialized = false;
28 pthread_mutex_t RS::gInitMutex = PTHREAD_MUTEX_INITIALIZER;
30 RS::RS() { function in class:RS
40 RS::~RS() {
54 bool RS::init(bool forceCpu, bool synchronous) {
55 return RS::init(RS_VERSION, forceCpu, synchronous);
58 bool RS::init(int targetApi, bool forceCpu, bool synchronous) {
75 ALOGE("Failed to start RS messag
[all...]
H A DrsCppStructs.h27 // Every row in an RS allocation is guaranteed to be aligned by this amount
37 class RS;
45 class RS : public android::LightRefBase<RS> { class in namespace:android::RSC
48 RS();
49 virtual ~RS();
163 sp<RS> mRS;
166 BaseObj(void *id, sp<RS> rs);
205 Allocation(void *id, sp<RS> rs, sp<const Type> t, uint32_t usage);
256 static sp<Allocation> createTyped(sp<RS> r
[all...]
H A DScriptC.cpp25 ScriptC::ScriptC(sp<RS> rs,
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
H A DUT_mesh.java34 private void initializeGlobals(RenderScript RS, ScriptC_mesh s) { argument
35 Allocation vAlloc0 = Allocation.createSized(RS, Element.F32(RS), 10);
36 Allocation vAlloc1 = Allocation.createSized(RS, Element.F32_2(RS), 10);
38 Allocation iAlloc0 = Allocation.createSized(RS, Element.I16(RS), 10);
39 Allocation iAlloc2 = Allocation.createSized(RS, Element.I16(RS), 10);
41 Mesh.AllocationBuilder mBuilder = new Mesh.AllocationBuilder(RS);
65 testJavaSide(RenderScript RS) argument
[all...]
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_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_program_raster.java36 private ProgramRaster.Builder getDefaultBuilder(RenderScript RS) { argument
37 ProgramRaster.Builder b = new ProgramRaster.Builder(RS);
43 private void initializeGlobals(RenderScript RS, ScriptC_program_raster s) { argument
44 ProgramRaster.Builder b = getDefaultBuilder(RS);
46 b = getDefaultBuilder(RS);
62 private void testJavaSide(RenderScript RS) { argument
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_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_sampler.java39 private Sampler.Builder getDefaultBuilder(RenderScript RS) { argument
40 Sampler.Builder b = new Sampler.Builder(RS);
49 private void initializeGlobals(RenderScript RS, ScriptC_sampler s) { argument
50 Sampler.Builder b = getDefaultBuilder(RS);
54 b = getDefaultBuilder(RS);
58 b = getDefaultBuilder(RS);
62 b = getDefaultBuilder(RS);
66 b = getDefaultBuilder(RS);
86 private void testJavaSide(RenderScript RS) { argument
H A DUT_program_store.java45 private ProgramStore.Builder getDefaultBuilder(RenderScript RS) { argument
46 ProgramStore.Builder b = new ProgramStore.Builder(RS);
55 private void initializeGlobals(RenderScript RS, ScriptC_program_store s) { argument
56 ProgramStore.Builder b = getDefaultBuilder(RS);
59 b = getDefaultBuilder(RS);
62 b = getDefaultBuilder(RS);
65 b = getDefaultBuilder(RS);
68 b = getDefaultBuilder(RS);
71 b = getDefaultBuilder(RS);
75 b = getDefaultBuilder(RS);
152 testJavaSide(RenderScript RS) argument
[all...]
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());
/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_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_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_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
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);
/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());

Completed in 156 milliseconds

12