Home
last modified time | relevance | path

Searched refs:ObjectBaseRef (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/rs/
DrsObjectBase.h101 class ObjectBaseRef {
103 ObjectBaseRef() { in ObjectBaseRef() function
107 ObjectBaseRef(const ObjectBaseRef &ref) { in ObjectBaseRef() function
114 ObjectBaseRef(T *ref) { // NOLINT, implicit in ObjectBaseRef() function
121 ObjectBaseRef & operator= (const ObjectBaseRef &ref) {
128 ~ObjectBaseRef() { in ~ObjectBaseRef()
142 void set(const ObjectBaseRef &ref) { in set()
DrsScriptGroup.h44 std::vector<ObjectBaseRef<ScriptKernelID> > mKernels;
48 ObjectBaseRef<const ScriptKernelID> mSource;
49 ObjectBaseRef<const ScriptKernelID> mDstKernel;
50 ObjectBaseRef<const ScriptFieldID> mDstField;
51 ObjectBaseRef<const Type> mType;
52 ObjectBaseRef<Allocation> mAlloc;
74 ObjectBaseRef<Allocation> mAlloc;
DrsProgram.h74 ObjectBaseRef<Allocation> *mTextures;
75 ObjectBaseRef<Sampler> *mSamplers;
76 ObjectBaseRef<Allocation> *mConstants;
77 ObjectBaseRef<Type> *mConstantTypes;
78 ObjectBaseRef<Element> *mInputElements;
DrsContext.h101 ObjectBaseRef<ProgramFragment> mFragment;
102 ObjectBaseRef<ProgramVertex> mVertex;
103 ObjectBaseRef<ProgramStore> mStore;
104 ObjectBaseRef<ProgramRaster> mRaster;
105 ObjectBaseRef<Font> mFont;
321 ObjectBaseRef<Script> mRootScript;
323 ObjectBaseRef<ProgramFragment> mFragment;
324 ObjectBaseRef<ProgramVertex> mVertex;
325 ObjectBaseRef<ProgramStore> mFragmentStore;
326 ObjectBaseRef<ProgramRaster> mRaster;
[all …]
DrsScript.h109 ObjectBaseRef<ProgramVertex> mVertex;
110 ObjectBaseRef<ProgramFragment> mFragment;
111 ObjectBaseRef<ProgramRaster> mRaster;
112 ObjectBaseRef<ProgramStore> mFragmentStore;
157 ObjectBaseRef<Allocation> *mSlots;
158 ObjectBaseRef<const Type> *mTypes;
DrsType.h110 ObjectBaseRef<Type> cloneAndResize1D(Context *rsc, uint32_t dimX) const;
111 ObjectBaseRef<Type> cloneAndResize2D(Context *rsc, uint32_t dimX, uint32_t dimY) const;
113 static ObjectBaseRef<Type> getTypeRef(Context *rsc, const Element *e,
118 ObjectBaseRef<Type> type = getTypeRef(rsc, e, params, len); in getType()
123 …static ObjectBaseRef<Type> getTypeRef(Context *rsc, const Element *e, uint32_t dimX, uint32_t dimY…
145 ObjectBaseRef<const Element> mElement;
DrsFont.h146 ObjectBaseRef<Font> mDefault;
209 ObjectBaseRef<Allocation> mFontShaderFConstant;
210 ObjectBaseRef<ProgramFragment> mFontShaderF;
211 ObjectBaseRef<Sampler> mFontSampler;
212 ObjectBaseRef<ProgramStore> mFontProgramStore;
216 ObjectBaseRef<Allocation> mTextTexture;
238 ObjectBaseRef<Mesh> mMesh;
DrsElement.h105 static ObjectBaseRef<const Element> createRef(Context *rsc,
110 static ObjectBaseRef<const Element> createRef(Context *rsc, size_t count,
121 ObjectBaseRef<const Element> elem = createRef(rsc, dt, dk, isNorm, vecSize); in create()
130 ObjectBaseRef<const Element> elem = createRef(rsc, count, ein, nin, lengths, asin);
146 ObjectBaseRef<const Element> e;
DrsProgramRaster.h55 static ObjectBaseRef<ProgramRaster> getProgramRaster(Context *rsc,
76 ObjectBaseRef<ProgramRaster> mDefault;
77 ObjectBaseRef<ProgramRaster> mLast;
DrsProgramVertex.h58 ObjectBaseRef<ProgramVertex> mDefault;
59 ObjectBaseRef<ProgramVertex> mLast;
60 ObjectBaseRef<Allocation> mDefaultAlloc;
DrsProgramStore.h67 static ObjectBaseRef<ProgramStore> getProgramStore(Context *,
93 ObjectBaseRef<ProgramStore> mDefault;
94 ObjectBaseRef<ProgramStore> mLast;
DrsClosure.h55 const ObjectBaseRef<IDBase> mFunctionID;
73 Map<const Closure*, Map<int, ObjectBaseRef<ScriptFieldID>>*> mArgDeps;
78 ObjectBaseRef<ScriptFieldID>>*> mGlobalDeps;
DrsProgramVertex.cpp167 ObjectBaseRef<const Element> matrixElem = Element::createRef(rsc, RS_TYPE_MATRIX_4X4, in init()
169 ObjectBaseRef<const Element> f2Elem = Element::createRef(rsc, RS_TYPE_FLOAT_32, in init()
171 ObjectBaseRef<const Element> f3Elem = Element::createRef(rsc, RS_TYPE_FLOAT_32, in init()
173 ObjectBaseRef<const Element> f4Elem = Element::createRef(rsc, RS_TYPE_FLOAT_32, in init()
179 ObjectBaseRef<const Element> constInput = Element::create(rsc, 4, ebe1, ebn1); in init()
183 ObjectBaseRef<const Element> attrElem = Element::create(rsc, 4, ebe2, ebn2); in init()
185 ObjectBaseRef<Type> inputType = Type::getTypeRef(rsc, constInput.get(), 1); in init()
DrsProgramRaster.cpp78 ObjectBaseRef<ProgramRaster> ProgramRaster::getProgramRaster(Context *rsc, in getProgramRaster()
81 ObjectBaseRef<ProgramRaster> returnRef; in getProgramRaster()
104 ObjectBaseRef<ProgramRaster> pr = ProgramRaster::getProgramRaster(rsc, pointSprite, cull); in rsi_ProgramRasterCreate()
DrsFBOCache.h56 ObjectBaseRef<Allocation> *mColorTargets;
57 ObjectBaseRef<Allocation> mDepthTarget;
DrsMesh.cpp58 mVertexBuffers = new ObjectBaseRef<Allocation>[mHal.state.vertexBuffersCount]; in Mesh()
59 mIndexBuffers = new ObjectBaseRef<Allocation>[mHal.state.primitivesCount]; in Mesh()
117 ObjectBaseRef<Allocation> *vertexBuffers = nullptr; in createFromStream()
119 vertexBuffers = new ObjectBaseRef<Allocation>[vertexBuffersCount]; in createFromStream()
128 ObjectBaseRef<Allocation> *indexBuffers = nullptr; in createFromStream()
131 indexBuffers = new ObjectBaseRef<Allocation>[primitivesCount]; in createFromStream()
DrsProgram.cpp42 mTextures = new ObjectBaseRef<Allocation>[mHal.state.texturesCount]; in Program()
43 mSamplers = new ObjectBaseRef<Sampler>[mHal.state.texturesCount]; in Program()
44 mInputElements = new ObjectBaseRef<Element>[mHal.state.inputElementsCount]; in Program()
45 mConstantTypes = new ObjectBaseRef<Type>[mHal.state.constantsCount]; in Program()
46 mConstants = new ObjectBaseRef<Allocation>[mHal.state.constantsCount]; in Program()
DrsProgramFragment.h57 ObjectBaseRef<ProgramFragment> mDefault;
60 ObjectBaseRef<ProgramFragment> mLast;
DrsProgramFragment.cpp106ObjectBaseRef<const Element> colorElem = Element::createRef(rsc, RS_TYPE_FLOAT_32, RS_KIND_USER, f… in init()
110 ObjectBaseRef<const Element> constInput = Element::create(rsc, 1, eins, enames); in init()
112 ObjectBaseRef<Type> inputType = Type::getTypeRef(rsc, constInput.get(), 1); in init()
DrsFont.cpp506 ObjectBaseRef<const Element> colorElem = Element::createRef(mRSC, RS_TYPE_FLOAT_32, in initRenderState()
508 ObjectBaseRef<const Element> gammaElem = Element::createRef(mRSC, RS_TYPE_FLOAT_32, in initRenderState()
513 ObjectBaseRef<const Element> constInput = Element::create(mRSC, 2, ebe1, ebn1); in initRenderState()
514 ObjectBaseRef<Type> inputType = Type::getTypeRef(mRSC, constInput.get(), 1); in initRenderState()
545 ObjectBaseRef<const Element> alphaElem = Element::createRef(mRSC, RS_TYPE_UNSIGNED_8, in initTextTexture()
551ObjectBaseRef<Type> texType = Type::getTypeRef(mRSC, alphaElem.get(), mCacheWidth, mCacheHeight); in initTextTexture()
580ObjectBaseRef<const Element> indexElem = Element::createRef(mRSC, RS_TYPE_UNSIGNED_16, RS_KIND_USE… in initVertexArrayBuffers()
581 ObjectBaseRef<Type> indexType = Type::getTypeRef(mRSC, indexElem.get(), mMaxNumberOfQuads * 6); in initVertexArrayBuffers()
604ObjectBaseRef<const Element> posElem = Element::createRef(mRSC, RS_TYPE_FLOAT_32, RS_KIND_USER, fa… in initVertexArrayBuffers()
605ObjectBaseRef<const Element> texElem = Element::createRef(mRSC, RS_TYPE_FLOAT_32, RS_KIND_USER, fa… in initVertexArrayBuffers()
[all …]
DrsProgramStore.cpp83 ObjectBaseRef<ProgramStore> ProgramStore::getProgramStore(Context *rsc, in getProgramStore()
92 ObjectBaseRef<ProgramStore> returnRef; in getProgramStore()
150 ObjectBaseRef<ProgramStore> ps = ProgramStore::getProgramStore(rsc, in rsi_ProgramStoreCreate()
DrsSampler.cpp78 ObjectBaseRef<Sampler> Sampler::getSampler(Context *rsc, in getSampler()
85 ObjectBaseRef<Sampler> returnRef; in getSampler()
139 ObjectBaseRef<Sampler> s = Sampler::getSampler(rsc, magFilter, minFilter, in rsi_SamplerCreate()
DrsSampler.h58 static ObjectBaseRef<Sampler> getSampler(Context *,
92 ObjectBaseRef<Sampler> mSamplers[RS_MAX_SAMPLER_SLOT];
DrsMesh.h88 ObjectBaseRef<Allocation> *mVertexBuffers;
89 ObjectBaseRef<Allocation> *mIndexBuffers;
DrsScriptIntrinsic.cpp37 mSlots = new ObjectBaseRef<Allocation>[2]; in init()
38 mTypes = new ObjectBaseRef<const Type>[2]; in init()

12