Lines Matching refs:allocSize
354 size_t allocSize = alloc->mHal.drvState.faceOffset;
356 allocSize *= 6;
359 return allocSize;
362 static uint8_t* allocAlignedMemory(size_t allocSize, bool forceZero) {
364 uint8_t* ptr = (uint8_t *)memalign(16, allocSize);
369 memset(ptr, 0, allocSize);
382 size_t allocSize = AllocationBuildPointerTable(rsc, alloc, alloc->getType(), nullptr);
409 ptr = allocAlignedMemory(allocSize, forceZero);
421 ptr = allocAlignedMemory(allocSize, forceZero);
430 if(allocSize != verifySize) {
466 rsdAllocationData2D(rsc, alloc, 0, 0, 0, RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X, alloc->getType()->getDimX(), alloc->getType()->getDimY(), alloc->mHal.state.userProvidedPtr, allocSize, 0);