/frameworks/base/libs/rs/ |
D | rsObjectBase.h | 98 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()
|
D | rsScript.h | 64 ObjectBaseRef<ProgramVertex> mVertex; 65 ObjectBaseRef<ProgramFragment> mFragment; 66 ObjectBaseRef<ProgramRaster> mRaster; 67 ObjectBaseRef<ProgramStore> mFragmentStore; 89 ObjectBaseRef<Allocation> *mSlots; 90 ObjectBaseRef<const Type> *mTypes;
|
D | rsContext.h | 90 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 …]
|
D | rsProgram.h | 56 ObjectBaseRef<Allocation> *textures; 60 ObjectBaseRef<Sampler> *samplers; 63 ObjectBaseRef<Allocation> *constants; 64 ObjectBaseRef<Type> *constantTypes; 67 ObjectBaseRef<Element> *inputElements;
|
D | rsElement.h | 35 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;
|
D | rsFont.h | 148 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;
|
D | rsType.h | 65 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;
|
D | rsProgramRaster.h | 35 static ObjectBaseRef<ProgramRaster> getProgramRaster(Context *rsc, 67 ObjectBaseRef<ProgramRaster> mDefault; 68 ObjectBaseRef<ProgramRaster> mLast;
|
D | rsProgramVertex.h | 57 ObjectBaseRef<ProgramVertex> mDefault; 58 ObjectBaseRef<ProgramVertex> mLast; 59 ObjectBaseRef<Allocation> mDefaultAlloc;
|
D | rsProgramVertex.cpp | 153 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()
|
D | rsProgramStore.h | 36 static ObjectBaseRef<ProgramStore> getProgramStore(Context *, 86 ObjectBaseRef<ProgramStore> mDefault; 87 ObjectBaseRef<ProgramStore> mLast;
|
D | rsProgram.cpp | 40 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()
|
D | rsFBOCache.h | 47 ObjectBaseRef<Allocation> *colorTargets; 49 ObjectBaseRef<Allocation> depthTarget;
|
D | rsProgramRaster.cpp | 78 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()
|
D | rsProgramFragment.h | 57 ObjectBaseRef<ProgramFragment> mDefault; 60 ObjectBaseRef<ProgramFragment> mLast;
|
D | rsSampler.cpp | 78 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()
|
D | rsProgramFragment.cpp | 100 …ObjectBaseRef<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()
|
D | rsMesh.h | 38 ObjectBaseRef<Allocation> mIndexBuffer; 54 ObjectBaseRef<Allocation> *vertexBuffers;
|
D | rsSampler.h | 33 static ObjectBaseRef<Sampler> getSampler(Context *, 82 ObjectBaseRef<Sampler> mSamplers[RS_MAX_SAMPLER_SLOT];
|
D | rsProgramStore.cpp | 83 ObjectBaseRef<ProgramStore> ProgramStore::getProgramStore(Context *rsc, in getProgramStore() 92 ObjectBaseRef<ProgramStore> returnRef; in getProgramStore() 153 ObjectBaseRef<ProgramStore> ps = ProgramStore::getProgramStore(rsc, in rsi_ProgramStoreCreate()
|
D | rsFont.cpp | 493 …ObjectBaseRef<const Element> colorElem = Element::createRef(mRSC, RS_TYPE_FLOAT_32, RS_KIND_USER, … in initRenderState() 494 …ObjectBaseRef<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() 528 …ObjectBaseRef<const Element> alphaElem = Element::createRef(mRSC, RS_TYPE_UNSIGNED_8, RS_KIND_PIXE… in initTextTexture() 531 … ObjectBaseRef<Type> texType = Type::getTypeRef(mRSC, alphaElem.get(), 1024, 256, 0, false, false); in initTextTexture() 558 …ObjectBaseRef<const Element> indexElem = Element::createRef(mRSC, RS_TYPE_UNSIGNED_16, RS_KIND_USE… in initVertexArrayBuffers() 560 …ObjectBaseRef<Type> indexType = Type::getTypeRef(mRSC, indexElem.get(), numIndicies, 0, 0, false, … in initVertexArrayBuffers() 583 …ObjectBaseRef<const Element> posElem = Element::createRef(mRSC, RS_TYPE_FLOAT_32, RS_KIND_USER, fa… in initVertexArrayBuffers() 584 …ObjectBaseRef<const Element> texElem = Element::createRef(mRSC, RS_TYPE_FLOAT_32, RS_KIND_USER, fa… in initVertexArrayBuffers() [all …]
|
D | rsElement.cpp | 165 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()
|
D | rsAdapter.h | 57 ObjectBaseRef<Allocation> mAllocation; 92 ObjectBaseRef<Allocation> mAllocation;
|
D | rsType.cpp | 209 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()
|
D | rsMesh.cpp | 41 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()
|