Home
last modified time | relevance | path

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

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/backend/
H A Dnative_buffer_utils.cpp34 VkNativeBufferPropertiesOHOS* nbProps) in GetNativeBufferFormatProperties() argument
39 nbProps->sType = VK_STRUCTURE_TYPE_NATIVE_BUFFER_PROPERTIES_OHOS; in GetNativeBufferFormatProperties()
40 nbProps->pNext = nbFormatProps; in GetNativeBufferFormatProperties()
108 OH_NativeBuffer* nativeBuffer, VkNativeBufferPropertiesOHOS& nbProps, bool isProtected) in AllocateDeviceMemory() argument
122 if (nbProps.memoryTypeBits & (1 << i)) { in AllocateDeviceMemory()
196 VkNativeBufferPropertiesOHOS nbProps; in MakeFromNativeWindowBuffer() local
197 … if (!GetNativeBufferFormatProperties(vkContext, device, nativeBuffer, &nbFormatProps, &nbProps)) { in MakeFromNativeWindowBuffer()
213 if (!AllocateDeviceMemory(vkContext, &memory, image, nativeBuffer, nbProps, isProtected)) { in MakeFromNativeWindowBuffer()
299 VkNativeBufferPropertiesOHOS nbProps; in MakeBackendTextureFromNativeBuffer() local
315 if (!AllocateDeviceMemory(vkContext, &memory, image, nativeBuffer, nbProps, isProtected)) { in MakeBackendTextureFromNativeBuffer()
[all …]