Home
last modified time | relevance | path

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

/device/amlogic/yukawa/hal/gralloc/legacy/
Dalloc_device.cpp43 …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/
Dalloc_device.cpp43 …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/
Dmali_gralloc_ion.cpp57 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 …]
Dmali_gralloc_bufferallocation.h28 … uint32_t numDescriptors, buffer_handle_t *pHandle, bool *shared_backend);
29 int mali_gralloc_buffer_free(buffer_handle_t pHandle);
Dframebuffer_device.cpp423 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()
Dmali_gralloc_bufferallocation.cpp79 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()
Dframebuffer_device.h30 buffer_handle_t *pHandle, int *stride, int *byte_stride);
Dmali_gralloc_ion.h26 … uint32_t numDescriptors, buffer_handle_t *pHandle, bool *alloc_from_backing_store);
/device/linaro/hikey/gralloc/
Dalloc_device.cpp199 …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/
Dmali_gralloc_ion.cpp66 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 …]
Dmali_gralloc_bufferallocation.h28 … uint32_t numDescriptors, buffer_handle_t *pHandle, bool *shared_backend);
29 int mali_gralloc_buffer_free(buffer_handle_t pHandle);
Dframebuffer_device.cpp423 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()
Dmali_gralloc_bufferallocation.cpp79 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()
Dframebuffer_device.h30 buffer_handle_t *pHandle, int *stride, int *byte_stride);
Dmali_gralloc_ion.h26 … uint32_t numDescriptors, buffer_handle_t *pHandle, bool *alloc_from_backing_store);
/device/google/cuttlefish/guest/hals/gralloc/legacy/
Dgralloc.cpp51 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/
Dgoldfish_vulkan.cpp169 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()
Dfunc_table.cpp2798 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/
Dgralloc_30.cpp142 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()
Dgralloc_old.cpp609 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/
Dnanohub_chre.c244 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/
DResourceTracker.h247 uint32_t* pHandle);
258 uint32_t* pHandle);
DVkEncoder.h1078 HANDLE* pHandle);
1113 HANDLE* pHandle);
1197 HANDLE* pHandle);
1442 HANDLE* pHandle);
DResourceTracker.cpp1553 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()
DVkEncoder.cpp15615 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 …]