Home
last modified time | relevance | path

Searched refs:gralloc1_error_t (Results 1 – 25 of 26) sorted by relevance

12

/hardware/qcom/display/msm8996/libgralloc1/
Dgr_device_impl.h63 static inline gralloc1_error_t Dump(gralloc1_device_t *device, uint32_t *out_size,
65 static inline gralloc1_error_t CheckDeviceAndHandle(gralloc1_device_t *device,
67 static gralloc1_error_t CreateBufferDescriptor(gralloc1_device_t *device,
69 static gralloc1_error_t DestroyBufferDescriptor(gralloc1_device_t *device,
71 static gralloc1_error_t SetConsumerUsage(gralloc1_device_t *device,
74 static gralloc1_error_t SetBufferDimensions(gralloc1_device_t *device,
77 static gralloc1_error_t SetColorFormat(gralloc1_device_t *device,
79 static gralloc1_error_t SetLayerCount(gralloc1_device_t *device,
82 static gralloc1_error_t SetProducerUsage(gralloc1_device_t *device,
85 static gralloc1_error_t GetBackingStore(gralloc1_device_t *device, buffer_handle_t buffer,
[all …]
Dgr_buf_mgr.h38 gralloc1_error_t CreateBufferDescriptor(gralloc1_buffer_descriptor_t *descriptor_id);
39 gralloc1_error_t DestroyBufferDescriptor(gralloc1_buffer_descriptor_t descriptor_id);
40 gralloc1_error_t AllocateBuffers(uint32_t num_descriptors,
43 gralloc1_error_t RetainBuffer(private_handle_t const *hnd);
44 gralloc1_error_t ReleaseBuffer(private_handle_t const *hnd);
45 gralloc1_error_t LockBuffer(const private_handle_t *hnd, gralloc1_producer_usage_t prod_usage,
47 gralloc1_error_t UnlockBuffer(const private_handle_t *hnd);
48 gralloc1_error_t Perform(int operation, va_list args);
49 gralloc1_error_t GetFlexLayout(const private_handle_t *hnd, struct android_flex_layout *layout);
50 gralloc1_error_t GetNumFlexPlanes(const private_handle_t *hnd, uint32_t *out_num_planes);
[all …]
Dgr_device_impl.cpp183 gralloc1_error_t GrallocImpl::Dump(gralloc1_device_t *device, uint32_t *out_size, in Dump()
195 gralloc1_error_t GrallocImpl::CheckDeviceAndHandle(gralloc1_device_t *device, in CheckDeviceAndHandle()
206 gralloc1_error_t GrallocImpl::CreateBufferDescriptor(gralloc1_device_t *device, in CreateBufferDescriptor()
215 gralloc1_error_t GrallocImpl::DestroyBufferDescriptor(gralloc1_device_t *device, in DestroyBufferDescriptor()
224 gralloc1_error_t GrallocImpl::SetConsumerUsage(gralloc1_device_t *device, in SetConsumerUsage()
236 gralloc1_error_t GrallocImpl::SetBufferDimensions(gralloc1_device_t *device, in SetBufferDimensions()
249 gralloc1_error_t GrallocImpl::SetColorFormat(gralloc1_device_t *device, in SetColorFormat()
261 gralloc1_error_t GrallocImpl::SetLayerCount(gralloc1_device_t *device, in SetLayerCount()
274 gralloc1_error_t GrallocImpl::SetProducerUsage(gralloc1_device_t *device, in SetProducerUsage()
286 gralloc1_error_t GrallocImpl::GetBackingStore(gralloc1_device_t *device, buffer_handle_t buffer, in GetBackingStore()
[all …]
Dgr_buf_mgr.cpp59 gralloc1_error_t BufferManager::CreateBufferDescriptor( in CreateBufferDescriptor()
68 gralloc1_error_t BufferManager::DestroyBufferDescriptor( in DestroyBufferDescriptor()
85 gralloc1_error_t BufferManager::AllocateBuffers(uint32_t num_descriptors, in AllocateBuffers()
89 gralloc1_error_t status = GRALLOC1_ERROR_NONE; in AllocateBuffers()
192 gralloc1_error_t BufferManager::FreeBuffer(std::shared_ptr<Buffer> buf) { in FreeBuffer()
220 gralloc1_error_t BufferManager::ImportHandleLocked(private_handle_t *hnd) { in ImportHandleLocked()
254 gralloc1_error_t BufferManager::MapBuffer(private_handle_t const *handle) { in MapBuffer()
275 gralloc1_error_t BufferManager::RetainBuffer(private_handle_t const *hnd) { in RetainBuffer()
280 gralloc1_error_t err = GRALLOC1_ERROR_NONE; in RetainBuffer()
292 gralloc1_error_t BufferManager::ReleaseBuffer(private_handle_t const *hnd) { in ReleaseBuffer()
[all …]
Dgr_priv_handle.h34 typedef gralloc1_error_t (*GRALLOC1_PFN_PERFORM)(gralloc1_device_t *device, int operation, ...);
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_device_impl.h63 static inline gralloc1_error_t Dump(gralloc1_device_t *device, uint32_t *out_size,
65 static inline gralloc1_error_t CheckDeviceAndHandle(gralloc1_device_t *device,
67 static gralloc1_error_t CreateBufferDescriptor(gralloc1_device_t *device,
69 static gralloc1_error_t DestroyBufferDescriptor(gralloc1_device_t *device,
71 static gralloc1_error_t SetConsumerUsage(gralloc1_device_t *device,
74 static gralloc1_error_t SetBufferDimensions(gralloc1_device_t *device,
77 static gralloc1_error_t SetColorFormat(gralloc1_device_t *device,
79 static gralloc1_error_t SetLayerCount(gralloc1_device_t *device,
82 static gralloc1_error_t SetProducerUsage(gralloc1_device_t *device,
85 static gralloc1_error_t GetBackingStore(gralloc1_device_t *device, buffer_handle_t buffer,
[all …]
Dgr_buf_mgr.h38 gralloc1_error_t CreateBufferDescriptor(gralloc1_buffer_descriptor_t *descriptor_id);
39 gralloc1_error_t DestroyBufferDescriptor(gralloc1_buffer_descriptor_t descriptor_id);
40 gralloc1_error_t AllocateBuffers(uint32_t num_descriptors,
43 gralloc1_error_t RetainBuffer(private_handle_t const *hnd);
44 gralloc1_error_t ReleaseBuffer(private_handle_t const *hnd);
45 gralloc1_error_t LockBuffer(const private_handle_t *hnd, gralloc1_producer_usage_t prod_usage,
47 gralloc1_error_t UnlockBuffer(const private_handle_t *hnd);
48 gralloc1_error_t Perform(int operation, va_list args);
49 gralloc1_error_t GetFlexLayout(const private_handle_t *hnd, struct android_flex_layout *layout);
50 gralloc1_error_t GetNumFlexPlanes(const private_handle_t *hnd, uint32_t *out_num_planes);
[all …]
Dgr_device_impl.cpp189 gralloc1_error_t GrallocImpl::Dump(gralloc1_device_t *device, uint32_t *out_size, in Dump()
213 gralloc1_error_t GrallocImpl::CheckDeviceAndHandle(gralloc1_device_t *device, in CheckDeviceAndHandle()
224 gralloc1_error_t GrallocImpl::CreateBufferDescriptor(gralloc1_device_t *device, in CreateBufferDescriptor()
233 gralloc1_error_t GrallocImpl::DestroyBufferDescriptor(gralloc1_device_t *device, in DestroyBufferDescriptor()
242 gralloc1_error_t GrallocImpl::SetConsumerUsage(gralloc1_device_t *device, in SetConsumerUsage()
254 gralloc1_error_t GrallocImpl::SetBufferDimensions(gralloc1_device_t *device, in SetBufferDimensions()
267 gralloc1_error_t GrallocImpl::SetColorFormat(gralloc1_device_t *device, in SetColorFormat()
279 gralloc1_error_t GrallocImpl::SetLayerCount(gralloc1_device_t *device, in SetLayerCount()
292 gralloc1_error_t GrallocImpl::SetProducerUsage(gralloc1_device_t *device, in SetProducerUsage()
304 gralloc1_error_t GrallocImpl::GetBackingStore(gralloc1_device_t *device, buffer_handle_t buffer, in GetBackingStore()
[all …]
Dgr_buf_mgr.cpp59 gralloc1_error_t BufferManager::CreateBufferDescriptor( in CreateBufferDescriptor()
68 gralloc1_error_t BufferManager::DestroyBufferDescriptor( in DestroyBufferDescriptor()
85 gralloc1_error_t BufferManager::AllocateBuffers(uint32_t num_descriptors, in AllocateBuffers()
89 gralloc1_error_t status = GRALLOC1_ERROR_NONE; in AllocateBuffers()
191 gralloc1_error_t BufferManager::FreeBuffer(std::shared_ptr<Buffer> buf) { in FreeBuffer()
227 gralloc1_error_t BufferManager::ImportHandleLocked(private_handle_t *hnd) { in ImportHandleLocked()
261 gralloc1_error_t BufferManager::MapBuffer(private_handle_t const *handle) { in MapBuffer()
273 gralloc1_error_t BufferManager::RetainBuffer(private_handle_t const *hnd) { in RetainBuffer()
275 gralloc1_error_t err = GRALLOC1_ERROR_NONE; in RetainBuffer()
287 gralloc1_error_t BufferManager::ReleaseBuffer(private_handle_t const *hnd) { in ReleaseBuffer()
[all …]
Dgr_priv_handle.h36 typedef gralloc1_error_t (*GRALLOC1_PFN_PERFORM)(gralloc1_device_t *device, int operation, ...);
/hardware/qcom/sdm845/display/gralloc/
Dgr_device_impl.h63 static inline gralloc1_error_t Dump(gralloc1_device_t *device, uint32_t *out_size,
65 static inline gralloc1_error_t CheckDeviceAndHandle(gralloc1_device_t *device,
67 static gralloc1_error_t CreateBufferDescriptor(gralloc1_device_t *device,
69 static gralloc1_error_t DestroyBufferDescriptor(gralloc1_device_t *device,
71 static gralloc1_error_t SetConsumerUsage(gralloc1_device_t *device,
74 static gralloc1_error_t SetBufferDimensions(gralloc1_device_t *device,
77 static gralloc1_error_t SetColorFormat(gralloc1_device_t *device,
79 static gralloc1_error_t SetLayerCount(gralloc1_device_t *device,
82 static gralloc1_error_t SetProducerUsage(gralloc1_device_t *device,
85 static gralloc1_error_t GetBackingStore(gralloc1_device_t *device, buffer_handle_t buffer,
[all …]
Dgr_device_impl.cpp97 inline gralloc1_error_t ToError(Error error) { in ToError()
155 gralloc1_error_t GrallocImpl::CreateBufferDescriptorLocked( in CreateBufferDescriptorLocked()
164 gralloc1_error_t GrallocImpl::DestroyBufferDescriptorLocked( in DestroyBufferDescriptorLocked()
253 gralloc1_error_t GrallocImpl::Dump(gralloc1_device_t *device, uint32_t *out_size, in Dump()
277 gralloc1_error_t GrallocImpl::CheckDeviceAndHandle(gralloc1_device_t *device, in CheckDeviceAndHandle()
288 gralloc1_error_t GrallocImpl::CreateBufferDescriptor(gralloc1_device_t *device, in CreateBufferDescriptor()
297 gralloc1_error_t GrallocImpl::DestroyBufferDescriptor(gralloc1_device_t *device, in DestroyBufferDescriptor()
306 gralloc1_error_t GrallocImpl::SetConsumerUsage(gralloc1_device_t *device, in SetConsumerUsage()
318 gralloc1_error_t GrallocImpl::SetBufferDimensions(gralloc1_device_t *device, in SetBufferDimensions()
330 gralloc1_error_t GrallocImpl::SetColorFormat(gralloc1_device_t *device, in SetColorFormat()
[all …]
Dgr_priv_handle.h33 typedef gralloc1_error_t (*GRALLOC1_PFN_PERFORM)(gralloc1_device_t *device, int operation, ...);
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_device_impl.h63 static inline gralloc1_error_t Dump(gralloc1_device_t *device, uint32_t *out_size,
65 static inline gralloc1_error_t CheckDeviceAndHandle(gralloc1_device_t *device,
67 static gralloc1_error_t CreateBufferDescriptor(gralloc1_device_t *device,
69 static gralloc1_error_t DestroyBufferDescriptor(gralloc1_device_t *device,
71 static gralloc1_error_t SetConsumerUsage(gralloc1_device_t *device,
74 static gralloc1_error_t SetBufferDimensions(gralloc1_device_t *device,
77 static gralloc1_error_t SetColorFormat(gralloc1_device_t *device,
79 static gralloc1_error_t SetLayerCount(gralloc1_device_t *device,
82 static gralloc1_error_t SetProducerUsage(gralloc1_device_t *device,
85 static gralloc1_error_t GetBackingStore(gralloc1_device_t *device, buffer_handle_t buffer,
[all …]
Dgr_buf_mgr.h38 gralloc1_error_t CreateBufferDescriptor(gralloc1_buffer_descriptor_t *descriptor_id);
39 gralloc1_error_t DestroyBufferDescriptor(gralloc1_buffer_descriptor_t descriptor_id);
40 gralloc1_error_t AllocateBuffers(uint32_t num_descriptors,
43 gralloc1_error_t RetainBuffer(private_handle_t const *hnd);
44 gralloc1_error_t ReleaseBuffer(private_handle_t const *hnd);
45 gralloc1_error_t LockBuffer(const private_handle_t *hnd, gralloc1_producer_usage_t prod_usage,
47 gralloc1_error_t UnlockBuffer(const private_handle_t *hnd);
48 gralloc1_error_t Perform(int operation, va_list args);
49 gralloc1_error_t GetFlexLayout(const private_handle_t *hnd, struct android_flex_layout *layout);
50 gralloc1_error_t GetNumFlexPlanes(const private_handle_t *hnd, uint32_t *out_num_planes);
[all …]
Dgr_device_impl.cpp176 gralloc1_error_t GrallocImpl::Dump(gralloc1_device_t *device, uint32_t *out_size, in Dump()
200 gralloc1_error_t GrallocImpl::CheckDeviceAndHandle(gralloc1_device_t *device, in CheckDeviceAndHandle()
211 gralloc1_error_t GrallocImpl::CreateBufferDescriptor(gralloc1_device_t *device, in CreateBufferDescriptor()
220 gralloc1_error_t GrallocImpl::DestroyBufferDescriptor(gralloc1_device_t *device, in DestroyBufferDescriptor()
229 gralloc1_error_t GrallocImpl::SetConsumerUsage(gralloc1_device_t *device, in SetConsumerUsage()
241 gralloc1_error_t GrallocImpl::SetBufferDimensions(gralloc1_device_t *device, in SetBufferDimensions()
254 gralloc1_error_t GrallocImpl::SetColorFormat(gralloc1_device_t *device, in SetColorFormat()
266 gralloc1_error_t GrallocImpl::SetLayerCount(gralloc1_device_t *device, in SetLayerCount()
279 gralloc1_error_t GrallocImpl::SetProducerUsage(gralloc1_device_t *device, in SetProducerUsage()
291 gralloc1_error_t GrallocImpl::GetBackingStore(gralloc1_device_t *device, buffer_handle_t buffer, in GetBackingStore()
[all …]
Dgr_buf_mgr.cpp58 gralloc1_error_t BufferManager::CreateBufferDescriptor( in CreateBufferDescriptor()
67 gralloc1_error_t BufferManager::DestroyBufferDescriptor( in DestroyBufferDescriptor()
84 gralloc1_error_t BufferManager::AllocateBuffers(uint32_t num_descriptors, in AllocateBuffers()
88 gralloc1_error_t status = GRALLOC1_ERROR_NONE; in AllocateBuffers()
193 gralloc1_error_t BufferManager::FreeBuffer(std::shared_ptr<Buffer> buf) { in FreeBuffer()
223 gralloc1_error_t BufferManager::ImportHandleLocked(private_handle_t *hnd) { in ImportHandleLocked()
253 gralloc1_error_t BufferManager::MapBuffer(private_handle_t const *handle) { in MapBuffer()
265 gralloc1_error_t BufferManager::RetainBuffer(private_handle_t const *hnd) { in RetainBuffer()
267 gralloc1_error_t err = GRALLOC1_ERROR_NONE; in RetainBuffer()
286 gralloc1_error_t BufferManager::ReleaseBuffer(private_handle_t const *hnd) { in ReleaseBuffer()
[all …]
Dgr_priv_handle.h36 typedef gralloc1_error_t (*GRALLOC1_PFN_PERFORM)(gralloc1_device_t *device, int operation, ...);
/hardware/qcom/display/msm8909/gralloc/
Dgr_device_impl.h63 static inline gralloc1_error_t Dump(gralloc1_device_t *device, uint32_t *out_size,
65 static inline gralloc1_error_t CheckDeviceAndHandle(gralloc1_device_t *device,
67 static gralloc1_error_t CreateBufferDescriptor(gralloc1_device_t *device,
69 static gralloc1_error_t DestroyBufferDescriptor(gralloc1_device_t *device,
71 static gralloc1_error_t SetConsumerUsage(gralloc1_device_t *device,
74 static gralloc1_error_t SetBufferDimensions(gralloc1_device_t *device,
77 static gralloc1_error_t SetColorFormat(gralloc1_device_t *device,
79 static gralloc1_error_t SetLayerCount(gralloc1_device_t *device,
82 static gralloc1_error_t SetProducerUsage(gralloc1_device_t *device,
85 static gralloc1_error_t GetBackingStore(gralloc1_device_t *device, buffer_handle_t buffer,
[all …]
Dgr_buf_mgr.h38 gralloc1_error_t CreateBufferDescriptor(gralloc1_buffer_descriptor_t *descriptor_id);
39 gralloc1_error_t DestroyBufferDescriptor(gralloc1_buffer_descriptor_t descriptor_id);
40 gralloc1_error_t AllocateBuffers(uint32_t num_descriptors,
43 gralloc1_error_t RetainBuffer(private_handle_t const *hnd);
44 gralloc1_error_t ReleaseBuffer(private_handle_t const *hnd);
45 gralloc1_error_t LockBuffer(const private_handle_t *hnd, gralloc1_producer_usage_t prod_usage,
47 gralloc1_error_t UnlockBuffer(const private_handle_t *hnd);
48 gralloc1_error_t Perform(int operation, va_list args);
49 gralloc1_error_t GetFlexLayout(const private_handle_t *hnd, struct android_flex_layout *layout);
50 gralloc1_error_t GetNumFlexPlanes(const private_handle_t *hnd, uint32_t *out_num_planes);
[all …]
Dgr_device_impl.cpp176 gralloc1_error_t GrallocImpl::Dump(gralloc1_device_t *device, uint32_t *out_size, in Dump()
200 gralloc1_error_t GrallocImpl::CheckDeviceAndHandle(gralloc1_device_t *device, in CheckDeviceAndHandle()
211 gralloc1_error_t GrallocImpl::CreateBufferDescriptor(gralloc1_device_t *device, in CreateBufferDescriptor()
220 gralloc1_error_t GrallocImpl::DestroyBufferDescriptor(gralloc1_device_t *device, in DestroyBufferDescriptor()
229 gralloc1_error_t GrallocImpl::SetConsumerUsage(gralloc1_device_t *device, in SetConsumerUsage()
241 gralloc1_error_t GrallocImpl::SetBufferDimensions(gralloc1_device_t *device, in SetBufferDimensions()
254 gralloc1_error_t GrallocImpl::SetColorFormat(gralloc1_device_t *device, in SetColorFormat()
266 gralloc1_error_t GrallocImpl::SetLayerCount(gralloc1_device_t *device, in SetLayerCount()
279 gralloc1_error_t GrallocImpl::SetProducerUsage(gralloc1_device_t *device, in SetProducerUsage()
291 gralloc1_error_t GrallocImpl::GetBackingStore(gralloc1_device_t *device, buffer_handle_t buffer, in GetBackingStore()
[all …]
Dgr_buf_mgr.cpp58 gralloc1_error_t BufferManager::CreateBufferDescriptor( in CreateBufferDescriptor()
67 gralloc1_error_t BufferManager::DestroyBufferDescriptor( in DestroyBufferDescriptor()
84 gralloc1_error_t BufferManager::AllocateBuffers(uint32_t num_descriptors, in AllocateBuffers()
88 gralloc1_error_t status = GRALLOC1_ERROR_NONE; in AllocateBuffers()
193 gralloc1_error_t BufferManager::FreeBuffer(std::shared_ptr<Buffer> buf) { in FreeBuffer()
229 gralloc1_error_t BufferManager::ImportHandleLocked(private_handle_t *hnd) { in ImportHandleLocked()
259 gralloc1_error_t BufferManager::MapBuffer(private_handle_t const *handle) { in MapBuffer()
271 gralloc1_error_t BufferManager::RetainBuffer(private_handle_t const *hnd) { in RetainBuffer()
273 gralloc1_error_t err = GRALLOC1_ERROR_NONE; in RetainBuffer()
285 gralloc1_error_t BufferManager::ReleaseBuffer(private_handle_t const *hnd) { in ReleaseBuffer()
[all …]
Dgr_priv_handle.h35 typedef gralloc1_error_t (*GRALLOC1_PFN_PERFORM)(gralloc1_device_t *device, int operation, ...);
/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/
DGralloc1On0Adapter.h89 gralloc1_error_t createDescriptor(
97 gralloc1_error_t destroyDescriptor(gralloc1_buffer_descriptor_t descriptor);
115 gralloc1_error_t setDimensions(uint32_t w, uint32_t h) { in setDimensions()
121 gralloc1_error_t setFormat(int32_t f) { in setFormat()
126 gralloc1_error_t setLayerCount(uint32_t lc) { in setLayerCount()
131 gralloc1_error_t setProducerUsage(gralloc1_producer_usage_t usage) { in setProducerUsage()
136 gralloc1_error_t setConsumerUsage(gralloc1_consumer_usage_t usage) { in setConsumerUsage()
152 gralloc1_error_t (Descriptor::*member)(Args...), Args... args) { in callDescriptorFunction()
212 gralloc1_error_t getBackingStore( in getBackingStore()
218 gralloc1_error_t getConsumerUsage( in getConsumerUsage()
[all …]
DGralloc1On0Adapter.cpp201 gralloc1_error_t Gralloc1On0Adapter::createDescriptor( in createDescriptor()
214 gralloc1_error_t Gralloc1On0Adapter::destroyDescriptor( in destroyDescriptor()
239 gralloc1_error_t Gralloc1On0Adapter::allocate( in allocate()
299 gralloc1_error_t error = GRALLOC1_ERROR_NONE; in allocateHook()
331 gralloc1_error_t Gralloc1On0Adapter::retain( in retain()
339 gralloc1_error_t Gralloc1On0Adapter::release( in release()
366 gralloc1_error_t Gralloc1On0Adapter::retain(buffer_handle_t bufferHandle) in retain()
439 gralloc1_error_t Gralloc1On0Adapter::lock( in lock()
471 gralloc1_error_t Gralloc1On0Adapter::lockFlex( in lockFlex()
516 gralloc1_error_t Gralloc1On0Adapter::unlock( in unlock()

12