Searched refs:alloc_flags (Results 1 – 4 of 4) sorted by relevance
/hardware/qcom/display/msm8998/sdm/libs/hwc/ |
D | hwc_buffer_allocator.cpp | 60 int alloc_flags = INT(GRALLOC_USAGE_PRIVATE_IOMMU_HEAP); in AllocateBuffer() local 68 alloc_flags = GRALLOC_USAGE_HW_CAMERA_WRITE; in AllocateBuffer() 69 alloc_flags |= (GRALLOC_USAGE_PROTECTED | GRALLOC_USAGE_HW_COMPOSER); in AllocateBuffer() 72 alloc_flags = INT(GRALLOC_USAGE_PRIVATE_MM_HEAP); in AllocateBuffer() 73 alloc_flags |= INT(GRALLOC_USAGE_PROTECTED); in AllocateBuffer() 81 alloc_flags |= GRALLOC_USAGE_PRIVATE_UNCACHED; in AllocateBuffer() 84 error = SetBufferInfo(buffer_config.format, &format, &alloc_flags); in AllocateBuffer() 91 uint32_t buffer_size = getBufferSizeAndDimensions(width, height, format, alloc_flags, in AllocateBuffer() 102 error = alloc_controller_->allocate(data, alloc_flags); in AllocateBuffer() 167 int alloc_flags = INT(GRALLOC_USAGE_PRIVATE_IOMMU_HEAP); in GetBufferSize() local [all …]
|
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
D | hwc_buffer_allocator.cpp | 60 int alloc_flags = INT(GRALLOC_USAGE_PRIVATE_IOMMU_HEAP); in AllocateBuffer() local 68 alloc_flags = INT(GRALLOC_USAGE_PRIVATE_MM_HEAP); in AllocateBuffer() 69 alloc_flags |= INT(GRALLOC_USAGE_PROTECTED); in AllocateBuffer() 77 alloc_flags |= GRALLOC_USAGE_PRIVATE_UNCACHED; in AllocateBuffer() 80 error = SetBufferInfo(buffer_config.format, &format, &alloc_flags); in AllocateBuffer() 87 uint32_t buffer_size = getBufferSizeAndDimensions(width, height, format, alloc_flags, in AllocateBuffer() 98 error = alloc_controller_->allocate(data, alloc_flags); in AllocateBuffer() 158 int alloc_flags = INT(GRALLOC_USAGE_PRIVATE_IOMMU_HEAP); in GetBufferSize() local 165 alloc_flags = INT(GRALLOC_USAGE_PRIVATE_MM_HEAP); in GetBufferSize() 166 alloc_flags |= INT(GRALLOC_USAGE_PROTECTED); in GetBufferSize() [all …]
|
/hardware/ti/omap4-aah/ion/ |
D | ion_test.c | 21 int alloc_flags = 0; variable 38 ret = ion_alloc_tiler(*fd, width, height, fmt, alloc_flags, in _ion_alloc_test() 41 ret = ion_alloc(*fd, len, align, alloc_flags, handle); in _ion_alloc_test() 281 alloc_flags = atol(optarg); in main() 308 height, fmt, align, map_flags, prot, alloc_flags); in main()
|
D | ion_test_2.c | 41 int alloc_flags = 0; variable 53 ret = ion_alloc_tiler(fd, width, height, fmt, alloc_flags, in _ion_alloc_test() 56 ret = ion_alloc(fd, len, align, alloc_flags, handle); in _ion_alloc_test() 409 alloc_flags = atol(optarg); in main() 446 height, fmt, align, count, iteration, map_flags, prot, alloc_flags); in main()
|