Lines Matching refs:Context

115     static Allocation * createAllocation(Context *rsc, const Type *, uint32_t usages,
118 static Allocation * createAllocationStrided(Context *rsc, const Type *, uint32_t usages,
121 static Allocation * createAdapter(Context *rsc, const Allocation *alloc, const Type *type);
129 void syncAll(Context *rsc, RsAllocationUsageType src);
131 …void copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len…
133 void resize1D(Context *rsc, uint32_t dimX);
134 void resize2D(Context *rsc, uint32_t dimX, uint32_t dimY);
136 …void data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t size…
137 … void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
139 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
142 …void read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes);
143 … void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
145 void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
148 void elementData(Context *rsc, uint32_t x, uint32_t y, uint32_t z,
151 void elementRead(Context *rsc, uint32_t x, uint32_t y, uint32_t z,
158 virtual void serialize(Context *rsc, OStream *stream) const;
160 static Allocation *createFromStream(Context *rsc, IStream *stream);
177 virtual void callUpdateCacheObject(const Context *rsc, void *dstObj) const;
180 void sendDirty(const Context *rsc) const;
185 void setupGrallocConsumer(const Context *rsc, uint32_t numAlloc);
186 void shareBufferQueue(const Context *rsc, const Allocation *alloc);
187 void * getSurface(const Context *rsc);
188 void setSurface(const Context *rsc, RsNativeWindow sur);
189 void ioSend(const Context *rsc);
190 void ioReceive(const Context *rsc);
193 void adapterOffset(Context *rsc, const uint32_t *offsets, size_t len);
195 void * getPointer(const Context *rsc, uint32_t lod, RsAllocationCubemapFace face,
228 const android::renderscript::Context *rsc;
246 … Allocation(Context *rsc, const Type *, uint32_t usages, RsAllocationMipmapControl mc, void *ptr);
247 Allocation(Context *rsc, const Allocation *, const Type *);
250 static void writePackedData(Context *rsc, const Type *type, uint8_t *dst,
252 void unpackVec3Allocation(Context *rsc, const void *data, size_t dataSize);
253 void packVec3Allocation(Context *rsc, OStream *stream) const;