Home
last modified time | relevance | path

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

/frameworks/rs/
DrsFont.cpp49 … error = FT_New_Memory_Face(mRSC->mStateFont.getLib(), (const FT_Byte*)data, dataLen, 0, &mFace); in init()
51 error = FT_New_Face(mRSC->mStateFont.getLib(), name, 0, &mFace); in init()
77 auto& activeFonts = mRSC->mStateFont.mActiveFonts; in preDestroy()
93 FontState *state = &mRSC->mStateFont; in drawCachedGlyph()
120 FontState *state = &mRSC->mStateFont; in drawCachedGlyph()
258 FontState *state = &mRSC->mStateFont; in updateGlyphCache()
336 mRSC = nullptr; in FontState()
398 mRSC = rsc; in init()
475 mRSC->mHal.funcs.allocation.data2D(mRSC, mTextTexture.get(), 0, 0, 0, in cacheBitmap()
479 mFontShaderF->bindTexture(mRSC, 0, mTextTexture.get()); in cacheBitmap()
[all …]
DrsObjectBase.cpp29 mRSC = rsc; in ObjectBase()
79 op, this, mName, mUserRefCount, mSysRefCount, mNext, mPrev, mRSC); in dumpLOGV()
82 op, this, mUserRefCount, mSysRefCount, mNext, mPrev, mRSC); in dumpLOGV()
200 mNext = mRSC->mObjHead; in add()
201 if (mRSC->mObjHead) { in add()
202 mRSC->mObjHead->mPrev = this; in add()
204 mRSC->mObjHead = this; in add()
210 if (!mRSC) { in remove()
216 if (mRSC->mObjHead == this) { in remove()
217 mRSC->mObjHead = mNext; in remove()
DrsScript.cpp52 if (mRSC->hadFatalError()) return; in setSlot()
56 mRSC->mHal.funcs.script.setGlobalBind(mRSC, this, slot, a); in setSlot()
65 if (mRSC->hadFatalError()) return; in setVar()
67 mRSC->mHal.funcs.script.setGlobalVar(mRSC, this, slot, (void *)val, len); in setVar()
77 if (mRSC->hadFatalError()) return; in getVar()
79 mRSC->mHal.funcs.script.getGlobalVar(mRSC, this, slot, (void *)val, len); in getVar()
89 if (mRSC->hadFatalError()) return; in setVar()
91 mRSC->mHal.funcs.script.setGlobalVarWithElemDims(mRSC, this, slot, in setVar()
102 if (mRSC->hadFatalError()) return; in setVarObj()
105 mRSC->mHal.funcs.script.setGlobalObj(mRSC, this, slot, val); in setVarObj()
[all …]
DrsScriptGroup2.cpp9 if (mRSC->mHal.funcs.scriptgroup.destroy) { in ~ScriptGroup2()
10 mRSC->mHal.funcs.scriptgroup.destroy(mRSC, this); in ~ScriptGroup2()
DrsSampler.cpp43 mRSC->mHal.funcs.sampler.init(mRSC, this); in Sampler()
47 mRSC->mHal.funcs.sampler.destroy(mRSC, this); in ~Sampler()
51 auto& allSamplers = mRSC->mStateSampler.mAllSamplers; in preDestroy()
DrsProgramStore.cpp44 auto& storePrograms = mRSC->mStateFragmentStore.mStorePrograms; in preDestroy()
54 mRSC->mHal.funcs.store.destroy(mRSC, this); in ~ProgramStore()
74 mRSC->mHal.funcs.store.init(mRSC, this); in init()
DrsProgramFragment.cpp34 mRSC->mHal.funcs.fragment.init(mRSC, this, mUserShader, mUserShaderLen, in ProgramFragment()
39 mRSC->mHal.funcs.fragment.destroy(mRSC, this); in ~ProgramFragment()
DrsProgramRaster.cpp33 auto& rasterPrograms = mRSC->mStateRaster.mRasterPrograms; in preDestroy()
43 mRSC->mHal.funcs.raster.destroy(mRSC, this); in ~ProgramRaster()
DrsScriptC.cpp55 mRSC->mHal.funcs.script.invokeFreeChildren(mRSC, this); in ~ScriptC()
56 mRSC->mHal.funcs.script.destroy(mRSC, this); in ~ScriptC()
195 if (mRSC->hadFatalError()) return; in runForEach()
230 if (mRSC->hadFatalError()) return; in runReduce()
248 if (mRSC->hadFatalError()) return; in Invoke()
DrsMesh.cpp64 mRSC->mHal.funcs.mesh.destroy(mRSC, this); in ~Mesh()
77 mRSC->mHal.funcs.mesh.init(mRSC, this); in init()
198 mRSC->mHal.funcs.mesh.draw(mRSC, this, primIndex, start, len); in renderPrimitiveRange()
DrsScriptIntrinsic.cpp30 mRSC->mHal.funcs.script.destroy(mRSC, this); in ~ScriptIntrinsic()
DrsFileA3D.cpp238 entry->mRsObj = Mesh::createFromStream(mRSC, mReadStream); in initializeFromEntry()
241 entry->mRsObj = Type::createFromStream(mRSC, mReadStream); in initializeFromEntry()
244 entry->mRsObj = Element::createFromStream(mRSC, mReadStream); in initializeFromEntry()
247 entry->mRsObj = Allocation::createFromStream(mRSC, mReadStream); in initializeFromEntry()
DrsObjectBase.h56 Context * getContext() const {return mRSC;} in getContext()
81 Context *mRSC; variable
DrsProgramVertex.cpp29 mRSC->mHal.funcs.vertex.init(mRSC, this, mUserShader, mUserShaderLen, in ProgramVertex()
34 mRSC->mHal.funcs.vertex.destroy(mRSC, this); in ~ProgramVertex()
DrsAllocation.cpp165 mRSC->mHal.funcs.allocation.destroy(mRSC, this); in ~Allocation()
182 if (mRSC->mHal.funcs.allocation.getPointer != nullptr) { in getPointer()
184 mRSC->mHal.funcs.allocation.getPointer(rsc, this, lod, face, z, array); in getPointer()
518 mRSC->mHal.funcs.allocation.markDirty(rsc, this); in sendDirty()
542 void *ptr = mRSC->mHal.funcs.allocation.lock1D(mRSC, this); in freeChildrenUnlocked()
544 mRSC->mHal.funcs.allocation.unlock1D(mRSC, this); in freeChildrenUnlocked()
DrsScriptGroup.cpp33 if (mRSC->mHal.funcs.scriptgroup.destroy) { in ~ScriptGroup()
34 mRSC->mHal.funcs.scriptgroup.destroy(mRSC, this); in ~ScriptGroup()
DrsFont.h187 Context *mRSC; variable
DrsType.cpp34 auto& types = mRSC->mStateType.mTypes; in preDestroy()
DrsElement.cpp44 auto& elements = mRSC->mStateElement.mElements; in preDestroy()
/frameworks/compile/slang/
Dslang_rs_reflection_state.cpp79 mRSC = nullptr; in closeJava32()
95 mRSC = nullptr; in closeJava64()
115 mRSC = RSC; in nextFile()
129 mRSC->ReportError("in file '%0' Java package name is '%1' for 32-bit targets " in nextFile()
311 mRSC->ReportError(EF->getLocation(), in beginForEach()
327 mRSC->ReportError(EF->getLocation(), in beginForEach()
334 mRSC->ReportError(EF->getLocation(), in beginForEach()
343 mRSC->ReportError(EF->getLocation(), in beginForEach()
349 mRSC->ReportError(EF->getLocation(), in beginForEach()
359 mRSC->ReportError(EF->getLocation(), in beginForEach()
[all …]
Dslang_rs_reflection_state.h133 mRSC(nullptr), in ReflectionState()
375 const RSContext *mRSC; variable
/frameworks/rs/cpu_ref/
DrsCpuCore.h161 Context * getContext() {return mRSC;} in getContext()
182 return mScriptLookupFn(mRSC, s); in lookupScript()
223 Context *mRSC;
DrsCpuCore.cpp87 mRSC = rsc; in RsdCpuReferenceImpl()
225 mTlsStruct.mContext = mRSC; in init()
238 if(mRSC->props.mDebugMaxThreads) { in init()
239 cpu = mRSC->props.mDebugMaxThreads; in init()
249 if (mRSC->props.mLogScripts) { in init()
250 ALOGV("%p Launching thread(s), CPUs %i", mRSC, mWorkers.mCount + 1); in init()
655 mtls->logReduce = mRSC->props.mLogReduce; in launchReduce()
735 if (mRSC->props.mDebugReduceSplitAccum) { in launchReduceParallel()
925 tls->mContext = mRSC; in setTLS()
935 return mSymLookupFn(mRSC, name); in symLookup()