Searched refs:mRSC (Results 1 - 21 of 21) 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.cpp51 error = FT_New_Memory_Face(mRSC->mStateFont.getLib(), (const FT_Byte*)data, dataLen, 0, &mFace);
53 error = FT_New_Face(mRSC->mStateFont.getLib(), name, 0, &mFace);
79 for (uint32_t ct = 0; ct < mRSC->mStateFont.mActiveFonts.size(); ct++) {
80 if (mRSC->mStateFont.mActiveFonts[ct] == this) {
81 mRSC->mStateFont.mActiveFonts.removeAt(ct);
94 FontState *state = &mRSC->mStateFont;
121 FontState *state = &mRSC->mStateFont;
259 FontState *state = &mRSC->mStateFont;
337 mRSC = nullptr;
399 mRSC
[all...]
H A DrsProgramRaster.cpp34 for (uint32_t ct = 0; ct < mRSC->mStateRaster.mRasterPrograms.size(); ct++) {
35 if (mRSC->mStateRaster.mRasterPrograms[ct] == this) {
36 mRSC->mStateRaster.mRasterPrograms.removeAt(ct);
43 mRSC->mHal.funcs.raster.destroy(mRSC, this);
H A DrsProgramStore.cpp45 for (uint32_t ct = 0; ct < mRSC->mStateFragmentStore.mStorePrograms.size(); ct++) {
46 if (mRSC->mStateFragmentStore.mStorePrograms[ct] == this) {
47 mRSC->mStateFragmentStore.mStorePrograms.removeAt(ct);
54 mRSC->mHal.funcs.store.destroy(mRSC, this);
74 mRSC->mHal.funcs.store.init(mRSC, this);
H A DrsSampler.cpp44 mRSC->mHal.funcs.sampler.init(mRSC, this);
48 mRSC->mHal.funcs.sampler.destroy(mRSC, this);
52 for (uint32_t ct = 0; ct < mRSC->mStateSampler.mAllSamplers.size(); ct++) {
53 if (mRSC->mStateSampler.mAllSamplers[ct] == this) {
54 mRSC->mStateSampler.mAllSamplers.removeAt(ct);
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 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.cpp61 mRSC->mHal.funcs.script.invokeFreeChildren(mRSC, this);
62 mRSC->mHal.funcs.script.destroy(mRSC, this);
211 if (mRSC->hadFatalError()) return;
246 if (mRSC->hadFatalError()) return;
264 if (mRSC->hadFatalError()) return;
H A DrsFileA3D.cpp252 entry->mRsObj = Mesh::createFromStream(mRSC, mReadStream);
255 entry->mRsObj = Type::createFromStream(mRSC, mReadStream);
258 entry->mRsObj = Element::createFromStream(mRSC, mReadStream);
261 entry->mRsObj = Allocation::createFromStream(mRSC, mReadStream);
264 //entry->mRsObj = ProgramVertex::createFromStream(mRSC, mReadStream);
267 //entry->mRsObj = ProgramRaster::createFromStream(mRSC, mReadStream);
270 //entry->mRsObj = ProgramFragment::createFromStream(mRSC, mReadStream);
273 //entry->mRsObj = ProgramStore::createFromStream(mRSC, mReadStream);
276 //entry->mRsObj = Sampler::createFromStream(mRSC, mReadStream);
279 //entry->mRsObj = Animation::createFromStream(mRSC, mReadStrea
[all...]
H A DrsProgramVertex.cpp30 mRSC->mHal.funcs.vertex.init(mRSC, this, mUserShader, mUserShaderLen,
35 mRSC->mHal.funcs.vertex.destroy(mRSC, this);
H A DrsAllocation.cpp163 mRSC->mHal.funcs.allocation.destroy(mRSC, this);
180 if (mRSC->mHal.funcs.allocation.getPointer != nullptr) {
182 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 DrsType.cpp36 for (uint32_t ct = 0; ct < mRSC->mStateType.mTypes.size(); ct++) {
37 if (mRSC->mStateType.mTypes[ct] == this) {
38 mRSC->mStateType.mTypes.removeAt(ct);
H A DrsElement.cpp45 for (uint32_t ct = 0; ct < mRSC->mStateElement.mElements.size(); ct++) {
46 if (mRSC->mStateElement.mElements[ct] == this) {
47 mRSC->mStateElement.mElements.removeAt(ct);
H A DrsFont.h187 Context *mRSC; member in class:android::renderscript::FontState
/frameworks/rs/cpu_ref/
H A DrsCpuCore.h159 Context * getContext() {return mRSC;}
180 return mScriptLookupFn(mRSC, s);
221 Context *mRSC; member in class:android::renderscript::RsdCpuReferenceImpl
H A DrsCpuCore.cpp99 mRSC = rsc;
237 mTlsStruct.mContext = mRSC;
250 if(mRSC->props.mDebugMaxThreads) {
251 cpu = mRSC->props.mDebugMaxThreads;
261 if (mRSC->props.mLogScripts) {
262 ALOGV("%p Launching thread(s), CPUs %i", mRSC, mWorkers.mCount + 1);
657 mtls->logReduce = mRSC->props.mLogReduce;
737 if (mRSC->props.mDebugReduceSplitAccum) {
927 tls->mContext = mRSC;
937 return mSymLookupFn(mRSC, nam
[all...]

Completed in 102 milliseconds