Lines Matching defs:const

46     const static int MAX_LOD = 16;
48 const static size_t kMinimumRSAlignment = 16;
50 const static uint32_t MAX_NUM_ALLOC = 16;
56 const Type * type;
74 const Allocation *baseAlloc;
111 static Allocation * createAllocation(Context *rsc, const Type *, uint32_t usages,
114 static Allocation * createAllocationStrided(Context *rsc, const Type *, uint32_t usages,
117 static Allocation * createAdapter(Context *rsc, const Allocation *alloc, const Type *type);
123 const Type * getType() const {return mHal.state.type;}
127 void copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len);
132 void data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes);
134 uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride);
136 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride);
145 const void *data, uint32_t elementOff, size_t sizeBytes);
150 void addProgramToDirty(const Program *);
151 void removeProgramToDirty(const Program *);
153 virtual void dumpLOGV(const char *prefix) const;
154 virtual void serialize(Context *rsc, OStream *stream) const;
155 virtual RsA3DClassID getClassId() const { return RS_A3D_CLASS_ID_ALLOCATION; }
158 bool getIsScript() const {
161 bool getIsTexture() const {
164 bool getIsRenderTarget() const {
167 bool getIsBufferObject() const {
171 void incRefs(const void *ptr, size_t ct, size_t startOff = 0) const;
172 void decRefs(const void *ptr, size_t ct, size_t startOff = 0) const;
173 virtual void callUpdateCacheObject(const Context *rsc, void *dstObj) const;
176 void sendDirty(const Context *rsc) const;
177 bool getHasGraphicsMipmaps() const {
181 void setupGrallocConsumer(const Context *rsc, uint32_t numAlloc);
182 void shareBufferQueue(const Context *rsc, const Allocation *alloc);
183 void * getSurface(const Context *rsc);
184 void setSurface(const Context *rsc, RsNativeWindow sur);
185 void ioSend(const Context *rsc);
186 void ioReceive(const Context *rsc);
189 void adapterOffset(Context *rsc, const uint32_t *offsets, size_t len);
191 void * getPointer(const Context *rsc, uint32_t lod, RsAllocationCubemapFace face,
197 uint32_t a1 = 0, uint32_t a2 = 0, uint32_t a3 = 0, uint32_t a4 = 0) const {
209 bool hasSameDims(const Allocation *Other) const;
212 std::vector<const Program *> mToDirtyList;
213 ObjectBaseRef<const Type> mType;
214 void setType(const Type *t) {
228 Allocation(Context *rsc, const Type *, uint32_t usages, RsAllocationMipmapControl mc, void *ptr);
229 Allocation(Context *rsc, const Allocation *, const Type *);
231 uint32_t getPackedSize() const;
232 static void writePackedData(Context *rsc, const Type *type, uint8_t *dst,
233 const uint8_t *src, bool dstPadded);
234 void unpackVec3Allocation(Context *rsc, const void *data, size_t dataSize);
235 void packVec3Allocation(Context *rsc, OStream *stream) const;