Home
last modified time | relevance | path

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

12

/frameworks/base/libs/rs/
DrsObjectBase.h98 class ObjectBaseRef {
100 ObjectBaseRef() { in ObjectBaseRef() function
104 ObjectBaseRef(const ObjectBaseRef &ref) { in ObjectBaseRef() function
111 ObjectBaseRef(T *ref) { in ObjectBaseRef() function
118 ObjectBaseRef & operator= (const ObjectBaseRef &ref) {
125 ~ObjectBaseRef() { in ~ObjectBaseRef()
139 void set(const ObjectBaseRef &ref) { in set()
DrsScript.h64 ObjectBaseRef<ProgramVertex> mVertex;
65 ObjectBaseRef<ProgramFragment> mFragment;
66 ObjectBaseRef<ProgramRaster> mRaster;
67 ObjectBaseRef<ProgramStore> mFragmentStore;
89 ObjectBaseRef<Allocation> *mSlots;
90 ObjectBaseRef<const Type> *mTypes;
DrsContext.h90 ObjectBaseRef<ProgramFragment> mFragment;
91 ObjectBaseRef<ProgramVertex> mVertex;
92 ObjectBaseRef<ProgramStore> mStore;
93 ObjectBaseRef<ProgramRaster> mRaster;
94 ObjectBaseRef<Font> mFont;
236 ObjectBaseRef<Script> mRootScript;
237 ObjectBaseRef<ProgramFragment> mFragment;
238 ObjectBaseRef<ProgramVertex> mVertex;
239 ObjectBaseRef<ProgramStore> mFragmentStore;
240 ObjectBaseRef<ProgramRaster> mRaster;
[all …]
DrsProgram.h56 ObjectBaseRef<Allocation> *textures;
60 ObjectBaseRef<Sampler> *samplers;
63 ObjectBaseRef<Allocation> *constants;
64 ObjectBaseRef<Type> *constantTypes;
67 ObjectBaseRef<Element> *inputElements;
DrsElement.h35 ObjectBaseRef<const Element> create(Context *rsc);
37 Vector<ObjectBaseRef<const Element> > mBuilderElementRefs;
73 static ObjectBaseRef<const Element> createRef(Context *rsc,
78 static ObjectBaseRef<const Element> createRef(Context *rsc, size_t count,
89 ObjectBaseRef<const Element> elem = createRef(rsc, dt, dk, isNorm, vecSize); in create()
98 ObjectBaseRef<const Element> elem = createRef(rsc, count, ein, nin, lengths, asin); in create()
113 ObjectBaseRef<const Element> e;
DrsFont.h148 ObjectBaseRef<Font> mDefault;
208 ObjectBaseRef<Allocation> mFontShaderFConstant;
209 ObjectBaseRef<ProgramFragment> mFontShaderF;
210 ObjectBaseRef<Sampler> mFontSampler;
211 ObjectBaseRef<ProgramStore> mFontProgramStore;
215 ObjectBaseRef<Allocation> mTextTexture;
236 ObjectBaseRef<Mesh> mMesh;
DrsType.h65 ObjectBaseRef<Type> cloneAndResize1D(Context *rsc, uint32_t dimX) const;
66 ObjectBaseRef<Type> cloneAndResize2D(Context *rsc, uint32_t dimX, uint32_t dimY) const;
68 static ObjectBaseRef<Type> getTypeRef(Context *rsc, const Element *e,
75 ObjectBaseRef<Type> type = getTypeRef(rsc, e, dimX, dimY, dimZ, dimLOD, dimFaces); in getType()
96 ObjectBaseRef<const Element> mElement;
DrsProgramRaster.h35 static ObjectBaseRef<ProgramRaster> getProgramRaster(Context *rsc,
67 ObjectBaseRef<ProgramRaster> mDefault;
68 ObjectBaseRef<ProgramRaster> mLast;
DrsProgramVertex.h57 ObjectBaseRef<ProgramVertex> mDefault;
58 ObjectBaseRef<ProgramVertex> mLast;
59 ObjectBaseRef<Allocation> mDefaultAlloc;
DrsProgramVertex.cpp153 ObjectBaseRef<const Element> matrixElem = Element::createRef(rsc, RS_TYPE_MATRIX_4X4, in init()
155 ObjectBaseRef<const Element> f2Elem = Element::createRef(rsc, RS_TYPE_FLOAT_32, in init()
157 ObjectBaseRef<const Element> f3Elem = Element::createRef(rsc, RS_TYPE_FLOAT_32, in init()
159 ObjectBaseRef<const Element> f4Elem = Element::createRef(rsc, RS_TYPE_FLOAT_32, in init()
167 ObjectBaseRef<const Element> constInput = constBuilder.create(rsc); in init()
174 ObjectBaseRef<const Element> attrElem = inputBuilder.create(rsc); in init()
176 ObjectBaseRef<Type> inputType = Type::getTypeRef(rsc, constInput.get(), 1, 0, 0, false, false); in init()
DrsProgramStore.h36 static ObjectBaseRef<ProgramStore> getProgramStore(Context *,
86 ObjectBaseRef<ProgramStore> mDefault;
87 ObjectBaseRef<ProgramStore> mLast;
DrsProgram.cpp40 mHal.state.textures = new ObjectBaseRef<Allocation>[mHal.state.texturesCount]; in Program()
41 mHal.state.samplers = new ObjectBaseRef<Sampler>[mHal.state.texturesCount]; in Program()
43 mHal.state.inputElements = new ObjectBaseRef<Element>[mHal.state.inputElementsCount]; in Program()
44 mHal.state.constantTypes = new ObjectBaseRef<Type>[mHal.state.constantsCount]; in Program()
45 mHal.state.constants = new ObjectBaseRef<Allocation>[mHal.state.constantsCount]; in Program()
DrsFBOCache.h47 ObjectBaseRef<Allocation> *colorTargets;
49 ObjectBaseRef<Allocation> depthTarget;
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()
DrsProgramFragment.h57 ObjectBaseRef<ProgramFragment> mDefault;
60 ObjectBaseRef<ProgramFragment> mLast;
DrsSampler.cpp78 ObjectBaseRef<Sampler> Sampler::getSampler(Context *rsc, in getSampler()
85 ObjectBaseRef<Sampler> returnRef; in getSampler()
123 ObjectBaseRef<Sampler> s = Sampler::getSampler(rsc, magFilter, minFilter, in rsi_SamplerCreate()
DrsProgramFragment.cpp100ObjectBaseRef<const Element> colorElem = Element::createRef(rsc, RS_TYPE_FLOAT_32, RS_KIND_USER, f… in init()
103 ObjectBaseRef<const Element> constInput = builder.create(rsc); in init()
105 ObjectBaseRef<Type> inputType = Type::getTypeRef(rsc, constInput.get(), 1, 0, 0, false, false); in init()
DrsMesh.h38 ObjectBaseRef<Allocation> mIndexBuffer;
54 ObjectBaseRef<Allocation> *vertexBuffers;
DrsSampler.h33 static ObjectBaseRef<Sampler> getSampler(Context *,
82 ObjectBaseRef<Sampler> mSamplers[RS_MAX_SAMPLER_SLOT];
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()
DrsFont.cpp493ObjectBaseRef<const Element> colorElem = Element::createRef(mRSC, RS_TYPE_FLOAT_32, RS_KIND_USER, … in initRenderState()
494ObjectBaseRef<const Element> gammaElem = Element::createRef(mRSC, RS_TYPE_FLOAT_32, RS_KIND_USER, … in initRenderState()
498 ObjectBaseRef<const Element> constInput = builder.create(mRSC); in initRenderState()
500 ObjectBaseRef<Type> inputType = Type::getTypeRef(mRSC, constInput.get(), 1, 0, 0, false, false); in initRenderState()
528ObjectBaseRef<const Element> alphaElem = Element::createRef(mRSC, RS_TYPE_UNSIGNED_8, RS_KIND_PIXE… in initTextTexture()
531ObjectBaseRef<Type> texType = Type::getTypeRef(mRSC, alphaElem.get(), 1024, 256, 0, false, false); in initTextTexture()
558ObjectBaseRef<const Element> indexElem = Element::createRef(mRSC, RS_TYPE_UNSIGNED_16, RS_KIND_USE… in initVertexArrayBuffers()
560ObjectBaseRef<Type> indexType = Type::getTypeRef(mRSC, indexElem.get(), numIndicies, 0, 0, false, … in initVertexArrayBuffers()
583ObjectBaseRef<const Element> posElem = Element::createRef(mRSC, RS_TYPE_FLOAT_32, RS_KIND_USER, fa… in initVertexArrayBuffers()
584ObjectBaseRef<const Element> texElem = Element::createRef(mRSC, RS_TYPE_FLOAT_32, RS_KIND_USER, fa… in initVertexArrayBuffers()
[all …]
DrsElement.cpp165 ObjectBaseRef<const Element> Element::createRef(Context *rsc, RsDataType dt, RsDataKind dk, in createRef()
167 ObjectBaseRef<const Element> returnRef; in createRef()
197 ObjectBaseRef<const Element> Element::createRef(Context *rsc, size_t count, const Element **ein, in createRef()
200 ObjectBaseRef<const Element> returnRef; in createRef()
297 mBuilderElementRefs.push(ObjectBaseRef<const Element>(e)); in add()
305 ObjectBaseRef<const Element> Element::Builder::create(Context *rsc) { in create()
DrsAdapter.h57 ObjectBaseRef<Allocation> mAllocation;
92 ObjectBaseRef<Allocation> mAllocation;
DrsType.cpp209 ObjectBaseRef<Type> Type::getTypeRef(Context *rsc, const Element *e, in getTypeRef()
212 ObjectBaseRef<Type> returnRef; in getTypeRef()
249 ObjectBaseRef<Type> Type::cloneAndResize1D(Context *rsc, uint32_t dimX) const { in cloneAndResize1D()
254 ObjectBaseRef<Type> Type::cloneAndResize2D(Context *rsc, in cloneAndResize2D()
DrsMesh.cpp41 mHal.state.vertexBuffers = new ObjectBaseRef<Allocation>[mHal.state.vertexBuffersCount]; in Mesh()
109 ObjectBaseRef<Allocation> *vertexBuffers = NULL; in createFromStream()
111 vertexBuffers = new ObjectBaseRef<Allocation>[vertexBuffersCount]; in createFromStream()
120 ObjectBaseRef<Allocation> *indexBuffers = NULL; in createFromStream()
123 indexBuffers = new ObjectBaseRef<Allocation>[primitivesCount]; in createFromStream()

12