Home
last modified time | relevance | path

Searched refs:bufferHandle (Results 1 – 10 of 10) sorted by relevance

/external/minigbm/cros_gralloc/gralloc4/
DCrosGralloc4Mapper.cc79 const native_handle_t* bufferHandle = handle.getNativeHandle(); in importBuffer() local
80 if (!bufferHandle || bufferHandle->numFds == 0) { in importBuffer()
86 native_handle_t* importedBufferHandle = native_handle_clone(bufferHandle); in importBuffer()
111 native_handle_t* bufferHandle = reinterpret_cast<native_handle_t*>(rawHandle); in freeBuffer() local
112 if (!bufferHandle) { in freeBuffer()
117 int ret = mDriver->release(bufferHandle); in freeBuffer()
122 native_handle_close(bufferHandle); in freeBuffer()
123 native_handle_delete(bufferHandle); in freeBuffer()
135 native_handle_t* bufferHandle = reinterpret_cast<native_handle_t*>(rawHandle); in validateBufferSize() local
136 if (!bufferHandle) { in validateBufferSize()
[all …]
/external/libchrome/mojo/public/java/base/src/org/chromium/mojo_base/
DBigBufferUtil.java29 region.bufferHandle.map(0, region.size, SharedBufferHandle.MapFlags.NONE); in getBytesFromBigBuffer()
46 region.bufferHandle = in createBigBufferFromBytes()
50 region.bufferHandle.map(0, bytes.length, SharedBufferHandle.MapFlags.NONE); in createBigBufferFromBytes()
/external/swiftshader/src/Vulkan/
DVkDeviceMemoryExternalAndroid.hpp36 vk::Buffer *bufferHandle = nullptr; member
72 bufferHandle = vk::Cast(dedicatedAllocateInfo->buffer); in AllocateInfo()
89 return (info.importAhb || info.exportAhb) && (info.bufferHandle || info.imageHandle); in supportsAllocateInfo()
/external/angle/src/libANGLE/renderer/vulkan/
DVertexArrayVk.h39 VkBuffer bufferHandle,
Dvk_helpers.cpp2747 VkBuffer bufferHandle = VK_NULL_HANDLE; in stageSubresourceUpdateImpl() local
2751 ANGLE_TRY(mStagingBuffer.allocate(contextVk, allocationSize, &stagingPointer, &bufferHandle, in stageSubresourceUpdateImpl()
2898 VkBuffer bufferHandle; in stageSubresourceUpdateAndGetData() local
2900 ANGLE_TRY(mStagingBuffer.allocate(contextVk, allocationSize, destData, &bufferHandle, in stageSubresourceUpdateAndGetData()
3006 VkBuffer bufferHandle = VK_NULL_HANDLE; in stageSubresourceUpdateFromFramebuffer() local
3013 ANGLE_TRY(mStagingBuffer.allocate(contextVk, allocationSize, &stagingPointer, &bufferHandle, in stageSubresourceUpdateFromFramebuffer()
3664 VkBuffer bufferHandle = VK_NULL_HANDLE; in readPixels() local
3669 ANGLE_TRY(stagingBuffer->allocate(contextVk, allocationSize, &readPixelBuffer, &bufferHandle, in readPixels()
3680 commandBuffer->copyImageToBuffer(src->getImage(), src->getCurrentLayout(), bufferHandle, 1, in readPixels()
DVertexArrayVk.cpp861 VkBuffer bufferHandle, in updateDefaultAttrib() argument
867 mCurrentArrayBufferHandles[attribIndex] = bufferHandle; in updateDefaultAttrib()
Dvk_wrapper.h1340 VkBuffer bufferHandle;
1343 persistentlyMappedBuffers, &memoryTypeIndex, &bufferHandle, &mHandle);
1345 buffer->setHandle(bufferHandle);
DContextVk.cpp4077 VkBuffer bufferHandle = VK_NULL_HANDLE; in updateDefaultAttribute() local
4080 defaultBuffer.allocate(this, kDefaultValueSize, &ptr, &bufferHandle, &offset, nullptr)); in updateDefaultAttribute()
4089 mVertexArray->updateDefaultAttrib(this, attribIndex, bufferHandle, in updateDefaultAttribute()
/external/deqp/external/vulkancts/framework/vulkan/
DvkNullDriver.cpp1093 VKAPI_ATTR void VKAPI_CALL getBufferMemoryRequirements (VkDevice, VkBuffer bufferHandle, VkMemoryRe… in getBufferMemoryRequirements() argument
1095 const Buffer* buffer = reinterpret_cast<const Buffer*>(bufferHandle.getInternal()); in getBufferMemoryRequirements()
/external/angle/src/libANGLE/
DContext.cpp1061 BufferID bufferHandle, in bindVertexBuffer() argument
1066 mState.mBufferManager->checkBufferAllocation(mImplementation.get(), bufferHandle); in bindVertexBuffer()