Home
last modified time | relevance | path

Searched refs:mRSC (Results 1 – 19 of 19) 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 for (uint32_t ct = 0; ct < mRSC->mStateFont.mActiveFonts.size(); ct++) { in preDestroy()
78 if (mRSC->mStateFont.mActiveFonts[ct] == this) { in preDestroy()
79 mRSC->mStateFont.mActiveFonts.removeAt(ct); in preDestroy()
92 FontState *state = &mRSC->mStateFont; in drawCachedGlyph()
119 FontState *state = &mRSC->mStateFont; in drawCachedGlyph()
257 FontState *state = &mRSC->mStateFont; in updateGlyphCache()
335 mRSC = NULL; in FontState()
393 mRSC = rsc; in init()
[all …]
DrsObjectBase.cpp28 mRSC = rsc; in ObjectBase()
67 op, this, mName.string(), mUserRefCount, mSysRefCount, mNext, mPrev, mRSC); in dumpLOGV()
70 op, this, mUserRefCount, mSysRefCount, mNext, mPrev, mRSC); in dumpLOGV()
176 mNext = mRSC->mObjHead; in add()
177 if (mRSC->mObjHead) { in add()
178 mRSC->mObjHead->mPrev = this; in add()
180 mRSC->mObjHead = this; in add()
187 if (!mRSC) { in remove()
193 if (mRSC->mObjHead == this) { in remove()
194 mRSC->mObjHead = mNext; in remove()
DrsScript.cpp51 mRSC->mHal.funcs.script.setGlobalBind(mRSC, this, slot, a); in setSlot()
60 mRSC->mHal.funcs.script.setGlobalVar(mRSC, this, slot, (void *)val, len); in setVar()
69 mRSC->mHal.funcs.script.getGlobalVar(mRSC, this, slot, (void *)val, len); in getVar()
78 mRSC->mHal.funcs.script.setGlobalVarWithElemDims(mRSC, this, slot, in setVar()
89 mRSC->mHal.funcs.script.setGlobalObj(mRSC, this, slot, val); in setVarObj()
94 mRSC->mHal.funcs.script.invokeFreeChildren(mRSC, this); in freeChildren()
DrsSampler.cpp44 mRSC->mHal.funcs.sampler.init(mRSC, this); in Sampler()
48 mRSC->mHal.funcs.sampler.destroy(mRSC, this); in ~Sampler()
52 for (uint32_t ct = 0; ct < mRSC->mStateSampler.mAllSamplers.size(); ct++) { in preDestroy()
53 if (mRSC->mStateSampler.mAllSamplers[ct] == this) { in preDestroy()
54 mRSC->mStateSampler.mAllSamplers.removeAt(ct); in preDestroy()
DrsProgramStore.cpp45 for (uint32_t ct = 0; ct < mRSC->mStateFragmentStore.mStorePrograms.size(); ct++) { in preDestroy()
46 if (mRSC->mStateFragmentStore.mStorePrograms[ct] == this) { in preDestroy()
47 mRSC->mStateFragmentStore.mStorePrograms.removeAt(ct); in preDestroy()
54 mRSC->mHal.funcs.store.destroy(mRSC, this); in ~ProgramStore()
74 mRSC->mHal.funcs.store.init(mRSC, this); in init()
DrsProgramRaster.cpp34 for (uint32_t ct = 0; ct < mRSC->mStateRaster.mRasterPrograms.size(); ct++) { in preDestroy()
35 if (mRSC->mStateRaster.mRasterPrograms[ct] == this) { in preDestroy()
36 mRSC->mStateRaster.mRasterPrograms.removeAt(ct); in preDestroy()
43 mRSC->mHal.funcs.raster.destroy(mRSC, this); in ~ProgramRaster()
DrsProgramFragment.cpp33 mRSC->mHal.funcs.fragment.init(mRSC, this, mUserShader.string(), mUserShader.length(), in ProgramFragment()
38 mRSC->mHal.funcs.fragment.destroy(mRSC, this); in ~ProgramFragment()
DrsObjectBase.h50 Context * getContext() const {return mRSC;} in getContext()
73 Context *mRSC; variable
DrsMesh.cpp64 mRSC->mHal.funcs.mesh.destroy(mRSC, this); in ~Mesh()
77 mRSC->mHal.funcs.mesh.init(mRSC, this); in init()
201 mRSC->mHal.funcs.mesh.draw(mRSC, this, primIndex, start, len); in renderPrimitiveRange()
DrsScriptC.cpp60 mRSC->mHal.funcs.script.invokeFreeChildren(mRSC, this); in ~ScriptC()
61 mRSC->mHal.funcs.script.destroy(mRSC, this); in ~ScriptC()
DrsProgramVertex.cpp30 mRSC->mHal.funcs.vertex.init(mRSC, this, mUserShader.string(), mUserShader.length(), in ProgramVertex()
35 mRSC->mHal.funcs.vertex.destroy(mRSC, this); in ~ProgramVertex()
DrsFileA3D.cpp245 entry->mRsObj = Mesh::createFromStream(mRSC, mReadStream); in initializeFromEntry()
248 entry->mRsObj = Type::createFromStream(mRSC, mReadStream); in initializeFromEntry()
251 entry->mRsObj = Element::createFromStream(mRSC, mReadStream); in initializeFromEntry()
254 entry->mRsObj = Allocation::createFromStream(mRSC, mReadStream); in initializeFromEntry()
DrsAllocation.cpp83 mRSC->mHal.funcs.allocation.destroy(mRSC, this); in ~Allocation()
405 mRSC->mHal.funcs.allocation.markDirty(rsc, this); in sendDirty()
420 void *ptr = mRSC->mHal.funcs.allocation.lock1D(mRSC, this); in freeChildrenUnlocked()
422 mRSC->mHal.funcs.allocation.unlock1D(mRSC, this); in freeChildrenUnlocked()
DrsScriptGroup.cpp27 if (mRSC->mHal.funcs.scriptgroup.destroy) { in ~ScriptGroup()
28 mRSC->mHal.funcs.scriptgroup.destroy(mRSC, this); in ~ScriptGroup()
DrsType.cpp32 for (uint32_t ct = 0; ct < mRSC->mStateType.mTypes.size(); ct++) { in preDestroy()
33 if (mRSC->mStateType.mTypes[ct] == this) { in preDestroy()
34 mRSC->mStateType.mTypes.removeAt(ct); in preDestroy()
DrsElement.cpp38 for (uint32_t ct = 0; ct < mRSC->mStateElement.mElements.size(); ct++) { in preDestroy()
39 if (mRSC->mStateElement.mElements[ct] == this) { in preDestroy()
40 mRSC->mStateElement.mElements.removeAt(ct); in preDestroy()
DrsFont.h188 Context *mRSC; variable
/frameworks/rs/cpu_ref/
DrsCpuCore.h91 Context * getContext() {return mRSC;} in getContext()
110 return mScriptLookupFn(mRSC, s); in lookupScript()
132 Context *mRSC;
DrsCpuCore.cpp100 mRSC = rsc; in RsdCpuReferenceImpl()
213 mTlsStruct.mContext = mRSC; in init()
221 if(mRSC->props.mDebugMaxThreads) { in init()
222 cpu = mRSC->props.mDebugMaxThreads; in init()
232 ALOGV("%p Launching thread(s), CPUs %i", mRSC, mWorkers.mCount + 1); in init()
436 tls->mContext = mRSC; in setTLS()
446 return mSymLookupFn(mRSC, name); in symLookup()