/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
H A D | UT_fp16.java | 35 private void initializeGlobals(RenderScript RS, ScriptC_fp16 s, Element e, int nDims) { argument 36 Type.Builder typeBuilder = new Type.Builder(RS, e); 48 alloc = Allocation.createTyped(RS, typeBuilder.create()); 56 private void TestHalf(RenderScript RS, ScriptC_fp16 s, int nDims) { argument 57 initializeGlobals(RS, s, Element.F16(RS), nDims); 63 initializeGlobals(RS, s, Element.F16(RS), nDims); 69 private void TestHalf2(RenderScript RS, ScriptC_fp16 s, int nDims) { argument 70 initializeGlobals(RS, 82 TestHalf3(RenderScript RS, ScriptC_fp16 s, int nDims) argument 95 TestHalf4(RenderScript RS, ScriptC_fp16 s, int nDims) argument [all...] |
H A D | UT_foreach_multi.java | 41 private void initializeGlobals(RenderScript RS, ScriptC_foreach_multi s) { argument 42 Type.Builder type32Builder = new Type.Builder(RS, Element.U32(RS)); 43 Type.Builder type16Builder = new Type.Builder(RS, Element.U16(RS)); 52 Ain0 = Allocation.createTyped(RS, type32Builder.create()); 56 Ain1 = Allocation.createTyped(RS, type32Builder.create()); 60 Ain2 = Allocation.createTyped(RS, type32Builder.create()); 66 Ain3 = Allocation.createTyped(RS, type16Builder.create()); 72 Out0 = Allocation.createTyped(RS, type32Builde [all...] |
H A D | UT_check_dims.java | 35 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 D | UT_small_struct.java | 33 private void initializeGlobals(RenderScript RS, ScriptC_small_struct s) { argument 37 Type.Builder builderA = new Type.Builder(RS, ScriptField_small_struct.createElement(RS)); 41 A = Allocation.createTyped(RS, builderA.create()); 44 Type.Builder builderB = new Type.Builder(RS, ScriptField_struct_of_struct.createElement(RS)); 48 B = Allocation.createTyped(RS, builderB.create());
|
H A D | UT_alloc.java | 31 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 D | UT_ctxt_default.java | 34 private void initializeGlobals(RenderScript RS, ScriptC_ctxt_default s) { argument 35 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); 40 A = Allocation.createTyped(RS, typeBuilder.create()); 42 B = Allocation.createTyped(RS, typeBuilder.create());
|
H A D | UT_kernel.java | 34 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 D | UT_kernel2d.java | 34 private void initializeGlobals(RenderScript RS, ScriptC_kernel2d s) { argument 35 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); 43 A = Allocation.createTyped(RS, typeBuilder.create()); 45 B = Allocation.createTyped(RS, typeBuilder.create());
|
H A D | UT_kernel2d_oldstyle.java | 34 private void initializeGlobals(RenderScript RS, ScriptC_kernel2d_oldstyle s) { argument 35 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); 43 A = Allocation.createTyped(RS, typeBuilder.create()); 45 B = Allocation.createTyped(RS, typeBuilder.create());
|
H A D | UT_kernel3d.java | 34 private void initializeGlobals(RenderScript RS, ScriptC_kernel3d s) { argument 35 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); 46 A = Allocation.createTyped(RS, typeBuilder.create()); 48 B = Allocation.createTyped(RS, typeBuilder.create());
|
H A D | UT_single_source_script.java | 32 private void initializeGlobals(RenderScript RS, ScriptC_single_source_script s) { argument 33 Type.Builder i32TypeBuilder = new Type.Builder(RS, Element.I32(RS)); 39 testAllocation1 = Allocation.createTyped(RS, i32TypeBuilder.create()); 40 testAllocation2 = Allocation.createTyped(RS, i32TypeBuilder.create());
|
/frameworks/rs/cpp/ |
H A D | RenderScript.cpp | 38 bool RS::gInitialized = false; 39 bool RS::usingNative = false; 40 pthread_mutex_t RS::gInitMutex = PTHREAD_MUTEX_INITIALIZER; 41 dispatchTable* RS::dispatch = nullptr; 44 RS::RS() { function in class:RS 56 RS::~RS() { 62 RS::dispatch->ContextDeinitToClient(mContext); 67 RS [all...] |
H A D | ScriptC.cpp | 23 ScriptC::ScriptC(sp<RS> rs, 28 mID = RS::dispatch->ScriptCCreate(rs->getContext(), cachedName, cachedNameLength,
|
H A D | Script.cpp | 26 tryDispatch(mRS, RS::dispatch->ScriptInvokeV(mRS->getContext(), getID(), slot, v, len)); 36 tryDispatch(mRS, RS::dispatch->ScriptForEach(mRS->getContext(), getID(), slot, in_id, out_id, usr, usrLen, nullptr, 0)); 39 Script::Script(void *id, sp<RS> rs) : BaseObj(id, rs) { 44 tryDispatch(mRS, RS::dispatch->ScriptBindAllocation(mRS->getContext(), getID(), BaseObj::getObjID(va), slot)); 49 tryDispatch(mRS, RS::dispatch->ScriptSetVarObj(mRS->getContext(), getID(), index, (o == nullptr) ? 0 : o->getID())); 53 tryDispatch(mRS, RS::dispatch->ScriptSetVarV(mRS->getContext(), getID(), index, v, len)); 56 void Script::FieldBase::init(sp<RS> rs, uint32_t dimx, uint32_t usages) {
|
H A D | BaseObj.cpp | 35 BaseObj::BaseObj(void *id, sp<RS> rs) { 48 RS::dispatch->ObjDestroy(mRS->getContext(), mID); 56 RS::dispatch->GetName(mRS->getContext(), mID, &name);
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
H A D | UT_alloc.java | 31 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 D | UT_kernel.java | 34 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 D | UT_foreach.java | 32 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 D | UT_foreach_bounds.java | 32 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 D | UT_noroot.java | 32 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 D | UT_refcount.java | 31 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_CompatLibLegacy/src/com/android/rs/test/ |
H A D | UT_alloc.java | 31 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 D | UT_kernel.java | 34 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());
|
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
H A D | UT_alloc.java | 31 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());
|
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/ |
H A D | UT_alloc.java | 31 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());
|