Lines Matching defs:const

28 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages,
42 Allocation::Allocation(Context *rsc, const Allocation *alloc, const Type *type)
61 Allocation * Allocation::createAllocationStrided(Context *rsc, const Type *type, uint32_t usages,
101 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages,
106 Allocation * Allocation::createAdapter(Context *rsc, const Allocation *alloc, const Type *type) {
126 void Allocation::adapterOffset(Context *rsc, const uint32_t *offsets, size_t len) {
145 const Type *type = mHal.state.type;
172 void * Allocation::getPointer(const Context *rsc, uint32_t lod, RsAllocationCubemapFace face,
195 uint32_t count, const void *data, size_t sizeBytes) {
196 const size_t eSize = mHal.state.type->getElementSizeBytes();
213 uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) {
220 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) {
227 const size_t eSize = mHal.state.type->getElementSizeBytes();
244 const size_t eSize = mHal.state.elementSizeBytes;
245 const size_t lineSize = eSize * w;
263 const size_t eSize = mHal.state.elementSizeBytes;
264 const size_t lineSize = eSize * w;
274 const void *data, uint32_t cIdx, size_t sizeBytes) {
295 const Element * e = mHal.state.type->getElement()->getField(cIdx);
328 const Element * e = mHal.state.type->getElement()->getField(cIdx);
338 void Allocation::addProgramToDirty(const Program *p) {
342 void Allocation::removeProgramToDirty(const Program *p) {
352 void Allocation::dumpLOGV(const char *prefix) const {
366 uint32_t Allocation::getPackedSize() const {
371 void Allocation::writePackedData(Context *rsc, const Type *type,
372 uint8_t *dst, const uint8_t *src, bool dstPadded) {
373 const Element *elem = type->getElement();
420 void Allocation::unpackVec3Allocation(Context *rsc, const void *data, size_t dataSize) {
421 const uint8_t *src = (const uint8_t*)data;
428 void Allocation::packVec3Allocation(Context *rsc, OStream *stream) const {
432 const uint8_t *src = (const uint8_t*)rsc->mHal.funcs.allocation.lock1D(rsc, this);
442 void Allocation::serialize(Context *rsc, OStream *stream) const {
475 const char *name = stream->loadString();
512 void Allocation::sendDirty(const Context *rsc) const {
521 void Allocation::incRefs(const void *ptr, size_t ct, size_t startOff) const {
525 void Allocation::decRefs(const void *ptr, size_t ct, size_t startOff) const {
532 void Allocation::callUpdateCacheObject(const Context *rsc, void *dstObj) const {
536 *((const void **)dstObj) = this;
556 void Allocation::copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len) {
579 void Allocation::setupGrallocConsumer(const Context *rsc, uint32_t numAlloc) {
592 void * Allocation::getSurface(const Context *rsc) {
607 void Allocation::shareBufferQueue(const Context *rsc, const Allocation *alloc) {
620 void Allocation::setSurface(const Context *rsc, RsNativeWindow sur) {
625 void Allocation::ioSend(const Context *rsc) {
629 void Allocation::ioReceive(const Context *rsc) {
648 bool Allocation::hasSameDims(const Allocation *other) const {
649 const Type *type0 = this->getType(),
678 const Type * t = a->getType();
684 uint32_t count, const void *data, size_t sizeBytes) {
690 uint32_t lod, const void *data, size_t sizeBytes, size_t eoff) {
696 uint32_t lod, const void *data, size_t sizeBytes, size_t eoff) {
702 uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) {
708 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) {
716 const Type * t = a->getType();
765 const void *data, size_t sizeBytes, uint32_t usages) {
787 const void *data, size_t sizeBytes, uint32_t usages) {
936 void rsi_AllocationAdapterOffset(Context *rsc, RsAllocation va, const uint32_t *offsets, size_t len) {