Home
last modified time | relevance | path

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

/frameworks/base/libs/rs/
DrsFont.cpp48 … error = FT_New_Memory_Face(mRSC->mStateFont.getLib(), (const FT_Byte*)data, dataLen, 0, &mFace); in init()
50 error = FT_New_Face(mRSC->mStateFont.getLib(), name, 0, &mFace); in init()
76 for (uint32_t ct = 0; ct < mRSC->mStateFont.mActiveFonts.size(); ct++) { in preDestroy()
77 if (mRSC->mStateFont.mActiveFonts[ct] == this) { in preDestroy()
78 mRSC->mStateFont.mActiveFonts.removeAt(ct); in preDestroy()
91 FontState *state = &mRSC->mStateFont; in drawCachedGlyph()
118 FontState *state = &mRSC->mStateFont; in drawCachedGlyph()
256 FontState *state = &mRSC->mStateFont; in updateGlyphCache()
334 mRSC = NULL; in FontState()
392 mRSC = rsc; in init()
[all …]
DrsObjectBase.cpp28 mRSC = rsc; in ObjectBase()
64 op, this, mName.string(), mUserRefCount, mSysRefCount, mNext, mPrev, mRSC); in dumpLOGV()
67 op, this, mUserRefCount, mSysRefCount, mNext, mPrev, mRSC); in dumpLOGV()
169 mNext = mRSC->mObjHead; in add()
170 if (mRSC->mObjHead) { in add()
171 mRSC->mObjHead->mPrev = this; in add()
173 mRSC->mObjHead = this; in add()
180 if (!mRSC) { in remove()
186 if (mRSC->mObjHead == this) { in remove()
187 mRSC->mObjHead = mNext; in remove()
DrsScript.cpp50 mRSC->mHal.funcs.script.setGlobalBind(mRSC, this, slot, a->getPtr()); in setSlot()
52 mRSC->mHal.funcs.script.setGlobalBind(mRSC, this, slot, NULL); in setSlot()
62 mRSC->mHal.funcs.script.setGlobalVar(mRSC, this, slot, (void *)val, len); in setVar()
72 mRSC->mHal.funcs.script.setGlobalObj(mRSC, this, slot, val); in setVarObj()
77 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.cpp32 mRSC->mHal.funcs.fragment.init(mRSC, this, mUserShader.string(), mUserShader.length()); in ProgramFragment()
36 mRSC->mHal.funcs.fragment.destroy(mRSC, this); in ~ProgramFragment()
DrsMesh.cpp46 mRSC->mHal.funcs.mesh.destroy(mRSC, this); in ~Mesh()
64 mRSC->mHal.funcs.mesh.init(mRSC, this); in init()
192 mRSC->mHal.funcs.mesh.draw(mRSC, this, primIndex, start, len); in renderPrimitiveRange()
DrsScriptC.cpp47 mRSC->mHal.funcs.script.invokeFreeChildren(mRSC, this); in ~ScriptC()
48 mRSC->mHal.funcs.script.destroy(mRSC, this); in ~ScriptC()
DrsProgramVertex.cpp28 mRSC->mHal.funcs.vertex.init(mRSC, this, mUserShader.string(), mUserShader.length()); in ProgramVertex()
32 mRSC->mHal.funcs.vertex.destroy(mRSC, this); in ~ProgramVertex()
DrsObjectBase.h52 Context * getContext() const {return mRSC;} in getContext()
75 Context *mRSC; variable
DrsFileA3D.cpp235 entry->mRsObj = Mesh::createFromStream(mRSC, mReadStream); in initializeFromEntry()
238 entry->mRsObj = Type::createFromStream(mRSC, mReadStream); in initializeFromEntry()
241 entry->mRsObj = Element::createFromStream(mRSC, mReadStream); in initializeFromEntry()
244 entry->mRsObj = Allocation::createFromStream(mRSC, mReadStream); in initializeFromEntry()
DrsType.cpp29 for (uint32_t ct = 0; ct < mRSC->mStateType.mTypes.size(); ct++) { in preDestroy()
30 if (mRSC->mStateType.mTypes[ct] == this) { in preDestroy()
31 mRSC->mStateType.mTypes.removeAt(ct); in preDestroy()
DrsElement.cpp36 for (uint32_t ct = 0; ct < mRSC->mStateElement.mElements.size(); ct++) { in preDestroy()
37 if (mRSC->mStateElement.mElements[ct] == this) { in preDestroy()
38 mRSC->mStateElement.mElements.removeAt(ct); in preDestroy()
DrsAllocation.cpp62 mRSC->mHal.funcs.allocation.destroy(mRSC, this); in ~Allocation()
258 mRSC->mHal.funcs.allocation.markDirty(rsc, this); in sendDirty()
DrsFont.h186 Context *mRSC; variable