Home
last modified time | relevance | path

Searched refs:ObjectBase (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/rs/
DrsObjectBase.cpp23 pthread_mutex_t ObjectBase::gObjectInitMutex = PTHREAD_MUTEX_INITIALIZER;
25 ObjectBase::ObjectBase(Context *rsc) { in ObjectBase() function in ObjectBase
42 ObjectBase::~ObjectBase() { in ~ObjectBase()
64 void ObjectBase::dumpLOGV(const char *op) const { in dumpLOGV()
74 void ObjectBase::incUserRef() const { in incUserRef()
79 void ObjectBase::incSysRef() const { in incSysRef()
84 void ObjectBase::preDestroy() const { in preDestroy()
87 bool ObjectBase::freeChildren() { in freeChildren()
91 bool ObjectBase::checkDelete(const ObjectBase *ref) { in checkDelete()
114 bool ObjectBase::decUserRef() const { in decUserRef()
[all …]
DrsObjectBase.h31 class ObjectBase {
33 ObjectBase(Context *rsc);
42 static bool checkDelete(const ObjectBase *);
61 static bool isValid(const Context *rsc, const ObjectBase *obj);
74 virtual ~ObjectBase();
86 mutable const ObjectBase * mPrev;
87 mutable const ObjectBase * mNext;
DrsSampler.cpp25 Sampler::Sampler(Context *rsc) : ObjectBase(rsc) { in Sampler()
36 float aniso) : ObjectBase(rsc) { in Sampler()
86 ObjectBase::asyncLock(); in getSampler()
96 ObjectBase::asyncUnlock(); in getSampler()
99 ObjectBase::asyncUnlock(); in getSampler()
104 ObjectBase::asyncLock(); in getSampler()
106 ObjectBase::asyncUnlock(); in getSampler()
DrsElement.cpp24 Element::Element(Context *rsc) : ObjectBase(rsc) { in Element()
84 ObjectBase::dumpLOGV(prefix); in dumpLOGV()
226 ObjectBase::asyncLock(); in createRef()
236 ObjectBase::asyncUnlock(); in createRef()
240 ObjectBase::asyncUnlock(); in createRef()
247 ObjectBase::asyncLock(); in createRef()
249 ObjectBase::asyncUnlock(); in createRef()
259 ObjectBase::asyncLock(); in createRef()
275 ObjectBase::asyncUnlock(); in createRef()
280 ObjectBase::asyncUnlock(); in createRef()
[all …]
DrsFileA3D.h34 class FileA3D : public ObjectBase {
50 ObjectBase *mRsObj;
67 ObjectBase *initializeFromEntry(size_t index);
69 void appendToFile(Context *rsc, ObjectBase *obj);
DrsProgramRaster.cpp82 ObjectBase::asyncLock(); in getProgramRaster()
88 ObjectBase::asyncUnlock(); in getProgramRaster()
91 ObjectBase::asyncUnlock(); in getProgramRaster()
96 ObjectBase::asyncLock(); in getProgramRaster()
98 ObjectBase::asyncUnlock(); in getProgramRaster()
DrsContext.h50 if (!ObjectBase::isValid(rsc, (const ObjectBase *)o)) { \
56 if (o && !ObjectBase::isValid(rsc, (const ObjectBase *)o)) { \
146 void assignName(ObjectBase *obj, const char *name, uint32_t len);
147 void removeName(ObjectBase *obj);
226 mutable const ObjectBase * mObjHead;
287 Vector<ObjectBase *> mNames;
DrsScript.h34 class ScriptKernelID : public ObjectBase {
48 class ScriptFieldID : public ObjectBase {
60 class Script : public ObjectBase {
105 void setVarObj(uint32_t slot, ObjectBase *val);
DrsProgramStore.cpp93 ObjectBase::asyncLock(); in getProgramStore()
107 ObjectBase::asyncUnlock(); in getProgramStore()
110 ObjectBase::asyncUnlock(); in getProgramStore()
120 ObjectBase::asyncLock(); in getProgramStore()
122 ObjectBase::asyncUnlock(); in getProgramStore()
DrsPath.cpp24 Path::Path(Context *rsc) : ObjectBase(rsc) { in Path()
29 : ObjectBase(rsc) { in Path()
42 : ObjectBase(rsc) { in Path()
DrsProgramBase.h27 class ProgramBase : public ObjectBase {
29 ProgramBase(Context *rsc) : ObjectBase(rsc) { in ProgramBase()
DrsAdapter.cpp24 Adapter1D::Adapter1D(Context *rsc) : ObjectBase(rsc) { in Adapter1D()
28 Adapter1D::Adapter1D(Context *rsc, Allocation *a) : ObjectBase(rsc) { in Adapter1D()
95 Adapter2D::Adapter2D(Context *rsc) : ObjectBase(rsc) { in Adapter2D()
99 Adapter2D::Adapter2D(Context *rsc, Allocation *a) : ObjectBase(rsc) { in Adapter2D()
DrsScriptC_Lib.cpp137 void rsrSetObject(const Context *rsc, ObjectBase **dst, ObjectBase * src) { in rsrSetObject()
150 void rsrClearObject(const Context *rsc, ObjectBase **dst) { in rsrClearObject()
159 bool rsrIsObject(const Context *rsc, const ObjectBase *src) { in rsrIsObject()
DrsScript.cpp23 Script::Script(Context *rsc) : ObjectBase(rsc) { in Script()
82 void Script::setVarObj(uint32_t slot, ObjectBase *val) { in setVarObj()
99 : ObjectBase(rsc) { in ScriptKernelID()
119 ScriptFieldID::ScriptFieldID(Context *rsc, Script *s, int slot) : ObjectBase(rsc) { in ScriptFieldID()
218 ObjectBase *o = static_cast<ObjectBase *>(value); in rsi_ScriptSetVarObj()
DrsContext.cpp452 ObjectBase::zeroAllUserRef(this); in destroyWorkerThreadResources()
470 ObjectBase::freeAllChildren(this); in destroyWorkerThreadResources()
715 void Context::assignName(ObjectBase *obj, const char *name, uint32_t len) { in assignName()
721 void Context::removeName(ObjectBase *obj) { in removeName()
827 ObjectBase *ob = static_cast<ObjectBase *>(obj); in rsi_AssignName()
832 ObjectBase *ob = static_cast<ObjectBase *>(optr); in rsi_ObjDestroy()
856 ObjectBase::dumpAll(rsc); in rsi_ContextDump()
930 ObjectBase *ob = static_cast<ObjectBase *>(obj); in rsaGetName()
DrsType.cpp26 Type::Type(Context *rsc) : ObjectBase(rsc) { in Type()
177 ObjectBase::dumpLOGV(prefix); in dumpLOGV()
255 ObjectBase::asyncLock(); in getTypeRef()
266 ObjectBase::asyncUnlock(); in getTypeRef()
269 ObjectBase::asyncUnlock(); in getTypeRef()
283 ObjectBase::asyncLock(); in getTypeRef()
285 ObjectBase::asyncUnlock(); in getTypeRef()
DrsAdapter.h27 class Adapter1D : public ObjectBase {
61 class Adapter2D : public ObjectBase {
DrsRuntime.h134 void rsrSetObject(const Context *, ObjectBase **dst, ObjectBase * src);
135 void rsrClearObject(const Context *, ObjectBase **dst);
136 bool rsrIsObject(const Context *, const ObjectBase *src);
DrsFileA3D.cpp32 FileA3D::FileA3D(Context *rsc) : ObjectBase(rsc) { in FileA3D()
224 ObjectBase *FileA3D::initializeFromEntry(size_t index) { in initializeFromEntry()
363 void FileA3D::appendToFile(Context *con, ObjectBase *obj) { in appendToFile()
389 ObjectBase *obj = fa3d->initializeFromEntry(index); in rsaFileA3DGetEntryByIndex()
DrsAnimation.h28 class Animation : public ObjectBase {
DrsPath.h27 class Path : public ObjectBase {
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicLUT.cpp33 virtual void setGlobalObj(uint32_t slot, ObjectBase *data);
50 void RsdCpuScriptIntrinsicLUT::setGlobalObj(uint32_t slot, ObjectBase *data) { in setGlobalObj()
DrsCpuScript.cpp748 void RsdCpuScriptImpl::setGlobalObj(uint32_t slot, ObjectBase *data) { in setGlobalObj()
769 rsrSetObject(mCtx->getContext(), (ObjectBase **)destPtr, data); in setGlobalObj()
789 ObjectBase **obj_addr = in ~RsdCpuScriptImpl()
790 reinterpret_cast<ObjectBase **>(*var_addr_iter); in ~RsdCpuScriptImpl()
818 ObjectBase **obj_addr = in ~RsdCpuScriptImpl()
819 reinterpret_cast<ObjectBase **>(mFieldAddress[i]); in ~RsdCpuScriptImpl()
DrsCpuIntrinsicConvolve3x3.cpp34 virtual void setGlobalObj(uint32_t slot, ObjectBase *data);
54 void RsdCpuScriptIntrinsicConvolve3x3::setGlobalObj(uint32_t slot, ObjectBase *data) { in setGlobalObj()
DrsCpuIntrinsic.h47 virtual void setGlobalObj(uint32_t slot, ObjectBase *data);

12