Home
last modified time | relevance | path

Searched refs:mCtx (Results 1 – 25 of 120) sorted by relevance

12345

/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
DRSTestCore.java31 ListActivity mCtx; field in RSTestCore
34 mCtx = ctx; in RSTestCore()
60 unitTests.add(new UT_apitest(this, mRes, mCtx)); in init()
61 unitTests.add(new UT_primitives(this, mRes, mCtx)); in init()
62 unitTests.add(new UT_instance(this, mRes, mCtx)); in init()
63 unitTests.add(new UT_constant(this, mRes, mCtx)); in init()
64 unitTests.add(new UT_vector(this, mRes, mCtx)); in init()
65 unitTests.add(new UT_unsigned(this, mRes, mCtx)); in init()
66 unitTests.add(new UT_array_init(this, mRes, mCtx)); in init()
67 unitTests.add(new UT_array_alloc(this, mRes, mCtx)); in init()
[all …]
DUnitTest.java28 protected Context mCtx; field in UnitTest
42 mCtx = ctx; in UnitTest()
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
DRSTestCore.java31 ListActivity mCtx; field in RSTestCore
34 mCtx = ctx; in RSTestCore()
60 unitTests.add(new UT_primitives(this, mRes, mCtx)); in init()
61 unitTests.add(new UT_constant(this, mRes, mCtx)); in init()
62 unitTests.add(new UT_vector(this, mRes, mCtx)); in init()
63 unitTests.add(new UT_unsigned(this, mRes, mCtx)); in init()
64 unitTests.add(new UT_array_init(this, mRes, mCtx)); in init()
65 unitTests.add(new UT_array_alloc(this, mRes, mCtx)); in init()
66 unitTests.add(new UT_kernel(this, mRes, mCtx)); in init()
67 unitTests.add(new UT_kernel_struct(this, mRes, mCtx)); in init()
[all …]
DUnitTest.java28 protected Context mCtx; field in UnitTest
42 mCtx = ctx; in UnitTest()
DUT_min.java32 RenderScript pRS = RenderScript.create(mCtx); in run()
DUT_convert_relaxed.java32 RenderScript pRS = RenderScript.create(mCtx); in run()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsic.cpp35 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER, in invokeFunction()
40 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER, in invokeRoot()
46 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER, in invokeInit()
51 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER, in setGlobalVar()
58 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER, in setGlobalVarWithElemDims()
63 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER, in setGlobalBind()
68 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER, in setGlobalObj()
103 RsdCpuScriptImpl * oldTLS = mCtx->setTLS(this); in invokeForEach()
104 mCtx->launchThreads(ain, aout, sc, &mtls); in invokeForEach()
105 mCtx->setTLS(oldTLS); in invokeForEach()
[all …]
DrsCpuScript.cpp350 mCtx = ctx; in RsdCpuScriptImpl()
385 mCtx->lockMutex(); in init()
396 mCtx->unlockMutex(); in init()
403 mCtx->unlockMutex(); in init()
415 mCtx->getSetupCompilerCallback(); in init()
423 mCtx->unlockMutex(); in init()
429 if (mCtx->getContext()->getContextType() == RS_CONTEXT_TYPE_DEBUG) { in init()
459 mCtx->unlockMutex(); in init()
467 mCtx->unlockMutex(); in init()
695 mCtx->unlockMutex(); in init()
[all …]
DrsCpuScriptGroup.cpp28 mCtx = ctx; in CpuScriptGroupImpl()
196 RsdCpuScriptImpl *si = (RsdCpuScriptImpl *)mCtx->lookupScript(s); in execute()
202 mCtx->launchThreads(ins[ct], outs[ct], NULL, &mtls); in execute()
217 RsdCpuScriptImpl *si = (RsdCpuScriptImpl *)mCtx->lookupScript(s); in execute()
232 RsdCpuScriptImpl *si = (RsdCpuScriptImpl *)mCtx->lookupScript(s); in execute()
237 mCtx->launchThreads(ins[0], outs[0], NULL, &mtls); in execute()
241 RsdCpuScriptImpl *si = (RsdCpuScriptImpl *)mCtx->lookupScript(s); in execute()
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
DRSTestCore.java32 Context mCtx; field in RSTestCore
35 mCtx = ctx; in RSTestCore()
67 unitTests.add(new UT_primitives(this, mRes, mCtx)); in init()
68 unitTests.add(new UT_vector(this, mRes, mCtx)); in init()
69 unitTests.add(new UT_rsdebug(this, mRes, mCtx)); in init()
70 unitTests.add(new UT_rstime(this, mRes, mCtx)); in init()
71 unitTests.add(new UT_rstypes(this, mRes, mCtx)); in init()
72 unitTests.add(new UT_alloc(this, mRes, mCtx)); in init()
73 unitTests.add(new UT_refcount(this, mRes, mCtx)); in init()
74 unitTests.add(new UT_foreach(this, mRes, mCtx)); in init()
[all …]
DRSTestView.java44 private Context mCtx; field in RSTestView
48 mCtx = context; in RSTestView()
61 mRender = new RSTestCore(mCtx); in surfaceChanged()
DUnitTest.java28 protected Context mCtx; field in UnitTest
42 mCtx = ctx; in UnitTest()
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
DRSTestCore.java32 Context mCtx; field in RSTestCore
35 mCtx = ctx; in RSTestCore()
67 unitTests.add(new UT_primitives(this, mRes, mCtx)); in init()
68 unitTests.add(new UT_vector(this, mRes, mCtx)); in init()
69 unitTests.add(new UT_rsdebug(this, mRes, mCtx)); in init()
70 unitTests.add(new UT_rstime(this, mRes, mCtx)); in init()
71 unitTests.add(new UT_rstypes(this, mRes, mCtx)); in init()
72 unitTests.add(new UT_alloc(this, mRes, mCtx)); in init()
73 unitTests.add(new UT_refcount(this, mRes, mCtx)); in init()
74 unitTests.add(new UT_foreach(this, mRes, mCtx)); in init()
[all …]
DRSTestView.java44 private Context mCtx; field in RSTestView
48 mCtx = context; in RSTestView()
61 mRender = new RSTestCore(mCtx); in surfaceChanged()
DUnitTest.java28 protected Context mCtx; field in UnitTest
42 mCtx = ctx; in UnitTest()
DUT_rstypes.java32 RenderScript pRS = RenderScript.create(mCtx); in run()
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/
DRSTestCore.java32 Context mCtx; field in RSTestCore
35 mCtx = ctx; in RSTestCore()
67 unitTests.add(new UT_primitives(this, mRes, mCtx)); in init()
68 unitTests.add(new UT_rsdebug(this, mRes, mCtx)); in init()
69 unitTests.add(new UT_rstime(this, mRes, mCtx)); in init()
70 unitTests.add(new UT_rstypes(this, mRes, mCtx)); in init()
71 unitTests.add(new UT_math(this, mRes, mCtx)); in init()
72 unitTests.add(new UT_fp_mad(this, mRes, mCtx)); in init()
DRSTestView.java44 private Context mCtx; field in RSTestView
48 mCtx = context; in RSTestView()
61 mRender = new RSTestCore(mCtx); in surfaceChanged()
DUnitTest.java28 protected Context mCtx; field in UnitTest
42 mCtx = ctx; in UnitTest()
DUT_rstypes.java32 RenderScript pRS = RenderScript.create(mCtx); in run()
/frameworks/av/media/libstagefright/codecs/on2/dec/
DSoftVPX.cpp41 mCtx(NULL), in SoftVPX()
54 vpx_codec_destroy((vpx_codec_ctx_t *)mCtx); in ~SoftVPX()
55 delete (vpx_codec_ctx_t *)mCtx; in ~SoftVPX()
56 mCtx = NULL; in ~SoftVPX()
73 mCtx = new vpx_codec_ctx_t; in initDecoder()
79 (vpx_codec_ctx_t *)mCtx, in initDecoder()
124 (vpx_codec_ctx_t *)mCtx, in onQueueFilled()
135 mImg = vpx_codec_get_frame((vpx_codec_ctx_t *)mCtx, &iter); in onQueueFilled()
DSoftVPX.h52 void *mCtx; member
/frameworks/compile/slang/
Dslang_rs_object_ref_count.h73 clang::ASTContext &mCtx; variable
104 : mCtx(C), in RSObjectRefCount()
110 GetRSRefCountingFunctions(mCtx); in Init()
Dslang_rs_context.cpp52 mCtx(Ctx), in RSContext()
124 clang::TranslationUnitDecl *TUDecl = mCtx.getTranslationUnitDecl(); in processExportType()
211 clang::TranslationUnitDecl *TUDecl = mCtx.getTranslationUnitDecl(); in processExport()
Dslang_rs_object_ref_count.cpp183 clang::ASTContext &mCtx; member in slang::__anonf422660f0111::DestructorVisitor
222 clang::SourceManager &SM = mCtx.getSourceManager(); in InsertDestructors()
238 BuildCompoundStmt(mCtx, StmtList, S->getLocEnd()); in InsertDestructors()
241 RSASTReplace R(mCtx); in InsertDestructors()
247 AppendAfterStmt(mCtx, CS, NULL, StmtList); in InsertDestructors()
270 : mCtx(C), in DestructorVisitor()
1450 if (CountRSObjectTypes(mCtx, VD->getType().getTypePtr(), in VisitDeclStmt()
1478 if (CountRSObjectTypes(mCtx, QT.getTypePtr(), AS->getExprLoc())) { in VisitBinAssign()
1499 clang::DeclContext *DC = mCtx.getTranslationUnitDecl(); in CreateStaticGlobalDtor()
1503 clang::IdentifierInfo &II = mCtx.Idents.get(SR); in CreateStaticGlobalDtor()
[all …]

12345