Lines Matching refs:rsc
111 static Allocation * createAllocation(Context *rsc, const Type *, uint32_t usages,
114 static Allocation * createAdapter(Context *rsc, const Allocation *alloc, const Type *type);
122 void syncAll(Context *rsc, RsAllocationUsageType src);
124 …void copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len…
126 void resize1D(Context *rsc, uint32_t dimX);
127 void resize2D(Context *rsc, uint32_t dimX, uint32_t dimY);
129 …void data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t size…
130 … void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
132 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
135 …void read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes);
136 … void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
138 void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
141 void elementData(Context *rsc, uint32_t x, uint32_t y, uint32_t z,
144 void elementRead(Context *rsc, uint32_t x, uint32_t y, uint32_t z,
151 virtual void serialize(Context *rsc, OStream *stream) const;
153 static Allocation *createFromStream(Context *rsc, IStream *stream);
170 virtual void callUpdateCacheObject(const Context *rsc, void *dstObj) const;
173 void sendDirty(const Context *rsc) const;
178 void * getSurface(const Context *rsc);
179 void setSurface(const Context *rsc, RsNativeWindow sur);
180 void ioSend(const Context *rsc);
181 void ioReceive(const Context *rsc);
183 void adapterOffset(Context *rsc, const uint32_t *offsets, size_t len);
185 void * getPointer(const Context *rsc, uint32_t lod, RsAllocationCubemapFace face,
216 const android::renderscript::Context *rsc;
229 … Allocation(Context *rsc, const Type *, uint32_t usages, RsAllocationMipmapControl mc, void *ptr);
230 Allocation(Context *rsc, const Allocation *, const Type *);
233 static void writePackedData(Context *rsc, const Type *type, uint8_t *dst,
235 void unpackVec3Allocation(Context *rsc, const void *data, size_t dataSize);
236 void packVec3Allocation(Context *rsc, OStream *stream) const;