Home
last modified time | relevance | path

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

123

/frameworks/support/renderscript/v8/rs_support/
DrsObjectBase.cpp23 pthread_mutex_t ObjectBase::gObjectInitMutex = PTHREAD_MUTEX_INITIALIZER;
25 ObjectBase::ObjectBase(Context *rsc) { in ObjectBase() function in ObjectBase
41 ObjectBase::~ObjectBase() { in ~ObjectBase()
61 void ObjectBase::dumpLOGV(const char *op) const { in dumpLOGV()
71 void ObjectBase::incUserRef() const { in incUserRef()
76 void ObjectBase::incSysRef() const { in incSysRef()
81 void ObjectBase::preDestroy() const { in preDestroy()
84 bool ObjectBase::freeChildren() { in freeChildren()
88 bool ObjectBase::checkDelete(const ObjectBase *ref) { in checkDelete()
111 bool ObjectBase::decUserRef() const { in decUserRef()
[all …]
DrsObjectBase.h34 class ObjectBase {
36 ObjectBase(Context *rsc);
45 static bool checkDelete(const ObjectBase *);
64 static bool isValid(const Context *rsc, const ObjectBase *obj);
77 virtual ~ObjectBase();
89 mutable const ObjectBase * mPrev;
90 mutable const ObjectBase * mNext;
DrsContext.h39 if (!ObjectBase::isValid(rsc, (const ObjectBase *)o)) { \
45 if (o && !ObjectBase::isValid(rsc, (const ObjectBase *)o)) { \
93 void assignName(ObjectBase *obj, const char *name, uint32_t len);
94 void removeName(ObjectBase *obj);
143 mutable const ObjectBase * mObjHead;
189 Vector<ObjectBase *> mNames;
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 …]
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()
DrsContext.cpp201 ObjectBase::zeroAllUserRef(this); in destroyWorkerThreadResources()
202 ObjectBase::freeAllChildren(this); in destroyWorkerThreadResources()
335 void Context::assignName(ObjectBase *obj, const char *name, uint32_t len) { in assignName()
341 void Context::removeName(ObjectBase *obj) { in removeName()
415 ObjectBase *ob = static_cast<ObjectBase *>(obj); in rsi_AssignName()
420 ObjectBase *ob = static_cast<ObjectBase *>(optr); in rsi_ObjDestroy()
430 ObjectBase::dumpAll(rsc); in rsi_ContextDump()
484 ObjectBase *ob = static_cast<ObjectBase *>(obj); in rsaGetName()
DrsScript.h27 class ScriptKernelID : public ObjectBase {
41 class ScriptFieldID : public ObjectBase {
53 class Script : public ObjectBase {
91 void setVarObj(uint32_t slot, ObjectBase *val);
DrsScript.cpp23 Script::Script(Context *rsc) : ObjectBase(rsc) { in Script()
73 void Script::setVarObj(uint32_t slot, ObjectBase *val) { in setVarObj()
90 : ObjectBase(rsc) { in ScriptKernelID()
110 ScriptFieldID::ScriptFieldID(Context *rsc, Script *s, int slot) : ObjectBase(rsc) { in ScriptFieldID()
197 ObjectBase *o = static_cast<ObjectBase *>(value); in rsi_ScriptSetVarObj()
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.cpp118 void rsrSetObject(const Context *rsc, const Script *sc, ObjectBase **dst, ObjectBase * src) { in rsrSetObject()
131 void rsrClearObject(const Context *rsc, const Script *sc, ObjectBase **dst) { in rsrClearObject()
140 bool rsrIsObject(const Context *rsc, const Script *sc, const ObjectBase *src) { in rsrIsObject()
DrsType.cpp22 Type::Type(Context *rsc) : ObjectBase(rsc) { in Type()
147 ObjectBase::dumpLOGV(prefix); in dumpLOGV()
225 ObjectBase::asyncLock(); in getTypeRef()
235 ObjectBase::asyncUnlock(); in getTypeRef()
238 ObjectBase::asyncUnlock(); in getTypeRef()
251 ObjectBase::asyncLock(); in getTypeRef()
253 ObjectBase::asyncUnlock(); in getTypeRef()
/frameworks/rs/
DrsObjectBase.cpp23 pthread_mutex_t ObjectBase::gObjectInitMutex = PTHREAD_MUTEX_INITIALIZER;
25 ObjectBase::ObjectBase(Context *rsc) { in ObjectBase() function in ObjectBase
41 ObjectBase::~ObjectBase() { in ~ObjectBase()
61 void ObjectBase::dumpLOGV(const char *op) const { in dumpLOGV()
71 void ObjectBase::incUserRef() const { in incUserRef()
76 void ObjectBase::incSysRef() const { in incSysRef()
81 void ObjectBase::preDestroy() const { in preDestroy()
84 bool ObjectBase::freeChildren() { in freeChildren()
88 bool ObjectBase::checkDelete(const ObjectBase *ref) { in checkDelete()
111 bool ObjectBase::decUserRef() const { in decUserRef()
[all …]
DrsObjectBase.h34 class ObjectBase {
36 ObjectBase(Context *rsc);
45 static bool checkDelete(const ObjectBase *);
64 static bool isValid(const Context *rsc, const ObjectBase *obj);
77 virtual ~ObjectBase();
89 mutable const ObjectBase * mPrev;
90 mutable const ObjectBase * mNext;
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 …]
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()
DrsContext.h46 if (!ObjectBase::isValid(rsc, (const ObjectBase *)o)) { \
52 if (o && !ObjectBase::isValid(rsc, (const ObjectBase *)o)) { \
131 void assignName(ObjectBase *obj, const char *name, uint32_t len);
132 void removeName(ObjectBase *obj);
208 mutable const ObjectBase * mObjHead;
259 Vector<ObjectBase *> mNames;
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()
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()
DrsScript.h32 class ScriptKernelID : public ObjectBase {
46 class ScriptFieldID : public ObjectBase {
58 class Script : public ObjectBase {
101 void setVarObj(uint32_t slot, ObjectBase *val);
DrsPath.cpp24 Path::Path(Context *rsc) : ObjectBase(rsc) { in Path()
29 : ObjectBase(rsc) { in Path()
42 : ObjectBase(rsc) { in Path()
DrsScript.cpp23 Script::Script(Context *rsc) : ObjectBase(rsc) { in Script()
73 void Script::setVarObj(uint32_t slot, ObjectBase *val) { in setVarObj()
90 : ObjectBase(rsc) { in ScriptKernelID()
110 ScriptFieldID::ScriptFieldID(Context *rsc, Script *s, int slot) : ObjectBase(rsc) { in ScriptFieldID()
197 ObjectBase *o = static_cast<ObjectBase *>(value); in rsi_ScriptSetVarObj()
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.cpp118 void rsrSetObject(const Context *rsc, const Script *sc, ObjectBase **dst, ObjectBase * src) { in rsrSetObject()
131 void rsrClearObject(const Context *rsc, const Script *sc, ObjectBase **dst) { in rsrClearObject()
140 bool rsrIsObject(const Context *rsc, const Script *sc, const ObjectBase *src) { in rsrIsObject()

123