Home
last modified time | relevance | path

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

12

/third_party/skia/src/gpu/vk/
DGrVkSamplerYcbcrConversion.cpp55 VkExternalFormatANDROID externalFormat; in Create() local
59 externalFormat.sType = VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_ANDROID; in Create()
60 externalFormat.pNext = nullptr; in Create()
61 externalFormat.externalFormat = info.fExternalFormat; in Create()
62 ycbcrCreateInfo.pNext = &externalFormat; in Create()
65 VkExternalFormatOHOS externalFormat; in Create() local
69 externalFormat.sType = VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_OHOS; in Create()
70 externalFormat.pNext = nullptr; in Create()
71 externalFormat.externalFormat = info.fExternalFormat; in Create()
72 ycbcrCreateInfo.pNext = &externalFormat; in Create()
DGrVkSamplerYcbcrConversion.h28 Key(VkFormat vkFormat, uint64_t externalFormat, uint8_t conversionKey) { in Key()
31 fExternalFormat = externalFormat; in Key()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/android/
DHardwareBufferImageSiblingVkAndroid.cpp151 ASSERT(bufferFormatProperties.externalFormat != 0); in ValidateHardwareBuffer()
157 << bufferFormatProperties.externalFormat << " is unsupported "; in ValidateHardwareBuffer()
230 VkExternalFormatANDROID externalFormat = {}; in initImpl() local
231 externalFormat.sType = VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_ANDROID; in initImpl()
232 externalFormat.externalFormat = 0; in initImpl()
249 ANGLE_VK_CHECK(displayVk, bufferFormatProperties.externalFormat != 0, VK_ERROR_UNKNOWN); in initImpl()
250 externalFormat.externalFormat = bufferFormatProperties.externalFormat; in initImpl()
264 externalMemoryImageCreateInfo.pNext = &externalFormat; in initImpl()
332 ASSERT(externalFormat.pNext == nullptr); in initImpl()
335 yuvConversionInfo.pNext = &externalFormat; in initImpl()
/third_party/skia/src/gpu/
DGrAHardwareBufferUtils.cpp140 ycbcrConversion.fExternalFormat = hwbFormatProps.externalFormat; in GetBackendFormat()
342 VkExternalFormatANDROID externalFormat; in make_vk_backend_texture() local
343 externalFormat.sType = VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_ANDROID; in make_vk_backend_texture()
344 externalFormat.pNext = nullptr; in make_vk_backend_texture()
345 externalFormat.externalFormat = 0; // If this is zero it is as if we aren't using this struct. in make_vk_backend_texture()
364 SkASSERT(hwbFormatProps.externalFormat == ycbcrConversion->fExternalFormat); in make_vk_backend_texture()
365 externalFormat.externalFormat = hwbFormatProps.externalFormat; in make_vk_backend_texture()
371 &externalFormat, // pNext in make_vk_backend_texture()
/third_party/skia/src/gpu/gl/
DGrGLCaps.h165 void getTexImageExternalFormatAndType(GrGLFormat surfaceFormat, GrGLenum* externalFormat,
174 GrColorType memoryColorType, GrGLenum* externalFormat,
182 GrGLenum* externalFormat,
187 GrColorType memoryColorType, GrGLenum* externalFormat,
498 GrGLenum* externalFormat, GrGLenum* externalType) const;
652 GrGLenum externalFormat(GrColorType externalColorType, ExternalFormatUsage usage, in externalFormat() function
694 GrGLenum externalFormat(GrColorType surfaceColorType, GrColorType externalColorType, in externalFormat() function
698 return fColorTypeInfos[i].externalFormat(externalColorType, usage, in externalFormat()
DGrGLGpu.cpp908 GrGLenum externalFormat = 0; in onTransferPixelsTo() local
911 textureFormat, textureColorType, bufferColorType, &externalFormat, &externalType); in onTransferPixelsTo()
912 if (!externalFormat || !externalType) { in onTransferPixelsTo()
923 externalFormat, in onTransferPixelsTo()
981 GrGLenum externalFormat; in uploadColorTypeTexData() local
984 textureFormat, textureColorType, srcColorType, &externalFormat, &externalType); in uploadColorTypeTexData()
985 if (!externalFormat || !externalType) { in uploadColorTypeTexData()
988 this->uploadTexData(texDims, target, dstRect, externalFormat, externalType, bpp, texels, in uploadColorTypeTexData()
999 GrGLenum externalFormat, externalType; in uploadColorToTex() local
1000 this->glCaps().getTexSubImageDefaultFormatTypeAndColorType(textureFormat, &externalFormat, in uploadColorToTex()
[all …]
DGrGLCaps.cpp1288 void GrGLCaps::getTexImageExternalFormatAndType(GrGLFormat surfaceFormat, GrGLenum* externalFormat, in getTexImageExternalFormatAndType() argument
1292 *externalFormat = info.fDefaultExternalFormat; in getTexImageExternalFormatAndType()
1296 GrGLenum* externalFormat, in getTexSubImageDefaultFormatTypeAndColorType() argument
1301 *externalFormat = info.fDefaultExternalFormat; in getTexSubImageDefaultFormatTypeAndColorType()
1308 GrGLenum* externalFormat, in getTexSubImageExternalFormatAndType() argument
1311 kTexImage_ExternalFormatUsage, externalFormat, externalType); in getTexSubImageExternalFormatAndType()
1315 GrColorType memoryColorType, GrGLenum* externalFormat, in getReadPixelsFormat() argument
1318 kReadPixels_ExternalFormatUsage, externalFormat, externalType); in getReadPixelsFormat()
1323 GrGLenum* externalFormat, GrGLenum* externalType) const { in getExternalFormat() argument
1324 SkASSERT(externalFormat && externalType); in getExternalFormat()
[all …]
DGrGLGpu.h493 GrGLenum externalFormat,
/third_party/vulkan-headers/include/vulkan/
Dvulkan_android.h66 uint64_t externalFormat; member
90 uint64_t externalFormat; member
97 uint64_t externalFormat; member
Dvulkan_ohos.h121 uint64_t externalFormat; member
145 uint64_t externalFormat; member
/third_party/mesa3d/include/vulkan/
Dvulkan_android.h66 uint64_t externalFormat; member
90 uint64_t externalFormat; member
97 uint64_t externalFormat; member
/third_party/vk-gl-cts/external/vulkan-docs/src/include/vulkan/
Dvulkan_android.h66 uint64_t externalFormat; member
90 uint64_t externalFormat; member
97 uint64_t externalFormat; member
/third_party/skia/third_party/externals/dawn/third_party/khronos/vulkan/
Dvulkan_android.h66 uint64_t externalFormat; member
90 uint64_t externalFormat; member
97 uint64_t externalFormat; member
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
Dvulkan_android.h66 uint64_t externalFormat; member
90 uint64_t externalFormat; member
97 uint64_t externalFormat; member
/third_party/skia/include/third_party/vulkan/vulkan/
Dvulkan_android.h66 uint64_t externalFormat; member
90 uint64_t externalFormat; member
/third_party/mesa3d/src/amd/vulkan/
Dradv_android.c488 p->externalFormat = (uint64_t)(uintptr_t)p->format; in get_ahb_buffer_format_properties()
564 p->externalFormat = (uint64_t)(uintptr_t)p->format; in get_ahb_buffer_format_properties2()
690 if (android_format && android_format->externalFormat) { in radv_select_android_external_format()
691 return (VkFormat)android_format->externalFormat; in radv_select_android_external_format()
/third_party/mesa3d/src/intel/vulkan/
Danv_android.c206 p->externalFormat = (uint64_t) (uintptr_t) anv_format; in get_ahw_buffer_format_properties2()
275 format_prop->externalFormat = format_prop2.externalFormat; in anv_GetAndroidHardwareBufferPropertiesANDROID()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_image.c164 ((const VkExternalFormatANDROID *)src)->externalFormat; in vn_image_deferred_info_init()
697 if (ext_info && ext_info->externalFormat) { in vn_CreateSamplerYcbcrConversion()
702 vn_android_drm_format_to_vk_format(ext_info->externalFormat); in vn_CreateSamplerYcbcrConversion()
Dvn_android.c973 .externalFormat = buf_props.drm_fourcc, in vn_android_get_ahb_format_properties()
1116 if (ext_info && ext_info->externalFormat) { in vn_android_image_from_ahb()
1125 vn_android_drm_format_to_vk_format(ext_info->externalFormat); in vn_android_image_from_ahb()
/third_party/mesa3d/src/vulkan/runtime/
Dvk_image.c116 if (ext_format && ext_format->externalFormat != 0) { in vk_image_init()
120 image->android_external_format = ext_format->externalFormat; in vk_image_init()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkDeviceMemoryExternalAndroid.cpp394 pFormat->externalFormat = ahbDesc.format; in GetAndroidHardwareBufferFormatProperties()
DVkImage.cpp141 if(externalFormatAndroid->externalFormat == 0) in GetImageFormat()
146 …t = AHardwareBufferExternalMemory::GetVkFormatFromAHBFormat(externalFormatAndroid->externalFormat); in GetImageFormat()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DProgramExecutableVk.cpp742 uint64_t externalFormat = textureVk->getImage().getExternalFormat(); in addTextureDescriptorSetDesc() local
747 if (externalFormat != 0) in addTextureDescriptorSetDesc()
750 contextVk, externalFormat, &formatDescriptorCount); in addTextureDescriptorSetDesc()
Dvk_cache_utils.cpp3191 uint64_t externalFormat, in update() argument
3200 ASSERT(externalFormat != 0 || vkFormat.getIntendedFormat().isYUV); in update()
3202 SetBitField(mIsExternalFormat, (externalFormat) ? 1 : 0); in update()
3203 mExternalOrVkFormat = (externalFormat) in update()
3204 ? externalFormat in update()
/third_party/vk-gl-cts/build/external/vulkancts/framework/vulkan/
DvkStructTypes.inl5666 uint64_t externalFormat; member
5693 uint64_t externalFormat; member
5977 uint64_t externalFormat; member
6004 uint64_t externalFormat; member
6012 uint64_t externalFormat; member

12