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

12

/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...]
H A DScriptC.cpp22 ScriptC::ScriptC(sp<RS> rs,
27 mID = RS::dispatch->ScriptCCreate(rs->getContext(), cachedName, cachedNameLength,
H A DScript.cpp26 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, NULL, 0));
40 Script::Script(void *id, sp<RS> rs) : BaseObj(id, rs) {
45 tryDispatch(mRS, RS::dispatch->ScriptBindAllocation(mRS->getContext(), getID(), BaseObj::getObjID(va), slot));
50 tryDispatch(mRS, RS::dispatch->ScriptSetVarObj(mRS->getContext(), getID(), index, (o == NULL) ? 0 : o->getID()));
54 tryDispatch(mRS, RS::dispatch->ScriptSetVarV(mRS->getContext(), getID(), index, v, len));
57 void Script::FieldBase::init(sp<RS> rs, uint32_t dimx, uint32_t usages) {
H A DBaseObj.cpp35 BaseObj::BaseObj(void *id, sp<RS> rs) {
48 RS::dispatch->ObjDestroy(mRS->getContext(), mID);
56 RS::dispatch->GetName(mRS->getContext(), mID, &name);
H A DrsCppStructs.h29 * Every row in an RS allocation is guaranteed to be aligned by this amount, and
40 class RS;
86 class RS : public android::RSC::LightRefBase<RS> { class in namespace:android::RSC
89 RS();
90 virtual ~RS();
269 RS* mRS;
272 BaseObj(void *id, sp<RS> rs);
319 Allocation(void *id, sp<RS> rs, sp<const Type> t, uint32_t usage);
513 static sp<Allocation> createTyped(sp<RS> r
[all...]
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
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_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_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.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_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
/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());

Completed in 854 milliseconds

12