Home
last modified time | relevance | path

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

12

/external/angle/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()
/external/skqp/src/gpu/vk/
DGrVkSamplerYcbcrConversion.cpp40 VkExternalFormatANDROID externalFormat; in Create() local
41 externalFormat.sType = VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_ANDROID; in Create()
42 externalFormat.pNext = nullptr; in Create()
43 externalFormat.externalFormat = info.fExternalFormat; in Create()
48 ycbcrCreateInfo.pNext = &externalFormat; in Create()
DGrVkSamplerYcbcrConversion.h26 Key(uint64_t externalFormat, uint8_t conversionKey) { in Key()
28 fExternalFormat = externalFormat; in Key()
/external/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()
/external/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()
/external/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()
/external/skqp/src/gpu/
DGrAHardwareBufferImageGenerator.cpp191 VkExternalFormatANDROID externalFormat; in make_vk_backend_texture() local
192 externalFormat.sType = VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_ANDROID; in make_vk_backend_texture()
193 externalFormat.pNext = nullptr; in make_vk_backend_texture()
194 externalFormat.externalFormat = 0; // If this is zero it is as if we aren't using this struct. in make_vk_backend_texture()
213 SkASSERT(hwbFormatProps.externalFormat == ycbcrConversion->fExternalFormat); in make_vk_backend_texture()
214 externalFormat.externalFormat = hwbFormatProps.externalFormat; in make_vk_backend_texture()
220 &externalFormat, // pNext in make_vk_backend_texture()
520 ycbcrConversion.fExternalFormat = hwbFormatProps.externalFormat; in get_backend_format()
/external/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,
466 GrGLenum* externalFormat, GrGLenum* externalType) const;
608 GrGLenum externalFormat(GrColorType externalColorType, ExternalFormatUsage usage, in externalFormat() function
650 GrGLenum externalFormat(GrColorType surfaceColorType, GrColorType externalColorType, in externalFormat() function
654 return fColorTypeInfos[i].externalFormat(externalColorType, usage, in externalFormat()
DGrGLGpu.cpp954 GrGLenum externalFormat = 0; in onTransferPixelsTo() local
957 textureFormat, textureColorType, bufferColorType, &externalFormat, &externalType); in onTransferPixelsTo()
958 if (!externalFormat || !externalType) { in onTransferPixelsTo()
968 externalFormat, externalType, in onTransferPixelsTo()
1024 GrGLenum externalFormat; in uploadTexData() local
1027 textureFormat, textureColorType, srcColorType, &externalFormat, &externalType); in uploadTexData()
1028 if (!externalFormat || !externalType) { in uploadTexData()
1067 externalFormat, externalType, texels[currentMipLevel].fPixels)); in uploadTexData()
1363 GrGLenum externalFormat, externalType; in onCreateTexture() local
1365 this->glCaps().getTexSubImageDefaultFormatTypeAndColorType(texDesc.fFormat, &externalFormat, in onCreateTexture()
[all …]
/external/skqp/tools/gpu/atlastext/
DGLTestAtlasTextRenderer.cpp251 GrGLenum* internalFormat, GrGLenum* externalFormat, in atlas_format_to_gl_types() argument
256 *externalFormat = GR_GL_RED; in atlas_format_to_gl_types()
273 GrGLenum externalFormat; in createTexture() local
275 if (!atlas_format_to_gl_types(format, &internalFormat, &externalFormat, &type)) { in createTexture()
287 callgl(TexImage2D, GR_GL_TEXTURE_2D, 0, internalFormat, width, height, 0, externalFormat, type, in createTexture()
317 GrGLenum externalFormat; in setTextureData() local
319 if (!atlas_format_to_gl_types(atlasTexture->fFormat, &internalFormat, &externalFormat, &type)) { in setTextureData()
330 callgl(TexSubImage2D, GR_GL_TEXTURE_2D, 0, x, y, width, height, externalFormat, type, data); in setTextureData()
/external/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()
/external/skia/include/third_party/vulkan/vulkan/
Dvulkan_android.h79 uint64_t externalFormat; member
103 uint64_t externalFormat; member
/external/mesa3d/include/vulkan/
Dvulkan_android.h66 uint64_t externalFormat; member
90 uint64_t externalFormat; member
/external/skqp/include/third_party/vulkan/vulkan/
Dvulkan_android.h79 uint64_t externalFormat; member
103 uint64_t externalFormat; member
/external/swiftshader/include/vulkan/
Dvulkan_android.h76 uint64_t externalFormat; member
100 uint64_t externalFormat; member
/external/angle/third_party/vulkan-headers/src/include/vulkan/
Dvulkan_android.h76 uint64_t externalFormat; member
100 uint64_t externalFormat; member
/external/deqp/external/vulkancts/scripts/src/
Dvulkan_android.h76 uint64_t externalFormat; member
100 uint64_t externalFormat; member
/external/vulkan-headers/include/vulkan/
Dvulkan_android.h76 uint64_t externalFormat; member
100 uint64_t externalFormat; member
/external/skqp/include/gpu/vk/
DGrVkTypes.h85 uint64_t externalFormat, in GrVkYcbcrConversionInfo()
93 , fExternalFormat(externalFormat) in GrVkYcbcrConversionInfo()
/external/skqp/src/gpu/gl/
DGrGLCaps.h146 GrGLenum* internalFormat, GrGLenum* externalFormat,
153 GrGLenum* externalFormat, GrGLenum* externalType) const;
444 ExternalFormatUsage usage, GrGLenum* externalFormat,
DGrGLGpu.cpp902 GrGLenum externalFormat; in onTransferPixels() local
906 &externalFormat, &externalType)) { in onTransferPixels()
916 externalFormat, externalType, in onTransferPixels()
948 GrGLenum externalFormat, in allocate_and_populate_texture() argument
987 externalFormat, externalType, in allocate_and_populate_texture()
1001 externalFormat, externalType, in allocate_and_populate_texture()
1022 externalFormat, externalType, in allocate_and_populate_texture()
1205 GrGLenum externalFormat; in uploadTexData() local
1207 if (!this->glCaps().getTexImageFormats(texConfig, dataConfig, &internalFormat, &externalFormat, in uploadTexData()
1321 internalFormatForTexStorage, externalFormat, externalType, in uploadTexData()
[all …]
/external/skqp/tools/gpu/gl/
DGLTestContext.h36 GrGLenum externalFormat, GrGLenum externalType,
/external/skia/tools/gpu/gl/
DGLTestContext.h36 GrGLenum externalFormat, GrGLenum externalType, GrGLvoid* data);
/external/mesa3d/src/amd/vulkan/
Dradv_android.c585 p->externalFormat = (uint64_t) (uintptr_t) p->format; in get_ahb_buffer_format_properties()
708 if (android_format && android_format->externalFormat) { in radv_select_android_external_format()
709 return (VkFormat)android_format->externalFormat; in radv_select_android_external_format()

12