/device/amlogic/yukawa/hal/gralloc/legacy/ |
D | alloc_device.cpp | 43 …oc_device_alloc(alloc_device_t *dev, int w, int h, int format, int usage, buffer_handle_t *pHandle, in alloc_device_alloc() argument 49 if (!dev || !pHandle || !pStride) in alloc_device_alloc() 77 err = fb_alloc_framebuffer(m, usage, usage, pHandle, &pixel_stride, &byte_stride); in alloc_device_alloc() 81 private_handle_t *hnd = (private_handle_t *)*pHandle; in alloc_device_alloc() 118 if (mali_gralloc_buffer_allocate(m, gralloc_buffer_descriptor, 1, pHandle, NULL) < 0) in alloc_device_alloc() 125 mali_gralloc_query_getstride(*pHandle, pStride); in alloc_device_alloc()
|
/device/linaro/hikey/gralloc960/legacy/ |
D | alloc_device.cpp | 43 …oc_device_alloc(alloc_device_t *dev, int w, int h, int format, int usage, buffer_handle_t *pHandle, in alloc_device_alloc() argument 49 if (!dev || !pHandle || !pStride) in alloc_device_alloc() 77 err = fb_alloc_framebuffer(m, usage, usage, pHandle, &pixel_stride, &byte_stride); in alloc_device_alloc() 81 private_handle_t *hnd = (private_handle_t *)*pHandle; in alloc_device_alloc() 117 if (mali_gralloc_buffer_allocate(m, gralloc_buffer_descriptor, 1, pHandle, NULL) < 0) in alloc_device_alloc() 124 mali_gralloc_query_getstride(*pHandle, pStride); in alloc_device_alloc()
|
/device/amlogic/yukawa/hal/gralloc/ |
D | mali_gralloc_ion.cpp | 57 static void mali_gralloc_ion_free_internal(buffer_handle_t *pHandle, uint32_t num_hnds); 394 … uint32_t numDescriptors, buffer_handle_t *pHandle, bool *shared_backend) in mali_gralloc_ion_allocate() argument 489 mali_gralloc_ion_free_internal(pHandle, numDescriptors); in mali_gralloc_ion_allocate() 507 mali_gralloc_ion_free_internal(pHandle, numDescriptors); in mali_gralloc_ion_allocate() 511 pHandle[i] = hnd; in mali_gralloc_ion_allocate() 526 mali_gralloc_ion_free_internal(pHandle, numDescriptors); in mali_gralloc_ion_allocate() 545 mali_gralloc_ion_free_internal(pHandle, numDescriptors); in mali_gralloc_ion_allocate() 556 mali_gralloc_ion_free_internal(pHandle, numDescriptors); in mali_gralloc_ion_allocate() 570 mali_gralloc_ion_free_internal(pHandle, numDescriptors); in mali_gralloc_ion_allocate() 574 pHandle[i] = hnd; in mali_gralloc_ion_allocate() [all …]
|
D | mali_gralloc_bufferallocation.h | 28 … uint32_t numDescriptors, buffer_handle_t *pHandle, bool *shared_backend); 29 int mali_gralloc_buffer_free(buffer_handle_t pHandle);
|
D | framebuffer_device.cpp | 423 uint64_t producer_usage, buffer_handle_t *pHandle) in fb_alloc_from_ion_module() argument 435 err = mali_gralloc_ion_allocate(m, gralloc_buffer_descriptor, 1, pHandle, &shared); in fb_alloc_from_ion_module() 441 buffer_handle_t *pHandle, int *stride, int *byte_stride) in fb_alloc_framebuffer_locked() argument 475 …n fb_alloc_from_ion_module(m, alignedFramebufferSize, newConsumerUsage, newProducerUsage, pHandle); in fb_alloc_framebuffer_locked() 515 …n fb_alloc_from_ion_module(m, alignedFramebufferSize, newConsumerUsage, newProducerUsage, pHandle); in fb_alloc_framebuffer_locked() 518 *pHandle = hnd; in fb_alloc_framebuffer_locked() 525 buffer_handle_t *pHandle, int *stride, int *byte_stride) in fb_alloc_framebuffer() argument 528 …int err = fb_alloc_framebuffer_locked(m, consumer_usage, producer_usage, pHandle, stride, byte_str… in fb_alloc_framebuffer()
|
D | mali_gralloc_bufferallocation.cpp | 79 static int mali_gralloc_buffer_free_internal(buffer_handle_t *pHandle, uint32_t num_hnds); 884 … uint32_t numDescriptors, buffer_handle_t *pHandle, bool *shared_backend) in mali_gralloc_buffer_allocate() argument 1161 err = mali_gralloc_ion_allocate(m, descriptors, numDescriptors, pHandle, &shared); in mali_gralloc_buffer_allocate() 1178 private_handle_t *hnd = (private_handle_t *)pHandle[i]; in mali_gralloc_buffer_allocate() 1188 mali_gralloc_buffer_free_internal(pHandle, numDescriptors); in mali_gralloc_buffer_allocate() 1239 int mali_gralloc_buffer_free(buffer_handle_t pHandle) in mali_gralloc_buffer_free() argument 1242 private_handle_t *hnd = (private_handle_t *)(pHandle); in mali_gralloc_buffer_free() 1253 static int mali_gralloc_buffer_free_internal(buffer_handle_t *pHandle, uint32_t num_hnds) in mali_gralloc_buffer_free_internal() argument 1260 private_handle_t *hnd = (private_handle_t *)(pHandle[i]); in mali_gralloc_buffer_free_internal()
|
D | framebuffer_device.h | 30 buffer_handle_t *pHandle, int *stride, int *byte_stride);
|
D | mali_gralloc_ion.h | 26 … uint32_t numDescriptors, buffer_handle_t *pHandle, bool *alloc_from_backing_store);
|
/device/linaro/hikey/gralloc/ |
D | alloc_device.cpp | 199 …tic int gralloc_alloc_buffer(alloc_device_t *dev, size_t size, int usage, buffer_handle_t *pHandle) in gralloc_alloc_buffer() argument 258 *pHandle = hnd; in gralloc_alloc_buffer() 331 *pHandle = hnd; in gralloc_alloc_buffer() 367 …loc_alloc_framebuffer_locked(alloc_device_t *dev, size_t size, int usage, buffer_handle_t *pHandle) in gralloc_alloc_framebuffer_locked() argument 394 return gralloc_alloc_buffer(dev, bufferSize, newUsage, pHandle); in gralloc_alloc_framebuffer_locked() 450 return gralloc_alloc_buffer(dev, bufferSize, newUsage, pHandle); in gralloc_alloc_framebuffer_locked() 463 *pHandle = hnd; in gralloc_alloc_framebuffer_locked() 468 …nt gralloc_alloc_framebuffer(alloc_device_t *dev, size_t size, int usage, buffer_handle_t *pHandle) in gralloc_alloc_framebuffer() argument 472 int err = gralloc_alloc_framebuffer_locked(dev, size, usage, pHandle); in gralloc_alloc_framebuffer() 478 …c(alloc_device_t *dev, int w, int h, int format, int usage, buffer_handle_t *pHandle, int *pStride) in alloc_device_alloc() argument [all …]
|
/device/linaro/hikey/gralloc960/ |
D | mali_gralloc_ion.cpp | 66 static void mali_gralloc_ion_free_internal(buffer_handle_t *pHandle, uint32_t num_hnds); 486 … uint32_t numDescriptors, buffer_handle_t *pHandle, bool *shared_backend) in mali_gralloc_ion_allocate() argument 549 mali_gralloc_ion_free_internal(pHandle, numDescriptors); in mali_gralloc_ion_allocate() 567 mali_gralloc_ion_free_internal(pHandle, numDescriptors); in mali_gralloc_ion_allocate() 571 pHandle[i] = hnd; in mali_gralloc_ion_allocate() 586 mali_gralloc_ion_free_internal(pHandle, numDescriptors); in mali_gralloc_ion_allocate() 599 mali_gralloc_ion_free_internal(pHandle, numDescriptors); in mali_gralloc_ion_allocate() 613 mali_gralloc_ion_free_internal(pHandle, numDescriptors); in mali_gralloc_ion_allocate() 617 pHandle[i] = hnd; in mali_gralloc_ion_allocate() 624 private_handle_t *hnd = (private_handle_t *)(pHandle[i]); in mali_gralloc_ion_allocate() [all …]
|
D | mali_gralloc_bufferallocation.h | 28 … uint32_t numDescriptors, buffer_handle_t *pHandle, bool *shared_backend); 29 int mali_gralloc_buffer_free(buffer_handle_t pHandle);
|
D | framebuffer_device.cpp | 423 uint64_t producer_usage, buffer_handle_t *pHandle) in fb_alloc_from_ion_module() argument 435 err = mali_gralloc_ion_allocate(m, gralloc_buffer_descriptor, 1, pHandle, &shared); in fb_alloc_from_ion_module() 441 buffer_handle_t *pHandle, int *stride, int *byte_stride) in fb_alloc_framebuffer_locked() argument 475 …n fb_alloc_from_ion_module(m, alignedFramebufferSize, newConsumerUsage, newProducerUsage, pHandle); in fb_alloc_framebuffer_locked() 515 …n fb_alloc_from_ion_module(m, alignedFramebufferSize, newConsumerUsage, newProducerUsage, pHandle); in fb_alloc_framebuffer_locked() 518 *pHandle = hnd; in fb_alloc_framebuffer_locked() 525 buffer_handle_t *pHandle, int *stride, int *byte_stride) in fb_alloc_framebuffer() argument 528 …int err = fb_alloc_framebuffer_locked(m, consumer_usage, producer_usage, pHandle, stride, byte_str… in fb_alloc_framebuffer()
|
D | mali_gralloc_bufferallocation.cpp | 79 static int mali_gralloc_buffer_free_internal(buffer_handle_t *pHandle, uint32_t num_hnds); 884 … uint32_t numDescriptors, buffer_handle_t *pHandle, bool *shared_backend) in mali_gralloc_buffer_allocate() argument 1135 err = mali_gralloc_ion_allocate(m, descriptors, numDescriptors, pHandle, &shared); in mali_gralloc_buffer_allocate() 1151 private_handle_t *hnd = (private_handle_t *)pHandle[i]; in mali_gralloc_buffer_allocate() 1160 mali_gralloc_buffer_free_internal(pHandle, numDescriptors); in mali_gralloc_buffer_allocate() 1211 int mali_gralloc_buffer_free(buffer_handle_t pHandle) in mali_gralloc_buffer_free() argument 1214 private_handle_t *hnd = (private_handle_t *)(pHandle); in mali_gralloc_buffer_free() 1225 static int mali_gralloc_buffer_free_internal(buffer_handle_t *pHandle, uint32_t num_hnds) in mali_gralloc_buffer_free_internal() argument 1232 private_handle_t *hnd = (private_handle_t *)(pHandle[i]); in mali_gralloc_buffer_free_internal()
|
D | framebuffer_device.h | 30 buffer_handle_t *pHandle, int *stride, int *byte_stride);
|
D | mali_gralloc_ion.h | 26 … uint32_t numDescriptors, buffer_handle_t *pHandle, bool *alloc_from_backing_store);
|
/device/google/cuttlefish/guest/hals/gralloc/legacy/ |
D | gralloc.cpp | 51 buffer_handle_t* pHandle, int* pStrideInPixels) { in gralloc_alloc_buffer() argument 85 *pHandle = hnd; in gralloc_alloc_buffer() 100 int /*usage*/, buffer_handle_t* pHandle, in gralloc_alloc() argument 102 if (!pHandle || !pStrideInPixels) in gralloc_alloc() 105 int err = gralloc_alloc_buffer(dev, format, w, h, pHandle, pStrideInPixels); in gralloc_alloc()
|
/device/generic/goldfish-opengl/system/vulkan/ |
D | goldfish_vulkan.cpp | 169 uint32_t* pHandle) { in GetMemoryZirconHandleFUCHSIA() argument 171 *pHandle = 0; in GetMemoryZirconHandleFUCHSIA() 187 uint32_t* pHandle) { in GetSemaphoreZirconHandleFUCHSIA() argument 189 *pHandle = 0; in GetSemaphoreZirconHandleFUCHSIA() 430 uint32_t* pHandle) { in GetMemoryZirconHandleFUCHSIA() argument 436 return vkstubhal::GetMemoryZirconHandleFUCHSIA(device, pInfo, pHandle); in GetMemoryZirconHandleFUCHSIA() 442 device, pInfo, pHandle); in GetMemoryZirconHandleFUCHSIA() 473 uint32_t* pHandle) { in GetSemaphoreZirconHandleFUCHSIA() argument 479 return vkstubhal::GetSemaphoreZirconHandleFUCHSIA(device, pInfo, pHandle); in GetSemaphoreZirconHandleFUCHSIA() 484 vkEnc, VK_SUCCESS, device, pInfo, pHandle); in GetSemaphoreZirconHandleFUCHSIA()
|
D | func_table.cpp | 2798 HANDLE* pHandle) in entry_vkGetMemoryWin32HandleKHR() argument 2803 …HandleKHR_VkResult_return = vkEnc->vkGetMemoryWin32HandleKHR(device, pGetWin32HandleInfo, pHandle); in entry_vkGetMemoryWin32HandleKHR() 2809 HANDLE* pHandle) in dynCheck_entry_vkGetMemoryWin32HandleKHR() argument 2819 …HandleKHR_VkResult_return = vkEnc->vkGetMemoryWin32HandleKHR(device, pGetWin32HandleInfo, pHandle); in dynCheck_entry_vkGetMemoryWin32HandleKHR() 2954 HANDLE* pHandle) in entry_vkGetSemaphoreWin32HandleKHR() argument 2959 …dleKHR_VkResult_return = vkEnc->vkGetSemaphoreWin32HandleKHR(device, pGetWin32HandleInfo, pHandle); in entry_vkGetSemaphoreWin32HandleKHR() 2965 HANDLE* pHandle) in dynCheck_entry_vkGetSemaphoreWin32HandleKHR() argument 2975 …dleKHR_VkResult_return = vkEnc->vkGetSemaphoreWin32HandleKHR(device, pGetWin32HandleInfo, pHandle); in dynCheck_entry_vkGetSemaphoreWin32HandleKHR() 3275 HANDLE* pHandle) in entry_vkGetFenceWin32HandleKHR() argument 3280 …2HandleKHR_VkResult_return = vkEnc->vkGetFenceWin32HandleKHR(device, pGetWin32HandleInfo, pHandle); in entry_vkGetFenceWin32HandleKHR() [all …]
|
/device/generic/goldfish-opengl/system/gralloc/ |
D | gralloc_30.cpp | 142 buffer_handle_t* pHandle) = 0; 169 buffer_handle_t* pHandle) { in alloc_buffer() argument 175 pHandle); in alloc_buffer() 517 buffer_handle_t* pHandle, in gralloc_alloc() argument 657 pHandle); in gralloc_alloc() 682 buffer_handle_t* pHandle, int* pStride) { in s_gralloc_alloc() argument 688 return gd->gralloc_alloc(w, h, format, usage, pHandle, pStride); in s_gralloc_alloc() 808 buffer_handle_t* pHandle) override { in alloc_buffer() argument 853 *pHandle = handle.release(); in alloc_buffer()
|
D | gralloc_old.cpp | 609 buffer_handle_t* pHandle, int* pStride) in gralloc_alloc() argument 614 if (!grdev || !pHandle || !pStride) { in gralloc_alloc() 616 grdev, pHandle, pStride); in gralloc_alloc() 907 *pHandle = cb; in gralloc_alloc()
|
/device/google/contexthub/firmware/os/core/ |
D | nanohub_chre.c | 244 static bool osChreSensorFindDefault(uint8_t sensorType, uint32_t *pHandle) in osChreSensorFindDefault() argument 246 if (!pHandle) in osChreSensorFindDefault() 249 const struct SensorInfo *info = sensorFind(sensorType, 0, pHandle); in osChreSensorFindDefault() 257 uint32_t *pHandle = va_arg(args, uint32_t *); in osChreApiSensorFindDefault() local 258 *retValP = osChreSensorFindDefault(sensorType, pHandle); in osChreApiSensorFindDefault()
|
/device/generic/goldfish-opengl/system/vulkan_enc/ |
D | ResourceTracker.h | 247 uint32_t* pHandle); 258 uint32_t* pHandle);
|
D | VkEncoder.h | 1078 HANDLE* pHandle); 1113 HANDLE* pHandle); 1197 HANDLE* pHandle); 1442 HANDLE* pHandle);
|
D | ResourceTracker.cpp | 1553 uint32_t* pHandle) { in on_vkGetMemoryZirconHandleFUCHSIA() argument 1579 *pHandle = ZX_HANDLE_INVALID; in on_vkGetMemoryZirconHandleFUCHSIA() 1580 zx_handle_duplicate(info.vmoHandle, ZX_RIGHT_SAME_RIGHTS, pHandle); in on_vkGetMemoryZirconHandleFUCHSIA() 1651 uint32_t* pHandle) { in on_vkGetSemaphoreZirconHandleFUCHSIA() argument 1676 *pHandle = ZX_HANDLE_INVALID; in on_vkGetSemaphoreZirconHandleFUCHSIA() 1677 zx_handle_duplicate(info.eventHandle, ZX_RIGHT_SAME_RIGHTS, pHandle); in on_vkGetSemaphoreZirconHandleFUCHSIA() 5429 uint32_t* pHandle) { in on_vkGetMemoryZirconHandleFUCHSIA() argument 5431 context, input_result, device, pInfo, pHandle); in on_vkGetMemoryZirconHandleFUCHSIA() 5448 uint32_t* pHandle) { in on_vkGetSemaphoreZirconHandleFUCHSIA() argument 5450 context, input_result, device, pInfo, pHandle); in on_vkGetSemaphoreZirconHandleFUCHSIA()
|
D | VkEncoder.cpp | 15615 HANDLE* pHandle) in vkGetMemoryWin32HandleKHR() argument 15644 countingStream->write((HANDLE*)pHandle, sizeof(HANDLE)); in vkGetMemoryWin32HandleKHR() 15655 stream->write((HANDLE*)pHandle, sizeof(HANDLE)); in vkGetMemoryWin32HandleKHR() 15657 stream->read((HANDLE*)pHandle, sizeof(HANDLE)); in vkGetMemoryWin32HandleKHR() 15958 HANDLE* pHandle) in vkGetSemaphoreWin32HandleKHR() argument 15987 countingStream->write((HANDLE*)pHandle, sizeof(HANDLE)); in vkGetSemaphoreWin32HandleKHR() 15998 stream->write((HANDLE*)pHandle, sizeof(HANDLE)); in vkGetSemaphoreWin32HandleKHR() 16000 stream->read((HANDLE*)pHandle, sizeof(HANDLE)); in vkGetSemaphoreWin32HandleKHR() 16968 HANDLE* pHandle) in vkGetFenceWin32HandleKHR() argument 16997 countingStream->write((HANDLE*)pHandle, sizeof(HANDLE)); in vkGetFenceWin32HandleKHR() [all …]
|