Home
last modified time | relevance | path

Searched refs:gralloc1_producer_usage_t (Results 1 – 25 of 51) sorted by relevance

123

/hardware/qcom/display/msm8909/gralloc/
Dgr_utils.h48 BufferInfo(int w, int h, int f, gralloc1_producer_usage_t prod = GRALLOC1_PRODUCER_USAGE_NONE,
54 gralloc1_producer_usage_t prod_usage;
66 bool CpuCanAccess(gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage);
67 bool CpuCanRead(gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage);
68 bool CpuCanWrite(gralloc1_producer_usage_t prod_usage);
78 bool IsUBwcEnabled(int format, gralloc1_producer_usage_t prod_usage,
Dgr_allocator.h56 int AllocateMem(AllocData *data, gralloc1_producer_usage_t prod_usage,
62 int GetImplDefinedFormat(gralloc1_producer_usage_t prod_usage,
64 bool UseUncached(gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage);
67 void GetIonHeapInfo(gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage,
Dgr_buf_descriptor.h49 BufferDescriptor(int w, int h, int f, gralloc1_producer_usage_t prod_usage, in BufferDescriptor()
60 void SetProducerUsage(gralloc1_producer_usage_t usage) { producer_usage_ = usage; } in SetProducerUsage()
73 gralloc1_producer_usage_t GetProducerUsage() const { return producer_usage_; } in GetProducerUsage()
90 gralloc1_producer_usage_t producer_usage_ = GRALLOC1_PRODUCER_USAGE_NONE;
Dgr_device_impl.h84 gralloc1_producer_usage_t usage);
96 gralloc1_producer_usage_t *out_usage);
107 gralloc1_producer_usage_t prod_usage,
112 gralloc1_producer_usage_t prod_usage,
Dgr_priv_handle.h91 gralloc1_producer_usage_t producer_usage __attribute__((aligned(8)));
113 gralloc1_producer_usage_t prod_usage = GRALLOC1_PRODUCER_USAGE_NONE,
143 static_cast<gralloc1_producer_usage_t>(usage), in private_handle_t()
194 gralloc1_producer_usage_t GetProducerUsage() const { return producer_usage; } in GetProducerUsage()
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_allocator.h57 int AllocateMem(AllocData *data, gralloc1_producer_usage_t prod_usage,
63 int GetImplDefinedFormat(gralloc1_producer_usage_t prod_usage,
74 bool UseUncached(gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage);
77 bool IsUBwcEnabled(int format, gralloc1_producer_usage_t prod_usage,
79 uint32_t GetDataAlignment(int format, gralloc1_producer_usage_t prod_usage,
93 void GetIonHeapInfo(gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage,
Dgr_buf_descriptor.h48 BufferDescriptor(int w, int h, int f, gralloc1_producer_usage_t prod_usage, in BufferDescriptor()
59 void SetProducerUsage(gralloc1_producer_usage_t usage) { producer_usage_ = usage; } in SetProducerUsage()
72 gralloc1_producer_usage_t GetProducerUsage() const { return producer_usage_; } in GetProducerUsage()
89 gralloc1_producer_usage_t producer_usage_ = GRALLOC1_PRODUCER_USAGE_NONE;
Dgr_utils.h56 bool CpuCanAccess(gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage);
57 bool CpuCanRead(gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage);
58 bool CpuCanWrite(gralloc1_producer_usage_t prod_usage);
Dgr_utils.cpp139 bool CpuCanAccess(gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage) { in CpuCanAccess()
143 bool CpuCanRead(gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage) { in CpuCanRead()
155 bool CpuCanWrite(gralloc1_producer_usage_t prod_usage) { in CpuCanWrite()
Dgr_priv_handle.h85 gralloc1_producer_usage_t producer_usage __attribute__((aligned(8)));
107 gralloc1_producer_usage_t prod_usage = GRALLOC1_PRODUCER_USAGE_NONE,
137 static_cast<gralloc1_producer_usage_t>(usage), in private_handle_t()
189 gralloc1_producer_usage_t GetProducerUsage() const { return producer_usage; } in GetProducerUsage()
Dgr_device_impl.h84 gralloc1_producer_usage_t usage);
96 gralloc1_producer_usage_t *out_usage);
107 gralloc1_producer_usage_t prod_usage,
112 gralloc1_producer_usage_t prod_usage,
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_allocator.h57 int AllocateMem(AllocData *data, gralloc1_producer_usage_t prod_usage,
63 int GetImplDefinedFormat(gralloc1_producer_usage_t prod_usage,
74 bool UseUncached(gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage);
77 bool IsUBwcEnabled(int format, gralloc1_producer_usage_t prod_usage,
79 uint32_t GetDataAlignment(int format, gralloc1_producer_usage_t prod_usage,
93 void GetIonHeapInfo(gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage,
Dgr_buf_descriptor.h48 BufferDescriptor(int w, int h, int f, gralloc1_producer_usage_t prod_usage, in BufferDescriptor()
59 void SetProducerUsage(gralloc1_producer_usage_t usage) { producer_usage_ = usage; } in SetProducerUsage()
72 gralloc1_producer_usage_t GetProducerUsage() const { return producer_usage_; } in GetProducerUsage()
89 gralloc1_producer_usage_t producer_usage_ = GRALLOC1_PRODUCER_USAGE_NONE;
Dgr_utils.h56 bool CpuCanAccess(gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage);
57 bool CpuCanRead(gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage);
58 bool CpuCanWrite(gralloc1_producer_usage_t prod_usage);
Dgr_utils.cpp139 bool CpuCanAccess(gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage) { in CpuCanAccess()
143 bool CpuCanRead(gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage) { in CpuCanRead()
155 bool CpuCanWrite(gralloc1_producer_usage_t prod_usage) { in CpuCanWrite()
Dgr_priv_handle.h87 gralloc1_producer_usage_t producer_usage __attribute__((aligned(8)));
109 gralloc1_producer_usage_t prod_usage = GRALLOC1_PRODUCER_USAGE_NONE,
139 static_cast<gralloc1_producer_usage_t>(usage), in private_handle_t()
197 gralloc1_producer_usage_t GetProducerUsage() const { return producer_usage; } in GetProducerUsage()
Dgr_device_impl.h84 gralloc1_producer_usage_t usage);
96 gralloc1_producer_usage_t *out_usage);
107 gralloc1_producer_usage_t prod_usage,
112 gralloc1_producer_usage_t prod_usage,
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_utils.h48 BufferInfo(int w, int h, int f, gralloc1_producer_usage_t prod = GRALLOC1_PRODUCER_USAGE_NONE,
54 gralloc1_producer_usage_t prod_usage;
66 bool CpuCanAccess(gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage);
67 bool CpuCanRead(gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage);
68 bool CpuCanWrite(gralloc1_producer_usage_t prod_usage);
78 bool IsUBwcEnabled(int format, gralloc1_producer_usage_t prod_usage,
Dgr_allocator.h56 int AllocateMem(AllocData *data, gralloc1_producer_usage_t prod_usage,
62 int GetImplDefinedFormat(gralloc1_producer_usage_t prod_usage,
64 bool UseUncached(gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage);
67 void GetIonHeapInfo(gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage,
Dgr_buf_descriptor.h49 BufferDescriptor(int w, int h, int f, gralloc1_producer_usage_t prod_usage, in BufferDescriptor()
60 void SetProducerUsage(gralloc1_producer_usage_t usage) { producer_usage_ = usage; } in SetProducerUsage()
73 gralloc1_producer_usage_t GetProducerUsage() const { return producer_usage_; } in GetProducerUsage()
90 gralloc1_producer_usage_t producer_usage_ = GRALLOC1_PRODUCER_USAGE_NONE;
Dgr_device_impl.h84 gralloc1_producer_usage_t usage);
96 gralloc1_producer_usage_t *out_usage);
107 gralloc1_producer_usage_t prod_usage,
112 gralloc1_producer_usage_t prod_usage,
Dgr_priv_handle.h92 gralloc1_producer_usage_t producer_usage __attribute__((aligned(8)));
114 gralloc1_producer_usage_t prod_usage = GRALLOC1_PRODUCER_USAGE_NONE,
144 static_cast<gralloc1_producer_usage_t>(usage), in private_handle_t()
195 gralloc1_producer_usage_t GetProducerUsage() const { return producer_usage; } in GetProducerUsage()
/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/
DGralloc1On0Adapter.h131 gralloc1_error_t setProducerUsage(gralloc1_producer_usage_t usage) { in setProducerUsage()
145 gralloc1_producer_usage_t producerUsage;
189 auto usage = static_cast<gralloc1_producer_usage_t>(intUsage); in setProducerUsageHook()
247 gralloc1_producer_usage_t* outUsage) const { in getProducerUsage()
351 gralloc1_producer_usage_t producerUsage,
356 gralloc1_producer_usage_t producerUsage,
363 const std::shared_ptr<Buffer>&, gralloc1_producer_usage_t,
389 static_cast<gralloc1_producer_usage_t>(uintProducerUsage); in lockHook()
/hardware/qcom/sm8150/display/gralloc/
Dgr_device_impl.h84 gralloc1_producer_usage_t usage);
96 gralloc1_producer_usage_t *out_usage);
107 gralloc1_producer_usage_t prod_usage,
112 gralloc1_producer_usage_t prod_usage,
/hardware/qcom/sdm845/display/gralloc/
Dgr_device_impl.h84 gralloc1_producer_usage_t usage);
96 gralloc1_producer_usage_t *out_usage);
107 gralloc1_producer_usage_t prod_usage,
112 gralloc1_producer_usage_t prod_usage,

123