Home
last modified time | relevance | path

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

12

/aosp12/hardware/qcom/sdm845/display/gralloc/
H A 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,
111 static gralloc1_error_t LockFlex(gralloc1_device_t *device, buffer_handle_t buffer,
[all …]
H A 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()
379 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetConsumerUsage()
389 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetBufferDimensions()
401 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetColorFormat()
411 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetLayerCount()
425 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetProducerUsage()
449 gralloc1_error_t status = GRALLOC1_ERROR_NONE; in AllocateBuffer()
663 static gralloc1_error_t Perform(int operation, va_list args) { in Perform()
[all …]
H A Dgr_priv_handle.h33 typedef gralloc1_error_t (*GRALLOC1_PFN_PERFORM)(gralloc1_device_t *device, int operation, ...);
/aosp12/hardware/qcom/sm8150/display/gralloc/
H A 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,
111 static gralloc1_error_t LockFlex(gralloc1_device_t *device, buffer_handle_t buffer,
[all …]
H A 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()
371 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetBackingStore()
386 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetConsumerUsage()
400 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetBufferDimensions()
416 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetColorFormat()
430 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetLayerCount()
468 gralloc1_error_t status = GRALLOC1_ERROR_NONE; in AllocateBuffer()
682 static gralloc1_error_t Perform(int operation, va_list args) { in Perform()
[all …]
/aosp12/hardware/qcom/display/msm8996/libgralloc1/
H A 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,
122 static gralloc1_error_t validateBufferSize(gralloc1_device_t *device,
[all …]
H A Dgr_buf_mgr.h38 gralloc1_error_t CreateBufferDescriptor(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);
47 gralloc1_error_t UnlockBuffer(const private_handle_t *hnd);
48 gralloc1_error_t Perform(int operation, va_list args);
51 gralloc1_error_t Dump(std::ostringstream *os);
52 gralloc1_error_t IsBufferImported(const private_handle_t *hnd);
76 gralloc1_error_t MapBuffer(private_handle_t const *hnd);
86 gralloc1_error_t ImportHandleLocked(private_handle_t *hnd);
[all …]
H A Dgr_device_impl.cpp300 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetConsumerUsage()
310 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetBufferDimensions()
322 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetColorFormat()
332 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetLayerCount()
342 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetProducerUsage()
353 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetBufferStride()
376 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in RetainBuffer()
387 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in ReleaseBuffer()
399 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetNumFlexPlanes()
419 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in LockBuffer()
[all …]
H A 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()
280 gralloc1_error_t err = GRALLOC1_ERROR_NONE; in RetainBuffer()
312 gralloc1_error_t BufferManager::LockBuffer(const private_handle_t *hnd, in LockBuffer()
316 gralloc1_error_t err = GRALLOC1_ERROR_NONE; in LockBuffer()
358 gralloc1_error_t status = GRALLOC1_ERROR_NONE; in UnlockBuffer()
529 gralloc1_error_t BufferManager::Perform(int operation, va_list args) { in Perform()
[all …]
/aosp12/hardware/qcom/display/msm8998/libgralloc1/
H A 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,
122 static gralloc1_error_t validateBufferSize(gralloc1_device_t *device,
[all …]
H A Dgr_buf_mgr.h38 gralloc1_error_t CreateBufferDescriptor(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);
47 gralloc1_error_t UnlockBuffer(const private_handle_t *hnd);
48 gralloc1_error_t Perform(int operation, va_list args);
51 gralloc1_error_t Dump(std::ostringstream *os);
52 gralloc1_error_t IsBufferImported(const private_handle_t *hnd);
76 gralloc1_error_t MapBuffer(private_handle_t const *hnd);
86 gralloc1_error_t ImportHandleLocked(private_handle_t *hnd);
[all …]
H A Dgr_device_impl.cpp318 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetConsumerUsage()
328 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetBufferDimensions()
340 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetColorFormat()
350 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetLayerCount()
360 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetProducerUsage()
371 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetBufferStride()
394 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in RetainBuffer()
416 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetNumFlexPlanes()
437 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in LockBuffer()
498 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in UnlockBuffer()
[all …]
H A 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()
275 gralloc1_error_t err = GRALLOC1_ERROR_NONE; in RetainBuffer()
304 gralloc1_error_t BufferManager::LockBuffer(const private_handle_t *hnd, in LockBuffer()
308 gralloc1_error_t err = GRALLOC1_ERROR_NONE; in LockBuffer()
350 gralloc1_error_t status = GRALLOC1_ERROR_NONE; in UnlockBuffer()
521 gralloc1_error_t BufferManager::Perform(int operation, va_list args) { in Perform()
[all …]
/aosp12/hardware/qcom/display/msm8909w_3100/libgralloc1/
H A 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,
106 static gralloc1_error_t LockBuffer(gralloc1_device_t *device, buffer_handle_t buffer,
[all …]
H A Dgr_device_impl.cpp305 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetConsumerUsage()
315 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetBufferDimensions()
327 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetColorFormat()
337 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetLayerCount()
351 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetProducerUsage()
366 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetBufferStride()
393 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in RetainBuffer()
404 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in ReleaseBuffer()
420 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetNumFlexPlanes()
440 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in LockBuffer()
[all …]
H A 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);
47 gralloc1_error_t UnlockBuffer(const private_handle_t *hnd);
48 gralloc1_error_t Perform(int operation, va_list args);
51 gralloc1_error_t Dump(std::ostringstream *os);
74 gralloc1_error_t MapBuffer(private_handle_t const *hnd);
86 gralloc1_error_t ImportHandleLocked(private_handle_t *hnd);
[all …]
H A 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()
267 gralloc1_error_t err = GRALLOC1_ERROR_NONE; in RetainBuffer()
303 gralloc1_error_t BufferManager::LockBuffer(const private_handle_t *hnd, in LockBuffer()
307 gralloc1_error_t err = GRALLOC1_ERROR_NONE; in LockBuffer()
349 gralloc1_error_t status = GRALLOC1_ERROR_NONE; in UnlockBuffer()
542 gralloc1_error_t BufferManager::Perform(int operation, va_list args) { in Perform()
[all …]
/aosp12/hardware/qcom/display/msm8909/gralloc/
H A 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,
106 static gralloc1_error_t LockBuffer(gralloc1_device_t *device, buffer_handle_t buffer,
[all …]
H A Dgr_device_impl.cpp305 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetConsumerUsage()
315 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetBufferDimensions()
327 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetColorFormat()
337 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetLayerCount()
351 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetProducerUsage()
366 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetBufferStride()
393 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in RetainBuffer()
419 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetNumFlexPlanes()
439 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in LockBuffer()
499 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in UnlockBuffer()
[all …]
H A 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);
47 gralloc1_error_t UnlockBuffer(const private_handle_t *hnd);
48 gralloc1_error_t Perform(int operation, va_list args);
51 gralloc1_error_t Dump(std::ostringstream *os);
74 gralloc1_error_t MapBuffer(private_handle_t const *hnd);
86 gralloc1_error_t ImportHandleLocked(private_handle_t *hnd);
[all …]
H A 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()
273 gralloc1_error_t err = GRALLOC1_ERROR_NONE; in RetainBuffer()
302 gralloc1_error_t BufferManager::LockBuffer(const private_handle_t *hnd, in LockBuffer()
306 gralloc1_error_t err = GRALLOC1_ERROR_NONE; in LockBuffer()
352 gralloc1_error_t status = GRALLOC1_ERROR_NONE; in UnlockBuffer()
545 gralloc1_error_t BufferManager::Perform(int operation, va_list args) { in Perform()
[all …]
/aosp12/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/
H A DGralloc1On0Adapter.h89 gralloc1_error_t createDescriptor(
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()
212 gralloc1_error_t getBackingStore( in getBackingStore()
218 gralloc1_error_t getConsumerUsage( in getConsumerUsage()
224 gralloc1_error_t getDimensions(uint32_t* outWidth, in getDimensions()
231 gralloc1_error_t getFormat(int32_t* outFormat) const { in getFormat()
246 gralloc1_error_t getProducerUsage( in getProducerUsage()
316 gralloc1_error_t allocate(
[all …]
H A 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()
/aosp12/hardware/qcom/sm7250/display/gralloc/
H A 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()
374 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetBackingStore()
389 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetConsumerUsage()
403 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetBufferDimensions()
419 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetColorFormat()
433 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetLayerCount()
447 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetProducerUsage()
461 gralloc1_error_t status = CheckDeviceAndHandle(device, buffer); in GetBufferStride()
[all …]
H A Dgr_device_impl.h65 static inline gralloc1_error_t CheckDeviceAndHandle(gralloc1_device_t *device,
122 gralloc1_error_t CreateBufferDescriptorLocked(gralloc1_buffer_descriptor_t *descriptor_id);
123 gralloc1_error_t DestroyBufferDescriptorLocked(gralloc1_buffer_descriptor_t descriptor_id);
124 gralloc1_error_t AllocateBuffer(const gralloc1_buffer_descriptor_t *descriptor_ids,

12