HomeSort by relevance Sort by last modified time
    Searched refs:cons_usage (Results 1 - 10 of 10) sorted by null

  /hardware/qcom/display/msm8996/libgralloc1/
gr_utils.h 55 bool CpuCanAccess(gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage);
56 bool CpuCanRead(gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage);
gr_buf_mgr.h 42 gralloc1_consumer_usage_t cons_usage);
54 gralloc1_consumer_usage_t cons_usage, buffer_handle_t *handle);
56 gralloc1_consumer_usage_t cons_usage);
58 gralloc1_consumer_usage_t cons_usage);
gr_utils.cpp 127 bool CpuCanAccess(gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage) {
128 return CpuCanRead(prod_usage, cons_usage) || CpuCanWrite(prod_usage);
131 bool CpuCanRead(gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage) {
136 if (cons_usage & GRALLOC1_CONSUMER_USAGE_CPU_READ) {
gr_allocator.h 56 gralloc1_consumer_usage_t cons_usage);
58 gralloc1_consumer_usage_t cons_usage);
63 gralloc1_consumer_usage_t cons_usage, int format);
79 gralloc1_consumer_usage_t cons_usage);
92 void GetIonHeapInfo(gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage,
gr_buf_mgr.cpp 227 gralloc1_consumer_usage_t cons_usage) {
231 if (!CpuCanAccess(prod_usage, cons_usage)) {
281 gralloc1_consumer_usage_t cons_usage) {
288 if (cons_usage & GRALLOC1_CONSUMER_USAGE_PRIVATE_SECURE_DISPLAY) {
300 gralloc1_consumer_usage_t cons_usage) {
302 if (cons_usage & GRALLOC1_CONSUMER_USAGE_PRIVATE_EXTERNAL_ONLY) {
306 if (cons_usage & GRALLOC1_CONSUMER_USAGE_PRIVATE_INTERNAL_ONLY) {
310 if (cons_usage & GRALLOC1_CONSUMER_USAGE_VIDEO_ENCODER) {
322 if (cons_usage & GRALLOC1_CONSUMER_USAGE_HWCOMPOSER) {
334 if (allocator_->IsMacroTileEnabled(format, prod_usage, cons_usage)) {
443 gralloc1_consumer_usage_t cons_usage = descriptor.GetConsumerUsage(); local
563 gralloc1_consumer_usage_t cons_usage = static_cast<gralloc1_consumer_usage_t>(consumer_usage); local
    [all...]
gr_buf_descriptor.h 49 gralloc1_consumer_usage_t cons_usage)
54 consumer_usage_(cons_usage) {}
gr_allocator.cpp 98 gralloc1_consumer_usage_t cons_usage) {
103 GetIonHeapInfo(prod_usage, cons_usage, &alloc_data->heap_id, &alloc_data->alloc_type,
129 gralloc1_consumer_usage_t cons_usage = descriptor.GetConsumerUsage(); local
132 int err = AllocateMem(&data, prod_usage, cons_usage);
138 if (IsUBwcEnabled(format, prod_usage, cons_usage)) {
145 0, 0, descriptor.GetWidth(), descriptor.GetHeight(), prod_usage, cons_usage);
217 gralloc1_consumer_usage_t cons_usage) {
232 if (!CpuCanAccess(prod_usage, cons_usage)) {
252 gralloc1_consumer_usage_t cons_usage = descriptor.GetConsumerUsage(); local
254 if (IsUBwcEnabled(format, prod_usage, cons_usage)) {
357 gralloc1_consumer_usage_t cons_usage = descriptor.GetConsumerUsage(); local
416 gralloc1_consumer_usage_t cons_usage = hnd->GetConsumerUsage(); local
796 gralloc1_consumer_usage_t cons_usage = descriptor.GetConsumerUsage(); local
    [all...]
gr_device_impl.h 97 gralloc1_consumer_usage_t cons_usage,
102 gralloc1_consumer_usage_t cons_usage,
gr_priv_handle.h 105 gralloc1_consumer_usage_t cons_usage = GRALLOC1_CONSUMER_USAGE_NONE)
123 consumer_usage(cons_usage) {
gr_device_impl.cpp 377 gralloc1_consumer_usage_t cons_usage,
394 (cons_usage != GRALLOC1_CONSUMER_USAGE_NONE)) {
403 status = dev->buf_mgr_->LockBuffer(hnd, prod_usage, cons_usage);
413 gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage,
419 status = LockBuffer(device, buffer, prod_usage, cons_usage, region, outData, outAcquireFence);

Completed in 443 milliseconds