Home | History | Annotate | Download | only in rs

Lines Matching refs:rsc

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);
125 void syncAll(Context *rsc, RsAllocationUsageType src);
127 void copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len);
129 void resize1D(Context *rsc, uint32_t dimX);
130 void resize2D(Context *rsc, uint32_t dimX, uint32_t dimY);
132 void data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes);
133 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
135 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
138 void read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes);
139 void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
141 void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
144 void elementData(Context *rsc, uint32_t x, uint32_t y, uint32_t z,
147 void elementRead(Context *rsc, uint32_t x, uint32_t y, uint32_t z,
154 virtual void serialize(Context *rsc, OStream *stream) const;
156 static Allocation *createFromStream(Context *rsc, IStream *stream);
173 virtual void callUpdateCacheObject(const Context *rsc, void *dstObj) const;
176 void sendDirty(const Context *rsc) 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,
228 Allocation(Context *rsc, const Type *, uint32_t usages, RsAllocationMipmapControl mc, void *ptr);
229 Allocation(Context *rsc, const Allocation *, const Type *);
232 static void writePackedData(Context *rsc, const Type *type, uint8_t *dst,
234 void unpackVec3Allocation(Context *rsc, const void *data, size_t dataSize);
235 void packVec3Allocation(Context *rsc, OStream *stream) const;