Searched refs:mRSC (Results 1 - 23 of 23) sorted by relevance

/frameworks/rs/
H A DrsScriptGroup2.cpp9 if (mRSC->mHal.funcs.scriptgroup.destroy) {
10 mRSC->mHal.funcs.scriptgroup.destroy(mRSC, this);
H A DrsFont.cpp49 error = FT_New_Memory_Face(mRSC->mStateFont.getLib(), (const FT_Byte*)data, dataLen, 0, &mFace);
51 error = FT_New_Face(mRSC->mStateFont.getLib(), name, 0, &mFace);
77 auto& activeFonts = mRSC->mStateFont.mActiveFonts;
93 FontState *state = &mRSC->mStateFont;
120 FontState *state = &mRSC->mStateFont;
258 FontState *state = &mRSC->mStateFont;
336 mRSC = nullptr;
398 mRSC = rsc;
475 mRSC->mHal.funcs.allocation.data2D(mRSC, mTextTextur
[all...]
H A DrsObjectBase.cpp29 mRSC = rsc;
79 op, this, mName, mUserRefCount, mSysRefCount, mNext, mPrev, mRSC);
82 op, this, mUserRefCount, mSysRefCount, mNext, mPrev, mRSC);
200 mNext = mRSC->mObjHead;
201 if (mRSC->mObjHead) {
202 mRSC->mObjHead->mPrev = this;
204 mRSC->mObjHead = this;
210 if (!mRSC) {
216 if (mRSC->mObjHead == this) {
217 mRSC
[all...]
H A DrsScript.cpp52 if (mRSC->hadFatalError()) return;
56 mRSC->mHal.funcs.script.setGlobalBind(mRSC, this, slot, a);
65 if (mRSC->hadFatalError()) return;
67 mRSC->mHal.funcs.script.setGlobalVar(mRSC, this, slot, (void *)val, len);
77 if (mRSC->hadFatalError()) return;
79 mRSC->mHal.funcs.script.getGlobalVar(mRSC, this, slot, (void *)val, len);
89 if (mRSC
[all...]
H A DrsProgramStore.cpp44 auto& storePrograms = mRSC->mStateFragmentStore.mStorePrograms;
54 mRSC->mHal.funcs.store.destroy(mRSC, this);
74 mRSC->mHal.funcs.store.init(mRSC, this);
H A DrsSampler.cpp43 mRSC->mHal.funcs.sampler.init(mRSC, this);
47 mRSC->mHal.funcs.sampler.destroy(mRSC, this);
51 auto& allSamplers = mRSC->mStateSampler.mAllSamplers;
H A DrsProgramRaster.cpp33 auto& rasterPrograms = mRSC->mStateRaster.mRasterPrograms;
43 mRSC->mHal.funcs.raster.destroy(mRSC, this);
H A DrsProgramFragment.cpp34 mRSC->mHal.funcs.fragment.init(mRSC, this, mUserShader, mUserShaderLen,
39 mRSC->mHal.funcs.fragment.destroy(mRSC, this);
H A DrsScriptIntrinsic.cpp30 mRSC->mHal.funcs.script.destroy(mRSC, this);
H A DrsMesh.cpp64 mRSC->mHal.funcs.mesh.destroy(mRSC, this);
77 mRSC->mHal.funcs.mesh.init(mRSC, this);
198 mRSC->mHal.funcs.mesh.draw(mRSC, this, primIndex, start, len);
H A DrsObjectBase.h56 Context * getContext() const {return mRSC;}
81 Context *mRSC; member in class:android::renderscript::ObjectBase
H A DrsScriptC.cpp55 mRSC->mHal.funcs.script.invokeFreeChildren(mRSC, this);
56 mRSC->mHal.funcs.script.destroy(mRSC, this);
195 if (mRSC->hadFatalError()) return;
230 if (mRSC->hadFatalError()) return;
248 if (mRSC->hadFatalError()) return;
H A DrsFileA3D.cpp238 entry->mRsObj = Mesh::createFromStream(mRSC, mReadStream);
241 entry->mRsObj = Type::createFromStream(mRSC, mReadStream);
244 entry->mRsObj = Element::createFromStream(mRSC, mReadStream);
247 entry->mRsObj = Allocation::createFromStream(mRSC, mReadStream);
250 //entry->mRsObj = ProgramVertex::createFromStream(mRSC, mReadStream);
253 //entry->mRsObj = ProgramRaster::createFromStream(mRSC, mReadStream);
256 //entry->mRsObj = ProgramFragment::createFromStream(mRSC, mReadStream);
259 //entry->mRsObj = ProgramStore::createFromStream(mRSC, mReadStream);
262 //entry->mRsObj = Sampler::createFromStream(mRSC, mReadStream);
265 //entry->mRsObj = Animation::createFromStream(mRSC, mReadStrea
[all...]
H A DrsProgramVertex.cpp29 mRSC->mHal.funcs.vertex.init(mRSC, this, mUserShader, mUserShaderLen,
34 mRSC->mHal.funcs.vertex.destroy(mRSC, this);
H A DrsAllocation.cpp165 mRSC->mHal.funcs.allocation.destroy(mRSC, this);
182 if (mRSC->mHal.funcs.allocation.getPointer != nullptr) {
184 mRSC->mHal.funcs.allocation.getPointer(rsc, this, lod, face, z, array);
518 mRSC->mHal.funcs.allocation.markDirty(rsc, this);
542 void *ptr = mRSC->mHal.funcs.allocation.lock1D(mRSC, this);
544 mRSC->mHal.funcs.allocation.unlock1D(mRSC, this);
H A DrsScriptGroup.cpp33 if (mRSC->mHal.funcs.scriptgroup.destroy) {
34 mRSC->mHal.funcs.scriptgroup.destroy(mRSC, this);
H A DrsFont.h187 Context *mRSC; member in class:android::renderscript::FontState
H A DrsElement.cpp44 auto& elements = mRSC->mStateElement.mElements;
H A DrsType.cpp34 auto& types = mRSC->mStateType.mTypes;
/frameworks/compile/slang/
H A Dslang_rs_reflection_state.cpp79 mRSC = nullptr;
95 mRSC = nullptr;
114 mRSC = RSC;
128 mRSC->ReportError("in file '%0' Java package name is '%1' for 32-bit targets "
310 mRSC->ReportError(EF->getLocation(),
326 mRSC->ReportError(EF->getLocation(),
333 mRSC->ReportError(EF->getLocation(),
342 mRSC->ReportError(EF->getLocation(),
348 mRSC->ReportError(EF->getLocation(),
358 mRSC
[all...]
H A Dslang_rs_reflection_state.h133 mRSC(nullptr),
375 const RSContext *mRSC; member in class:slang::ReflectionState
/frameworks/rs/cpu_ref/
H A DrsCpuCore.h161 Context * getContext() {return mRSC;}
182 return mScriptLookupFn(mRSC, s);
223 Context *mRSC; member in class:android::renderscript::RsdCpuReferenceImpl
H A DrsCpuCore.cpp87 mRSC = rsc;
225 mTlsStruct.mContext = mRSC;
238 if(mRSC->props.mDebugMaxThreads) {
239 cpu = mRSC->props.mDebugMaxThreads;
249 if (mRSC->props.mLogScripts) {
250 ALOGV("%p Launching thread(s), CPUs %i", mRSC, mWorkers.mCount + 1);
655 mtls->logReduce = mRSC->props.mLogReduce;
735 if (mRSC->props.mDebugReduceSplitAccum) {
925 tls->mContext = mRSC;
935 return mSymLookupFn(mRSC, nam
[all...]

Completed in 222 milliseconds