/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
D | hwc_buffer_allocator.cpp | 87 uint64_t consumer_usage = UINT64(alloc_flags); in AllocateBuffer() local 92 producer_usage, consumer_usage, &hnd); in AllocateBuffer() 130 gralloc1_consumer_usage_t consumer_usage = GRALLOC1_CONSUMER_USAGE_NONE; in GetAlignedWidthAndHeight() local 132 consumer_usage = GRALLOC1_CONSUMER_USAGE_CLIENT_TARGET; in GetAlignedWidthAndHeight() 136 producer_usage, consumer_usage, aligned_width, aligned_height, &tile_enabled); in GetAlignedWidthAndHeight() 162 uint64_t consumer_usage = GRALLOC1_CONSUMER_USAGE_NONE; in GetBufferSize() local 165 consumer_usage = producer_usage; in GetBufferSize() 167 format, producer_usage, consumer_usage, &aligned_width, &aligned_height, &buffer_size); in GetBufferSize() 303 uint64_t consumer_usage = GRALLOC1_CONSUMER_USAGE_NONE; in GetAllocatedBufferInfo() local 306 consumer_usage = producer_usage; in GetAllocatedBufferInfo() [all …]
|
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
D | hwc_buffer_allocator.cpp | 82 uint64_t consumer_usage = UINT64(alloc_flags); in AllocateBuffer() local 86 producer_usage, consumer_usage, &hnd); in AllocateBuffer() 124 gralloc1_consumer_usage_t consumer_usage = GRALLOC1_CONSUMER_USAGE_NONE; in GetAlignedWidthAndHeight() local 126 consumer_usage = GRALLOC1_CONSUMER_USAGE_CLIENT_TARGET; in GetAlignedWidthAndHeight() 130 producer_usage, consumer_usage, aligned_width, aligned_height, &tile_enabled); in GetAlignedWidthAndHeight() 156 uint64_t consumer_usage = GRALLOC1_CONSUMER_USAGE_NONE; in GetBufferSize() local 159 consumer_usage = producer_usage; in GetBufferSize() 161 format, producer_usage, consumer_usage, &aligned_width, &aligned_height, &buffer_size); in GetBufferSize() 297 uint64_t consumer_usage = GRALLOC1_CONSUMER_USAGE_NONE; in GetAllocatedBufferInfo() local 300 consumer_usage = producer_usage; in GetAllocatedBufferInfo() [all …]
|
/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
D | hwc_buffer_allocator.cpp | 115 uint64_t consumer_usage = (alloc_flags | GRALLOC1_CONSUMER_USAGE_HWCOMPOSER); in AllocateBuffer() local 119 producer_usage, consumer_usage, &hnd); in AllocateBuffer() 160 gralloc1_consumer_usage_t consumer_usage = GRALLOC1_CONSUMER_USAGE_NONE; in GetAlignedWidthAndHeight() local 162 consumer_usage = GRALLOC1_CONSUMER_USAGE_CLIENT_TARGET; in GetAlignedWidthAndHeight() 169 producer_usage, consumer_usage, aligned_width, aligned_height, &tile_enabled); in GetAlignedWidthAndHeight() 195 gralloc1_consumer_usage_t consumer_usage = GRALLOC1_CONSUMER_USAGE_NONE; in GetBufferSize() local 198 consumer_usage = gralloc1_consumer_usage_t(alloc_flags); in GetBufferSize() 199 gralloc1::BufferInfo info(width, height, format, producer_usage, consumer_usage); in GetBufferSize() 348 gralloc1_consumer_usage_t consumer_usage = GRALLOC1_CONSUMER_USAGE_NONE; in GetAllocatedBufferInfo() local 351 consumer_usage = gralloc1_consumer_usage_t(alloc_flags); in GetAllocatedBufferInfo() [all …]
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/ |
D | hwc_buffer_allocator.cpp | 93 uint64_t consumer_usage = alloc_flags; in AllocateBuffer() local 97 producer_usage, consumer_usage, &hnd); in AllocateBuffer() 136 gralloc1_consumer_usage_t consumer_usage = GRALLOC1_CONSUMER_USAGE_NONE; in GetAlignedWidthAndHeight() local 138 consumer_usage = GRALLOC1_CONSUMER_USAGE_CLIENT_TARGET; in GetAlignedWidthAndHeight() 145 producer_usage, consumer_usage, aligned_width, aligned_height, &tile_enabled); in GetAlignedWidthAndHeight() 171 gralloc1_consumer_usage_t consumer_usage = GRALLOC1_CONSUMER_USAGE_NONE; in GetBufferSize() local 174 consumer_usage = gralloc1_consumer_usage_t(alloc_flags); in GetBufferSize() 175 gralloc1::BufferInfo info(width, height, format, producer_usage, consumer_usage); in GetBufferSize() 324 gralloc1_consumer_usage_t consumer_usage = GRALLOC1_CONSUMER_USAGE_NONE; in GetAllocatedBufferInfo() local 327 consumer_usage = gralloc1_consumer_usage_t(alloc_flags); in GetAllocatedBufferInfo() [all …]
|
/hardware/qcom/display/msm8998/libgralloc1/ |
D | gr_priv_handle.h | 88 gralloc1_consumer_usage_t consumer_usage __attribute__((aligned(8))); member 129 consumer_usage(cons_usage), in fd() 178 hnd->fd, hnd->fd_metadata, hnd->flags, hnd->producer_usage, hnd->consumer_usage, in Dump() 195 gralloc1_consumer_usage_t GetConsumerUsage() const { return consumer_usage; } in GetConsumerUsage()
|
D | gr_buf_mgr.cpp | 606 uint64_t consumer_usage = va_arg(args, uint64_t); in Perform() local 608 gralloc1_consumer_usage_t cons_usage = static_cast<gralloc1_consumer_usage_t>(consumer_usage); in Perform() 704 gralloc1_consumer_usage_t consumer_usage = static_cast<gralloc1_consumer_usage_t>(c_usage); in Perform() local 708 auto descriptor = BufferDescriptor(width, height, format, producer_usage, consumer_usage); in Perform() 722 gralloc1_consumer_usage_t consumer_usage = static_cast<gralloc1_consumer_usage_t>(c_usage); in Perform() local 723 BufferDescriptor descriptor(width, height, format, producer_usage, consumer_usage); in Perform() 822 *os << " cons_usage: " << "0x" << std::setw(8) << hnd->consumer_usage; in Dump()
|
/hardware/qcom/display/msm8996/libgralloc1/ |
D | gr_priv_handle.h | 86 gralloc1_consumer_usage_t consumer_usage __attribute__((aligned(8))); member 127 consumer_usage(cons_usage), in fd() 170 hnd->fd, hnd->fd_metadata, hnd->flags, hnd->producer_usage, hnd->consumer_usage, in Dump() 187 gralloc1_consumer_usage_t GetConsumerUsage() const { return consumer_usage; } in GetConsumerUsage()
|
D | gr_buf_mgr.cpp | 614 uint64_t consumer_usage = va_arg(args, uint64_t); in Perform() local 616 gralloc1_consumer_usage_t cons_usage = static_cast<gralloc1_consumer_usage_t>(consumer_usage); in Perform() 712 gralloc1_consumer_usage_t consumer_usage = static_cast<gralloc1_consumer_usage_t>(c_usage); in Perform() local 716 auto descriptor = BufferDescriptor(width, height, format, producer_usage, consumer_usage); in Perform() 730 gralloc1_consumer_usage_t consumer_usage = static_cast<gralloc1_consumer_usage_t>(c_usage); in Perform() local 731 BufferDescriptor descriptor(width, height, format, producer_usage, consumer_usage); in Perform() 830 *os << " cons_usage: " << "0x" << std::setw(8) << hnd->consumer_usage; in Dump()
|
/hardware/qcom/display/msm8909w_3100/libgralloc1/ |
D | gr_priv_handle.h | 93 gralloc1_consumer_usage_t consumer_usage __attribute__((aligned(8))); member 134 consumer_usage(cons_usage), in fd() 176 hnd->fd, hnd->fd_metadata, hnd->flags, hnd->producer_usage, hnd->consumer_usage, in Dump() 193 gralloc1_consumer_usage_t GetConsumerUsage() const { return consumer_usage; } in GetConsumerUsage()
|
D | gr_buf_mgr.cpp | 644 uint64_t consumer_usage = va_arg(args, uint64_t); in Perform() local 646 gralloc1_consumer_usage_t cons_usage = static_cast<gralloc1_consumer_usage_t>(consumer_usage); in Perform() 778 gralloc1_consumer_usage_t consumer_usage = static_cast<gralloc1_consumer_usage_t>(c_usage); in Perform() local 787 auto info = BufferInfo(width, height, format, producer_usage, consumer_usage); in Perform() 790 auto align = GetDataAlignment(format, producer_usage, consumer_usage); in Perform() 802 gralloc1_consumer_usage_t consumer_usage = static_cast<gralloc1_consumer_usage_t>(c_usage); in Perform() local 803 BufferDescriptor descriptor(width, height, format, producer_usage, consumer_usage); in Perform() 921 *os << " cons_usage: " << "0x" << std::setw(8) << hnd->consumer_usage; in Dump()
|
/hardware/qcom/display/msm8909/gralloc/ |
D | gr_priv_handle.h | 92 gralloc1_consumer_usage_t consumer_usage __attribute__((aligned(8))); member 133 consumer_usage(cons_usage), in fd() 175 hnd->fd, hnd->fd_metadata, hnd->flags, hnd->producer_usage, hnd->consumer_usage, in Dump() 192 gralloc1_consumer_usage_t GetConsumerUsage() const { return consumer_usage; } in GetConsumerUsage()
|
D | gr_buf_mgr.cpp | 647 uint64_t consumer_usage = va_arg(args, uint64_t); in Perform() local 649 gralloc1_consumer_usage_t cons_usage = static_cast<gralloc1_consumer_usage_t>(consumer_usage); in Perform() 778 gralloc1_consumer_usage_t consumer_usage = static_cast<gralloc1_consumer_usage_t>(c_usage); in Perform() local 787 auto info = BufferInfo(width, height, format, producer_usage, consumer_usage); in Perform() 790 auto align = GetDataAlignment(format, producer_usage, consumer_usage); in Perform() 803 gralloc1_consumer_usage_t consumer_usage = static_cast<gralloc1_consumer_usage_t>(c_usage); in Perform() local 804 BufferDescriptor descriptor(width, height, format, producer_usage, consumer_usage); in Perform() 922 *os << " cons_usage: " << "0x" << std::setw(8) << hnd->consumer_usage; in Dump()
|
/hardware/qcom/display/msm8996/libgralloc/ |
D | gralloc_priv.h | 241 int consumer_usage; member 262 producer_usage(0), consumer_usage(0), in fd()
|
D | mapper.cpp | 567 hnd->consumer_usage = consumerUsage; in gralloc_perform() 597 *outUsage = hnd->consumer_usage; in gralloc_perform()
|
/hardware/qcom/display/msm8994/libgralloc/ |
D | gralloc_priv.h | 238 int consumer_usage; member 259 producer_usage(0), consumer_usage(0), in fd()
|
D | mapper.cpp | 517 hnd->consumer_usage = consumerUsage; in gralloc_perform() 547 *outUsage = hnd->consumer_usage; in gralloc_perform()
|
/hardware/libhardware/include/hardware/ |
D | camera2.h | 715 uint32_t *consumer_usage,
|
/hardware/qcom/sdm845/display/gralloc/ |
D | gr_device_impl.cpp | 136 static uint64_t ConsumerUsageToBufferUsage(gralloc1_consumer_usage_t consumer_usage) { in ConsumerUsageToBufferUsage() argument 137 uint64_t usage = consumer_usage & ~(GRALLOC1_CONSUMER_USAGE_CPU_READ_OFTEN); in ConsumerUsageToBufferUsage() 138 if ((consumer_usage & GRALLOC1_CONSUMER_USAGE_CPU_READ_OFTEN) == in ConsumerUsageToBufferUsage() 141 } else if ((consumer_usage & GRALLOC1_CONSUMER_USAGE_CPU_READ) == in ConsumerUsageToBufferUsage()
|