Home
last modified time | relevance | path

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

123

/frameworks/rs/
DrsObjectBase.cpp24 pthread_mutex_t ObjectBase::gObjectInitMutex = PTHREAD_MUTEX_INITIALIZER;
26 ObjectBase::ObjectBase(Context *rsc) { in ObjectBase() function in android::renderscript::ObjectBase
47 ObjectBase::~ObjectBase() { in ~ObjectBase()
76 void ObjectBase::dumpLOGV(const char *op) const { in dumpLOGV()
86 void ObjectBase::incUserRef() const { in incUserRef()
93 void ObjectBase::incSysRef() const { in incSysRef()
100 void ObjectBase::preDestroy() const { in preDestroy()
103 bool ObjectBase::freeChildren() { in freeChildren()
107 bool ObjectBase::checkDelete(const ObjectBase *ref) { in checkDelete()
130 bool ObjectBase::decUserRef() const { in decUserRef()
[all …]
DrsScriptC_Lib.cpp114 static void SetObjectRef(const Context *rsc, const ObjectBase *dst, const ObjectBase *src) { in SetObjectRef()
128 ObjectBase **odst = (ObjectBase **)dst; in rsrClearObject()
129 if (ObjectBase::gDebugReferences) { in rsrClearObject()
140 if (ObjectBase::gDebugReferences) { in rsrClearObject()
156 void rsrSetObject(const Context *rsc, void *dst, ObjectBase *src) { in rsrSetObject()
162 ObjectBase **odst = (ObjectBase **)dst; in rsrSetObject()
163 if (ObjectBase::gDebugReferences) { in rsrSetObject()
170 void rsrSetObject(const Context *rsc, rs_object_base *dst, const ObjectBase *src) { in rsrSetObject()
176 ObjectBase **odst = (ObjectBase **)dst; in rsrSetObject()
177 if (ObjectBase::gDebugReferences) { in rsrSetObject()
[all …]
DrsObjectBase.h31 class ObjectBase {
38 ObjectBase(Context *rsc); // NOLINT, implicit
47 static bool checkDelete(const ObjectBase *);
67 static bool isValid(const Context *rsc, const ObjectBase *obj);
82 virtual ~ObjectBase();
94 mutable const ObjectBase * mPrev;
95 mutable const ObjectBase * mNext;
DrsElement.cpp23 Element::Element(Context *rsc) : ObjectBase(rsc) { in Element()
96 ObjectBase::dumpLOGV(prefix); in dumpLOGV()
234 ObjectBase::asyncLock(); in createRef()
244 ObjectBase::asyncUnlock(); in createRef()
248 ObjectBase::asyncUnlock(); in createRef()
268 ObjectBase::asyncLock(); in createRef()
270 ObjectBase::asyncUnlock(); in createRef()
280 ObjectBase::asyncLock(); in createRef()
307 ObjectBase::asyncUnlock(); in createRef()
312 ObjectBase::asyncUnlock(); in createRef()
[all …]
DrsSampler.cpp24 Sampler::Sampler(Context *rsc) : ObjectBase(rsc) { in Sampler()
35 float aniso) : ObjectBase(rsc) { in Sampler()
86 ObjectBase::asyncLock(); in getSampler()
96 ObjectBase::asyncUnlock(); in getSampler()
99 ObjectBase::asyncUnlock(); in getSampler()
115 ObjectBase::asyncLock(); in getSampler()
117 ObjectBase::asyncUnlock(); in getSampler()
DrsFileA3D.h34 class FileA3D : public ObjectBase {
50 ObjectBase *mRsObj;
69 ObjectBase *initializeFromEntry(size_t index);
71 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.h55 if (!ObjectBase::isValid(rsc, (const ObjectBase *)o)) { \
61 if (o && !ObjectBase::isValid(rsc, (const ObjectBase *)o)) { \
155 void assignName(ObjectBase *obj, const char *name, uint32_t len);
156 void removeName(ObjectBase *obj);
236 mutable const ObjectBase * mObjHead;
358 std::vector<ObjectBase *> mNames;
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()
DrsApiContext.cpp26 using android::renderscript::ObjectBase;
73 ObjectBase *ob = static_cast<ObjectBase *>(obj); in rsaGetName()
DrsScript.h36 class IDBase : public ObjectBase {
39 ObjectBase(rsc), mScript(s), mSlot(slot) {} in IDBase()
76 class Script : public ObjectBase {
122 void setVarObj(uint32_t slot, ObjectBase *val);
DrsProgramBase.h27 class ProgramBase : public ObjectBase {
29 explicit ProgramBase(Context *rsc) : ObjectBase(rsc) { in ProgramBase()
DrsScriptGroupBase.h9 class ScriptGroupBase : public ObjectBase {
11 explicit ScriptGroupBase(Context* rsc) : ObjectBase(rsc) {} in ScriptGroupBase()
DrsType.cpp28 Type::Type(Context *rsc) : ObjectBase(rsc) { in Type()
153 ObjectBase::dumpLOGV(prefix); in dumpLOGV()
231 ObjectBase::asyncLock(); in getTypeRef()
246 ObjectBase::asyncUnlock(); in getTypeRef()
249 ObjectBase::asyncUnlock(); in getTypeRef()
289 ObjectBase::asyncLock(); in getTypeRef()
291 ObjectBase::asyncUnlock(); in getTypeRef()
DrsClosure.h14 class ObjectBase; variable
20 class Closure : public ObjectBase {
DrsApiFileA3D.cpp23 using android::renderscript::ObjectBase;
33 ObjectBase *obj = fa3d->initializeFromEntry(index); in rsaFileA3DGetEntryByIndex()
DrsContext.cpp366 ObjectBase::zeroAllUserRef(this); in destroyWorkerThreadResources()
384 ObjectBase::freeAllChildren(this); in destroyWorkerThreadResources()
679 void Context::assignName(ObjectBase *obj, const char *name, uint32_t len) { in assignName()
685 void Context::removeName(ObjectBase *obj) { in removeName()
800 ObjectBase *ob = static_cast<ObjectBase *>(obj); in rsi_AssignName()
805 ObjectBase *ob = static_cast<ObjectBase *>(optr); in rsi_ObjDestroy()
829 ObjectBase::dumpAll(rsc); in rsi_ContextDump()
DrsScript.cpp23 Script::Script(Context *rsc) : ObjectBase(rsc) { in Script()
95 void Script::setVarObj(uint32_t slot, ObjectBase *val) { in setVarObj()
259 ObjectBase *o = static_cast<ObjectBase *>(value); in rsi_ScriptSetVarObj()
DrsFileA3D.cpp30 FileA3D::FileA3D(Context *rsc) : ObjectBase(rsc) { in FileA3D()
217 ObjectBase *FileA3D::initializeFromEntry(size_t index) { in initializeFromEntry()
361 void FileA3D::appendToFile(Context *con, ObjectBase *obj) { in appendToFile()
DrsAnimation.h28 class Animation : public ObjectBase {
DrsClosure.cpp67 ObjectBase(context), mContext(context), mFunctionID((IDBase*)kernelID), in Closure()
116 ObjectBase(context), mContext(context), mFunctionID((IDBase*)invokeID), mIsKernel(false), in Closure()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicLUT.cpp30 void setGlobalObj(uint32_t slot, ObjectBase *data) override;
44 void RsdCpuScriptIntrinsicLUT::setGlobalObj(uint32_t slot, ObjectBase *data) { in setGlobalObj()
Drsd_cpu.h30 class ObjectBase; variable
78 virtual void setGlobalObj(uint32_t slot, ObjectBase *obj) = 0;
DrsCpuIntrinsicYuvToRGB.cpp38 void setGlobalObj(uint32_t slot, ObjectBase *data) override;
52 void RsdCpuScriptIntrinsicYuvToRGB::setGlobalObj(uint32_t slot, ObjectBase *data) { in setGlobalObj()
/frameworks/rs/driver/
DrsdBcc.cpp31 using android::renderscript::ObjectBase;
161 void rsdScriptSetGlobalObj(const Context *dc, const Script *s, uint32_t slot, ObjectBase *data) { in rsdScriptSetGlobalObj()

123