Home
last modified time | relevance | path

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

12

/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/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/android/
DHardwareBufferImageSiblingVkAndroid.cpp110 VkExternalFormatANDROID externalFormat = {}; in initImpl() local
111 externalFormat.sType = VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_ANDROID; in initImpl()
112 externalFormat.externalFormat = 0; in initImpl()
116 externalFormat.externalFormat = bufferFormatProperties.externalFormat; in initImpl()
121 externalMemoryImageCreateInfo.pNext = &externalFormat; in initImpl()
/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()
DGrVkSamplerYcbcrConversion.h28 Key(VkFormat vkFormat, uint64_t externalFormat, uint8_t conversionKey) { in Key()
31 fExternalFormat = externalFormat; in Key()
/third_party/flutter/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()
DGrVkSamplerYcbcrConversion.h26 Key(VkFormat vkFormat, uint64_t externalFormat, uint8_t conversionKey) { in Key()
29 fExternalFormat = externalFormat; in Key()
/third_party/flutter/skia/src/gpu/
DGrAHardwareBufferUtils.cpp140 ycbcrConversion.fExternalFormat = hwbFormatProps.externalFormat; in GetBackendFormat()
340 VkExternalFormatANDROID externalFormat; in make_vk_backend_texture() local
341 externalFormat.sType = VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_ANDROID; in make_vk_backend_texture()
342 externalFormat.pNext = nullptr; in make_vk_backend_texture()
343 externalFormat.externalFormat = 0; // If this is zero it is as if we aren't using this struct. in make_vk_backend_texture()
362 SkASSERT(hwbFormatProps.externalFormat == ycbcrConversion->fExternalFormat); in make_vk_backend_texture()
363 externalFormat.externalFormat = hwbFormatProps.externalFormat; in make_vk_backend_texture()
369 &externalFormat, // pNext in make_vk_backend_texture()
/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/flutter/skia/include/gpu/vk/
DGrVkTypes.h80 int64_t externalFormat, in GrVkYcbcrConversionInfo()
89 , fExternalFormat(externalFormat) in GrVkYcbcrConversionInfo()
99 SkASSERT((fFormat != VK_FORMAT_UNDEFINED) ^ (externalFormat != 0)); in GrVkYcbcrConversionInfo()
108 uint64_t externalFormat, in GrVkYcbcrConversionInfo()
110 : GrVkYcbcrConversionInfo(VK_FORMAT_UNDEFINED, externalFormat, ycbcrModel, ycbcrRange, in GrVkYcbcrConversionInfo()
/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 …]
/third_party/flutter/skia/tools/gpu/atlastext/
DGLTestAtlasTextRenderer.cpp252 GrGLenum* internalFormat, GrGLenum* externalFormat, in atlas_format_to_gl_types() argument
257 *externalFormat = GR_GL_RED; in atlas_format_to_gl_types()
274 GrGLenum externalFormat; in createTexture() local
276 if (!atlas_format_to_gl_types(format, &internalFormat, &externalFormat, &type)) { in createTexture()
288 callgl(TexImage2D, GR_GL_TEXTURE_2D, 0, internalFormat, width, height, 0, externalFormat, type, in createTexture()
318 GrGLenum externalFormat; in setTextureData() local
320 if (!atlas_format_to_gl_types(atlasTexture->fFormat, &internalFormat, &externalFormat, &type)) { in setTextureData()
331 callgl(TexSubImage2D, GR_GL_TEXTURE_2D, 0, x, y, width, height, externalFormat, type, data); in setTextureData()
/third_party/mesa3d/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/swiftshader/include/vulkan/
Dvulkan_android.h66 uint64_t externalFormat; member
90 uint64_t externalFormat; member
97 uint64_t externalFormat; member
/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.h153 uint64_t externalFormat; member
177 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/flutter/skia/src/gpu/gl/
DGrGLCaps.h151 GrGLenum* externalFormat, GrGLenum* externalType) const;
154 GrColorType memoryColorType, GrGLenum* externalFormat,
443 GrGLenum* externalFormat, GrGLenum* externalType) const;
577 GrGLenum externalFormat(GrColorType externalColorType, ExternalFormatUsage usage) const { in externalFormat() function
614 GrGLenum externalFormat(GrColorType surfaceColorType, GrColorType externalColorType, in externalFormat() function
618 return fColorTypeInfos[i].externalFormat(externalColorType, usage); in externalFormat()
DGrGLGpu.cpp901 GrGLenum externalFormat = 0; in onTransferPixelsTo() local
904 &internalFormat, &externalFormat, &externalType); in onTransferPixelsTo()
905 if (!externalFormat || !externalType) { in onTransferPixelsTo()
915 externalFormat, externalType, in onTransferPixelsTo()
958 GrGLenum externalFormat, in allocate_and_populate_texture() argument
1012 externalFormat, externalType, in allocate_and_populate_texture()
1026 externalFormat, externalType, in allocate_and_populate_texture()
1067 externalFormat, externalType, in allocate_and_populate_texture()
1076 externalFormat, in allocate_and_populate_texture()
1146 GrGLenum externalFormat; in uploadTexData() local
[all …]
/third_party/flutter/skia/include/third_party/vulkan/vulkan/
Dvulkan_android.h79 uint64_t externalFormat; member
103 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/flutter/skia/third_party/externals/dawn/third_party/khronos/vulkan/
Dvulkan_android.h75 uint64_t externalFormat; member
99 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/flutter/skia/tools/gpu/gl/
DGLTestContext.h36 GrGLenum externalFormat, GrGLenum externalType, GrGLvoid* data);
/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()

12