/frameworks/rs/ |
D | rsObjectBase.h | 93 class ObjectBaseRef { 95 ObjectBaseRef() { in ObjectBaseRef() function 99 ObjectBaseRef(const ObjectBaseRef &ref) { in ObjectBaseRef() function 106 ObjectBaseRef(T *ref) { in ObjectBaseRef() function 113 ObjectBaseRef & operator= (const ObjectBaseRef &ref) { 120 ~ObjectBaseRef() { in ~ObjectBaseRef() 134 void set(const ObjectBaseRef &ref) { in set()
|
D | rsScriptGroup.h | 35 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;
|
D | rsProgram.h | 74 ObjectBaseRef<Allocation> *mTextures; 75 ObjectBaseRef<Sampler> *mSamplers; 76 ObjectBaseRef<Allocation> *mConstants; 77 ObjectBaseRef<Type> *mConstantTypes; 78 ObjectBaseRef<Element> *mInputElements;
|
D | rsContext.h | 92 ObjectBaseRef<ProgramFragment> mFragment; 93 ObjectBaseRef<ProgramVertex> mVertex; 94 ObjectBaseRef<ProgramStore> mStore; 95 ObjectBaseRef<ProgramRaster> mRaster; 96 ObjectBaseRef<Font> mFont; 259 ObjectBaseRef<Script> mRootScript; 261 ObjectBaseRef<ProgramFragment> mFragment; 262 ObjectBaseRef<ProgramVertex> mVertex; 263 ObjectBaseRef<ProgramStore> mFragmentStore; 264 ObjectBaseRef<ProgramRaster> mRaster; [all …]
|
D | rsScript.h | 92 ObjectBaseRef<ProgramVertex> mVertex; 93 ObjectBaseRef<ProgramFragment> mFragment; 94 ObjectBaseRef<ProgramRaster> mRaster; 95 ObjectBaseRef<ProgramStore> mFragmentStore; 122 ObjectBaseRef<Allocation> *mSlots; 123 ObjectBaseRef<const Type> *mTypes;
|
D | rsElement.h | 64 ObjectBaseRef<const Element> create(Context *rsc); 66 Vector<ObjectBaseRef<const Element> > mBuilderElementRefs; 113 static ObjectBaseRef<const Element> createRef(Context *rsc, 118 static ObjectBaseRef<const Element> createRef(Context *rsc, size_t count, 129 ObjectBaseRef<const Element> elem = createRef(rsc, dt, dk, isNorm, vecSize); in create() 138 ObjectBaseRef<const Element> elem = createRef(rsc, count, ein, nin, lengths, asin); in create() 153 ObjectBaseRef<const Element> e;
|
D | rsFont.h | 147 ObjectBaseRef<Font> mDefault; 210 ObjectBaseRef<Allocation> mFontShaderFConstant; 211 ObjectBaseRef<ProgramFragment> mFontShaderF; 212 ObjectBaseRef<Sampler> mFontSampler; 213 ObjectBaseRef<ProgramStore> mFontProgramStore; 217 ObjectBaseRef<Allocation> mTextTexture; 239 ObjectBaseRef<Mesh> mMesh;
|
D | rsProgramRaster.h | 53 static ObjectBaseRef<ProgramRaster> getProgramRaster(Context *rsc, 74 ObjectBaseRef<ProgramRaster> mDefault; 75 ObjectBaseRef<ProgramRaster> mLast;
|
D | rsProgramVertex.h | 58 ObjectBaseRef<ProgramVertex> mDefault; 59 ObjectBaseRef<ProgramVertex> mLast; 60 ObjectBaseRef<Allocation> mDefaultAlloc;
|
D | rsType.h | 108 ObjectBaseRef<Type> cloneAndResize1D(Context *rsc, uint32_t dimX) const; 109 ObjectBaseRef<Type> cloneAndResize2D(Context *rsc, uint32_t dimX, uint32_t dimY) const; 111 static ObjectBaseRef<Type> getTypeRef(Context *rsc, const Element *e, 118 ObjectBaseRef<Type> type = getTypeRef(rsc, e, dimX, dimY, dimZ, dimLOD, dimFaces, yuv); in getType() 136 ObjectBaseRef<const Element> mElement;
|
D | rsProgramStore.h | 65 static ObjectBaseRef<ProgramStore> getProgramStore(Context *, 91 ObjectBaseRef<ProgramStore> mDefault; 92 ObjectBaseRef<ProgramStore> mLast;
|
D | rsProgramVertex.cpp | 168 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() 182 ObjectBaseRef<const Element> constInput = constBuilder.create(rsc); in init() 189 ObjectBaseRef<const Element> attrElem = inputBuilder.create(rsc); in init() 191 … ObjectBaseRef<Type> inputType = Type::getTypeRef(rsc, constInput.get(), 1, 0, 0, false, false, 0); in init()
|
D | rsFBOCache.h | 56 ObjectBaseRef<Allocation> *mColorTargets; 57 ObjectBaseRef<Allocation> mDepthTarget;
|
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 | rsProgram.cpp | 40 mTextures = new ObjectBaseRef<Allocation>[mHal.state.texturesCount]; in Program() 41 mSamplers = new ObjectBaseRef<Sampler>[mHal.state.texturesCount]; in Program() 42 mInputElements = new ObjectBaseRef<Element>[mHal.state.inputElementsCount]; in Program() 43 mConstantTypes = new ObjectBaseRef<Type>[mHal.state.constantsCount]; in Program() 44 mConstants = new ObjectBaseRef<Allocation>[mHal.state.constantsCount]; in Program()
|
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 | rsSampler.h | 54 static ObjectBaseRef<Sampler> getSampler(Context *, 88 ObjectBaseRef<Sampler> mSamplers[RS_MAX_SAMPLER_SLOT];
|
D | rsScriptIntrinsic.cpp | 33 mSlots = new ObjectBaseRef<Allocation>[2]; in init() 34 mTypes = new ObjectBaseRef<const Type>[2]; in init()
|
D | rsMesh.h | 88 ObjectBaseRef<Allocation> *mVertexBuffers; 89 ObjectBaseRef<Allocation> *mIndexBuffers;
|
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 | rsProgramFragment.cpp | 104 …ObjectBaseRef<const Element> colorElem = Element::createRef(rsc, RS_TYPE_FLOAT_32, RS_KIND_USER, f… in init() 107 ObjectBaseRef<const Element> constInput = builder.create(rsc); in init() 109 … ObjectBaseRef<Type> inputType = Type::getTypeRef(rsc, constInput.get(), 1, 0, 0, false, false, 0); in init()
|
D | rsFont.cpp | 501 ObjectBaseRef<const Element> colorElem = Element::createRef(mRSC, RS_TYPE_FLOAT_32, in initRenderState() 503 ObjectBaseRef<const Element> gammaElem = Element::createRef(mRSC, RS_TYPE_FLOAT_32, in initRenderState() 508 ObjectBaseRef<const Element> constInput = builder.create(mRSC); in initRenderState() 510 …ObjectBaseRef<Type> inputType = Type::getTypeRef(mRSC, constInput.get(), 1, 0, 0, false, false, 0); in initRenderState() 541 ObjectBaseRef<const Element> alphaElem = Element::createRef(mRSC, RS_TYPE_UNSIGNED_8, in initTextTexture() 547 ObjectBaseRef<Type> texType = Type::getTypeRef(mRSC, alphaElem.get(), in initTextTexture() 576 …ObjectBaseRef<const Element> indexElem = Element::createRef(mRSC, RS_TYPE_UNSIGNED_16, RS_KIND_USE… in initVertexArrayBuffers() 578 …ObjectBaseRef<Type> indexType = Type::getTypeRef(mRSC, indexElem.get(), numIndicies, 0, 0, false, … in initVertexArrayBuffers() 601 …ObjectBaseRef<const Element> posElem = Element::createRef(mRSC, RS_TYPE_FLOAT_32, RS_KIND_USER, fa… in initVertexArrayBuffers() 602 …ObjectBaseRef<const Element> texElem = Element::createRef(mRSC, RS_TYPE_FLOAT_32, RS_KIND_USER, fa… in initVertexArrayBuffers() [all …]
|
D | rsMesh.cpp | 58 mVertexBuffers = new ObjectBaseRef<Allocation>[mHal.state.vertexBuffersCount]; in Mesh() 59 mIndexBuffers = new ObjectBaseRef<Allocation>[mHal.state.primitivesCount]; in Mesh() 120 ObjectBaseRef<Allocation> *vertexBuffers = NULL; in createFromStream() 122 vertexBuffers = new ObjectBaseRef<Allocation>[vertexBuffersCount]; in createFromStream() 131 ObjectBaseRef<Allocation> *indexBuffers = NULL; in createFromStream() 134 indexBuffers = new ObjectBaseRef<Allocation>[primitivesCount]; in createFromStream()
|
D | rsAdapter.h | 54 ObjectBaseRef<Allocation> mAllocation; 87 ObjectBaseRef<Allocation> mAllocation;
|