Home
last modified time | relevance | path

Searched refs:consumerUsage (Results 1 – 13 of 13) sorted by relevance

/hardware/interfaces/graphics/allocator/2.0/default/
DGralloc1On0Adapter.cpp245 descriptor->producerUsage, descriptor->consumerUsage); in allocate()
263 static_cast<int>(descriptor->consumerUsage)); in allocate()
394 int consumerUsage = 0; in retain() local
402 bufferHandle, &consumerUsage); in retain()
410 static_cast<gralloc1_consumer_usage_t>(consumerUsage)); in retain()
436 gralloc1_consumer_usage_t consumerUsage, in lock() argument
442 android_convertGralloc1To0Usage(producerUsage, consumerUsage), in lock()
452 android_convertGralloc1To0Usage(producerUsage, consumerUsage), in lock()
468 gralloc1_consumer_usage_t consumerUsage, in lockFlex() argument
478 static_cast<int>(consumerUsage), in lockFlex()
[all …]
DGralloc1On0Adapter.h113 consumerUsage(GRALLOC1_CONSUMER_USAGE_NONE) {} in Descriptor()
137 consumerUsage = usage; in setConsumerUsage()
146 gralloc1_consumer_usage_t consumerUsage; member
220 *outUsage = mDescriptor.consumerUsage; in getConsumerUsage()
352 gralloc1_consumer_usage_t consumerUsage,
357 gralloc1_consumer_usage_t consumerUsage,
390 auto consumerUsage = in lockHook() local
399 if ((consumerUsage & GRALLOC1_CONSUMER_USAGE_CPU_READ) != 0) { in lockHook()
414 auto error = ((*adapter).*member)(buffer, producerUsage, consumerUsage, in lockHook()
DGralloc1Allocator.cpp236 uint64_t consumerUsage = in toConsumerUsage() local
243 consumerUsage |= GRALLOC1_CONSUMER_USAGE_CPU_READ; in toConsumerUsage()
246 consumerUsage |= GRALLOC1_CONSUMER_USAGE_CPU_READ_OFTEN; in toConsumerUsage()
255 consumerUsage |= GRALLOC1_CONSUMER_USAGE_GPU_DATA_BUFFER; in toConsumerUsage()
258 return consumerUsage; in toConsumerUsage()
/hardware/interfaces/camera/device/3.3/default/
Dconvert.cpp39 dst->v3_2.consumerUsage = (BufferUsageFlags)0; in convertToHidl()
43 dst->v3_2.consumerUsage = (BufferUsageFlags)src->usage; in convertToHidl()
/hardware/interfaces/graphics/mapper/2.0/default/
DGralloc1Mapper.cpp195 const uint64_t consumerUsage = in lockBuffer() local
200 consumerUsage, &accessRect, &data, fenceFd); in lockBuffer()
232 const uint64_t consumerUsage = in lockBuffer() local
235 error = mDispatch.lockFlex(mDevice, bufferHandle, cpuUsage, consumerUsage, in lockBuffer()
/hardware/intel/img/hwcomposer/merrifield/include/pvr/hal/
Dimg_gralloc1.h120 uint64_t consumerUsage = in gralloc1_device_alloc_img() local
146 err32 = setConsumerUsage(d, descriptor, consumerUsage); in gralloc1_device_alloc_img()
197 uint64_t consumerUsage = in gralloc1_lock_async_img() local
201 err = f(g, handle, producerUsage, consumerUsage, r, vaddr, acquireFence); in gralloc1_lock_async_img()
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/pvr/hal/
Dimg_gralloc1.h120 uint64_t consumerUsage = in gralloc1_device_alloc_img() local
146 err32 = setConsumerUsage(d, descriptor, consumerUsage); in gralloc1_device_alloc_img()
197 uint64_t consumerUsage = in gralloc1_lock_async_img() local
201 err = f(g, handle, producerUsage, consumerUsage, r, vaddr, acquireFence); in gralloc1_lock_async_img()
/hardware/interfaces/camera/device/3.2/default/
Dconvert.cpp80 dst->consumerUsage = (BufferUsageFlags)0; in convertToHidl()
84 dst->consumerUsage = (BufferUsageFlags)src->usage; in convertToHidl()
/hardware/libhardware/include/hardware/
Dgralloc1.h872 uint64_t /*gralloc1_consumer_usage_t*/ consumerUsage,
921 uint64_t /*gralloc1_consumer_usage_t*/ consumerUsage,
/hardware/qcom/display/msm8994/libgralloc/
Dmapper.cpp515 auto consumerUsage = va_arg(args, int); in gralloc_perform() local
517 hnd->consumer_usage = consumerUsage; in gralloc_perform()
578 auto consumerUsage = va_arg(args, int); in gralloc_perform() local
595 producerUsage | consumerUsage, in gralloc_perform()
/hardware/qcom/display/msm8996/libgralloc/
Dmapper.cpp566 auto consumerUsage = va_arg(args, int); in gralloc_perform() local
568 hnd->consumer_usage = consumerUsage; in gralloc_perform()
629 auto consumerUsage = va_arg(args, int); in gralloc_perform() local
646 producerUsage | consumerUsage, in gralloc_perform()
/hardware/interfaces/camera/device/3.2/
Dtypes.hal371 * consumerUsage must be set. For other types, producerUsage must be set,
372 * and consumerUsage must be 0.
375 BufferUsageFlags consumerUsage;
/hardware/interfaces/camera/provider/2.4/vts/functional/
DVtsHalCameraProviderV2_4TargetTest.cpp3004 halStreamConfig.streams[0].consumerUsage)); in TEST_F()
3138 halStreamConfig.streams[0].consumerUsage)); in TEST_F()
3310 halStreamConfig.streams[0].consumerUsage)); in TEST_F()