Home
last modified time | relevance | path

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

12

/frameworks/rs/
DrsObjectBase.h96 class ObjectBaseRef {
98 ObjectBaseRef() { in ObjectBaseRef() function
102 ObjectBaseRef(const ObjectBaseRef &ref) { in ObjectBaseRef() function
109 ObjectBaseRef(T *ref) { in ObjectBaseRef() function
116 ObjectBaseRef & operator= (const ObjectBaseRef &ref) {
123 ~ObjectBaseRef() { in ~ObjectBaseRef()
137 void set(const ObjectBaseRef &ref) { in set()
DrsScriptGroup.h35 Vector<ObjectBaseRef<ScriptKernelID> > mKernels;
39 ObjectBaseRef<const ScriptKernelID> mSource;
40 ObjectBaseRef<const ScriptKernelID> mDstKernel;
41 ObjectBaseRef<const ScriptFieldID> mDstField;
42 ObjectBaseRef<const Type> mType;
43 ObjectBaseRef<Allocation> mAlloc;
65 ObjectBaseRef<Allocation> mAlloc;
DrsContext.h105 ObjectBaseRef<ProgramFragment> mFragment;
106 ObjectBaseRef<ProgramVertex> mVertex;
107 ObjectBaseRef<ProgramStore> mStore;
108 ObjectBaseRef<ProgramRaster> mRaster;
109 ObjectBaseRef<Font> mFont;
272 ObjectBaseRef<Script> mRootScript;
274 ObjectBaseRef<ProgramFragment> mFragment;
275 ObjectBaseRef<ProgramVertex> mVertex;
276 ObjectBaseRef<ProgramStore> mFragmentStore;
277 ObjectBaseRef<ProgramRaster> mRaster;
[all …]
DrsProgram.h74 ObjectBaseRef<Allocation> *mTextures;
75 ObjectBaseRef<Sampler> *mSamplers;
76 ObjectBaseRef<Allocation> *mConstants;
77 ObjectBaseRef<Type> *mConstantTypes;
78 ObjectBaseRef<Element> *mInputElements;
DrsScript.h94 ObjectBaseRef<ProgramVertex> mVertex;
95 ObjectBaseRef<ProgramFragment> mFragment;
96 ObjectBaseRef<ProgramRaster> mRaster;
97 ObjectBaseRef<ProgramStore> mFragmentStore;
140 ObjectBaseRef<Allocation> *mSlots;
141 ObjectBaseRef<const Type> *mTypes;
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;
DrsProgramRaster.h53 static ObjectBaseRef<ProgramRaster> getProgramRaster(Context *rsc,
74 ObjectBaseRef<ProgramRaster> mDefault;
75 ObjectBaseRef<ProgramRaster> mLast;
DrsElement.h103 static ObjectBaseRef<const Element> createRef(Context *rsc,
108 static ObjectBaseRef<const Element> createRef(Context *rsc, size_t count,
119 ObjectBaseRef<const Element> elem = createRef(rsc, dt, dk, isNorm, vecSize); in create()
128 ObjectBaseRef<const Element> elem = createRef(rsc, count, ein, nin, lengths, asin);
144 ObjectBaseRef<const Element> e;
DrsType.h99 ObjectBaseRef<Type> cloneAndResize1D(Context *rsc, uint32_t dimX) const;
100 ObjectBaseRef<Type> cloneAndResize2D(Context *rsc, uint32_t dimX, uint32_t dimY) const;
102 static ObjectBaseRef<Type> getTypeRef(Context *rsc, const Element *e,
109 ObjectBaseRef<Type> type = getTypeRef(rsc, e, dimX, dimY, dimZ, dimLOD, dimFaces, yuv); in getType()
128 ObjectBaseRef<const Element> mElement;
DrsProgramVertex.h58 ObjectBaseRef<ProgramVertex> mDefault;
59 ObjectBaseRef<ProgramVertex> mLast;
60 ObjectBaseRef<Allocation> mDefaultAlloc;
DrsProgramStore.h65 static ObjectBaseRef<ProgramStore> getProgramStore(Context *,
91 ObjectBaseRef<ProgramStore> mDefault;
92 ObjectBaseRef<ProgramStore> mLast;
DrsProgramVertex.cpp168 ObjectBaseRef<const Element> matrixElem = Element::createRef(rsc, RS_TYPE_MATRIX_4X4, in init()
170 ObjectBaseRef<const Element> f2Elem = Element::createRef(rsc, RS_TYPE_FLOAT_32, in init()
172 ObjectBaseRef<const Element> f3Elem = Element::createRef(rsc, RS_TYPE_FLOAT_32, in init()
174 ObjectBaseRef<const Element> f4Elem = Element::createRef(rsc, RS_TYPE_FLOAT_32, in init()
180 ObjectBaseRef<const Element> constInput = Element::create(rsc, 4, ebe1, ebn1); in init()
184 ObjectBaseRef<const Element> attrElem = Element::create(rsc, 4, ebe2, ebn2); in init()
186ObjectBaseRef<Type> inputType = Type::getTypeRef(rsc, constInput.get(), 1, 0, 0, false, false, 0); in init()
DrsProgramRaster.cpp78 ObjectBaseRef<ProgramRaster> ProgramRaster::getProgramRaster(Context *rsc, in getProgramRaster()
81 ObjectBaseRef<ProgramRaster> returnRef; in getProgramRaster()
107 ObjectBaseRef<ProgramRaster> pr = ProgramRaster::getProgramRaster(rsc, pointSprite, cull); in rsi_ProgramRasterCreate()
DrsFBOCache.h56 ObjectBaseRef<Allocation> *mColorTargets;
57 ObjectBaseRef<Allocation> mDepthTarget;
DrsProgramFragment.h57 ObjectBaseRef<ProgramFragment> mDefault;
60 ObjectBaseRef<ProgramFragment> mLast;
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.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()
112ObjectBaseRef<Type> inputType = Type::getTypeRef(rsc, constInput.get(), 1, 0, 0, false, false, 0); in init()
DrsMesh.h88 ObjectBaseRef<Allocation> *mVertexBuffers;
89 ObjectBaseRef<Allocation> *mIndexBuffers;
DrsSampler.h56 static ObjectBaseRef<Sampler> getSampler(Context *,
90 ObjectBaseRef<Sampler> mSamplers[RS_MAX_SAMPLER_SLOT];
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 = NULL; in createFromStream()
119 vertexBuffers = new ObjectBaseRef<Allocation>[vertexBuffersCount]; in createFromStream()
128 ObjectBaseRef<Allocation> *indexBuffers = NULL; in createFromStream()
131 indexBuffers = new ObjectBaseRef<Allocation>[primitivesCount]; in createFromStream()
DrsProgramStore.cpp83 ObjectBaseRef<ProgramStore> ProgramStore::getProgramStore(Context *rsc, in getProgramStore()
92 ObjectBaseRef<ProgramStore> returnRef; in getProgramStore()
153 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()
142 ObjectBaseRef<Sampler> s = Sampler::getSampler(rsc, magFilter, minFilter, in rsi_SamplerCreate()
DrsFont.cpp507 ObjectBaseRef<const Element> colorElem = Element::createRef(mRSC, RS_TYPE_FLOAT_32, in initRenderState()
509 ObjectBaseRef<const Element> gammaElem = Element::createRef(mRSC, RS_TYPE_FLOAT_32, in initRenderState()
514 ObjectBaseRef<const Element> constInput = Element::create(mRSC, 2, ebe1, ebn1); in initRenderState()
516ObjectBaseRef<Type> inputType = Type::getTypeRef(mRSC, constInput.get(), 1, 0, 0, false, false, 0); in initRenderState()
547 ObjectBaseRef<const Element> alphaElem = Element::createRef(mRSC, RS_TYPE_UNSIGNED_8, in initTextTexture()
553 ObjectBaseRef<Type> texType = Type::getTypeRef(mRSC, alphaElem.get(), in initTextTexture()
582ObjectBaseRef<const Element> indexElem = Element::createRef(mRSC, RS_TYPE_UNSIGNED_16, RS_KIND_USE… in initVertexArrayBuffers()
584ObjectBaseRef<Type> indexType = Type::getTypeRef(mRSC, indexElem.get(), numIndicies, 0, 0, false, … in initVertexArrayBuffers()
607ObjectBaseRef<const Element> posElem = Element::createRef(mRSC, RS_TYPE_FLOAT_32, RS_KIND_USER, fa… in initVertexArrayBuffers()
608ObjectBaseRef<const Element> texElem = Element::createRef(mRSC, RS_TYPE_FLOAT_32, RS_KIND_USER, fa… in initVertexArrayBuffers()
[all …]
DrsScriptIntrinsic.cpp37 mSlots = new ObjectBaseRef<Allocation>[2]; in init()
38 mTypes = new ObjectBaseRef<const Type>[2]; in init()
DrsAdapter.h54 ObjectBaseRef<Allocation> mAllocation;
87 ObjectBaseRef<Allocation> mAllocation;

12