Home
last modified time | relevance | path

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

12

/frameworks/base/libs/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.h33 class ObjectBase {
35 ObjectBase(Context *rsc);
44 static bool checkDelete(const ObjectBase *);
63 static bool isValid(const Context *rsc, const ObjectBase *obj);
76 virtual ~ObjectBase();
88 mutable const ObjectBase * mPrev;
89 mutable const ObjectBase * mNext;
DrsElement.cpp24 Element::Element(Context *rsc) : ObjectBase(rsc) { in Element()
64 ObjectBase::dumpLOGV(prefix); in dumpLOGV()
169 ObjectBase::asyncLock(); in createRef()
179 ObjectBase::asyncUnlock(); in createRef()
183 ObjectBase::asyncUnlock(); in createRef()
190 ObjectBase::asyncLock(); in createRef()
192 ObjectBase::asyncUnlock(); in createRef()
202 ObjectBase::asyncLock(); in createRef()
218 ObjectBase::asyncUnlock(); in createRef()
223 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()
DrsFileA3D.h35 class FileA3D : public ObjectBase {
51 ObjectBase *mRsObj;
68 ObjectBase *initializeFromEntry(size_t index);
70 void appendToFile(ObjectBase *obj);
DrsContext.h52 if (!ObjectBase::isValid(rsc, (const ObjectBase *)o)) { \
58 if (o && !ObjectBase::isValid(rsc, (const ObjectBase *)o)) { \
137 void assignName(ObjectBase *obj, const char *name, uint32_t len);
138 void removeName(ObjectBase *obj);
210 mutable const ObjectBase * mObjHead;
261 Vector<ObjectBase *> mNames;
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()
DrsProgramBase.h27 class ProgramBase : public ObjectBase {
29 ProgramBase(Context *rsc) : ObjectBase(rsc) { in ProgramBase()
DrsType.cpp22 Type::Type(Context *rsc) : ObjectBase(rsc) { in Type()
143 ObjectBase::dumpLOGV(prefix); in dumpLOGV()
216 ObjectBase::asyncLock(); in getTypeRef()
226 ObjectBase::asyncUnlock(); in getTypeRef()
229 ObjectBase::asyncUnlock(); in getTypeRef()
242 ObjectBase::asyncLock(); in getTypeRef()
244 ObjectBase::asyncUnlock(); in getTypeRef()
DrsScriptC_Lib.cpp117 void rsrSetObject(const Context *rsc, const Script *sc, ObjectBase **dst, ObjectBase * src) { in rsrSetObject()
130 void rsrClearObject(const Context *rsc, const Script *sc, ObjectBase **dst) { in rsrClearObject()
139 bool rsrIsObject(const Context *rsc, const Script *sc, const ObjectBase *src) { in rsrIsObject()
DrsScript.cpp22 Script::Script(Context *rsc) : ObjectBase(rsc) { in Script()
65 void Script::setVarObj(uint32_t slot, ObjectBase *val) { in setVarObj()
129 ObjectBase *o = static_cast<ObjectBase *>(value); in rsi_ScriptSetVarObj()
DrsContext.cpp301 ObjectBase::zeroAllUserRef(this); in destroyWorkerThreadResources()
317 ObjectBase::freeAllChildren(this); in destroyWorkerThreadResources()
534 void Context::assignName(ObjectBase *obj, const char *name, uint32_t len) { in assignName()
540 void Context::removeName(ObjectBase *obj) { in removeName()
639 ObjectBase *ob = static_cast<ObjectBase *>(obj); in rsi_AssignName()
644 ObjectBase *ob = static_cast<ObjectBase *>(optr); in rsi_ObjDestroy()
666 ObjectBase::dumpAll(rsc); in rsi_ContextDump()
734 ObjectBase *ob = static_cast<ObjectBase *>(obj); in rsaGetName()
DrsAdapter.cpp23 Adapter1D::Adapter1D(Context *rsc) : ObjectBase(rsc) { in Adapter1D()
27 Adapter1D::Adapter1D(Context *rsc, Allocation *a) : ObjectBase(rsc) { in Adapter1D()
123 Adapter2D::Adapter2D(Context *rsc) : ObjectBase(rsc) { in Adapter2D()
127 Adapter2D::Adapter2D(Context *rsc, Allocation *a) : ObjectBase(rsc) { in Adapter2D()
DrsScript.h32 class Script : public ObjectBase {
74 void setVarObj(uint32_t slot, ObjectBase *val);
DrsAdapter.h27 class Adapter1D : public ObjectBase {
64 class Adapter2D : public ObjectBase {
DrsRuntime.h139 void rsrSetObject(const Context *, const Script *, ObjectBase **dst, ObjectBase * src);
140 void rsrClearObject(const Context *, const Script *, ObjectBase **dst);
141 bool rsrIsObject(const Context *, const Script *, const ObjectBase *src);
DrsFileA3D.cpp28 FileA3D::FileA3D(Context *rsc) : ObjectBase(rsc) { in FileA3D()
214 ObjectBase *FileA3D::initializeFromEntry(size_t index) { in initializeFromEntry()
345 void FileA3D::appendToFile(ObjectBase *obj) { in appendToFile()
371 ObjectBase *obj = fa3d->initializeFromEntry(index); in rsaFileA3DGetEntryByIndex()
DrsAnimation.h28 class Animation : public ObjectBase {
DrsMesh.h29 class Mesh : public ObjectBase {
DrsSampler.h31 class Sampler : public ObjectBase {
Drs_hal.h26 class ObjectBase; variable
104 ObjectBase *data);
DrsElement.h29 class Element : public ObjectBase {
/frameworks/base/libs/rs/driver/
DrsdRuntimeStubs.cpp304 static void SC_SetObject(ObjectBase **dst, ObjectBase * src) { in SC_SetObject()
309 static void SC_ClearObject(ObjectBase **dst) { in SC_ClearObject()
314 static bool SC_IsObject(const ObjectBase *src) { in SC_IsObject()
DrsdBcc.h57 uint32_t slot, android::renderscript::ObjectBase *data);

12