Home
last modified time | relevance | path

Searched refs:VkFormat (Results 1 – 25 of 143) sorted by relevance

123456

/hardware/google/gfxstream/guest/mesa/src/vulkan/util/
Dvk_format.h39 vk_format_to_pipe_format(enum VkFormat vkformat);
42 vk_format_aspects(VkFormat format);
45 vk_format_is_color(VkFormat format) in vk_format_is_color()
51 vk_format_is_depth_or_stencil(VkFormat format) in vk_format_is_depth_or_stencil()
58 vk_format_has_depth(VkFormat format) in vk_format_has_depth()
65 vk_format_has_stencil(VkFormat format) in vk_format_has_stencil()
71 static inline VkFormat
72 vk_format_depth_only(VkFormat format) in vk_format_depth_only()
87 static inline VkFormat
88 vk_format_stencil_only(VkFormat format) in vk_format_stencil_only()
[all …]
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_android.h36 VkFormat vk_ahb_format_to_image_format(uint32_t ahb_format);
38 uint32_t vk_image_format_to_ahb_format(VkFormat vk_format);
48 static inline VkFormat
55 vk_image_format_to_ahb_format(VkFormat vk_format)
Dvk_meta.h135 VkFormat color_attachment_formats[MESA_VK_MAX_COLOR_ATTACHMENTS];
136 VkFormat depth_attachment_format;
137 VkFormat stencil_attachment_format;
245 VkFormat format,
261 VkFormat src_format,
264 VkFormat dst_format,
277 VkFormat src_format,
280 VkFormat dst_format,
Dvk_sampler.h44 VkFormat *format_out);
54 VkFormat format;
Dvk_image.h44 VkFormat format;
107 VkFormat **formats,
110 void vk_image_set_format(struct vk_image *image, VkFormat format);
231 VkFormat format;
260 VkFormat view_format;
Dvk_image.c105 vk_image_set_format(image, (VkFormat)ext_format->externalFormat); in vk_image_init()
184 vk_image_set_format(struct vk_image *image, VkFormat format) in vk_image_set_format()
304 VkFormat format = vk_format_get_aspect_format(image->format, aspect); in vk_image_buffer_copy_layout()
663 VkFormat **formats, in vk_image_create_get_format_list_uncompressed()
676 sizeof(VkFormat) * class->format_count, in vk_image_create_get_format_list_uncompressed()
677 alignof(VkFormat), VK_SYSTEM_ALLOCATION_SCOPE_COMMAND); in vk_image_create_get_format_list_uncompressed()
681 memcpy(*formats, class->formats, sizeof(VkFormat) * class->format_count); in vk_image_create_get_format_list_uncompressed()
691 VkFormat **formats, in vk_image_create_get_format_list_compressed()
721 sizeof(VkFormat) * fmt_count, in vk_image_create_get_format_list_compressed()
722 alignof(VkFormat), VK_SYSTEM_ALLOCATION_SCOPE_COMMAND); in vk_image_create_get_format_list_compressed()
[all …]
/hardware/google/gfxstream/host/vulkan/
Dvk_format_info.h39 static inline VkFormat vk_format_from_android(unsigned android_format) { in vk_format_from_android()
79 static inline VkImageAspectFlags vk_format_aspects(VkFormat format) { in vk_format_aspects()
127 static inline bool vk_format_is_color(VkFormat format) { in vk_format_is_color()
131 static inline bool vk_format_is_depth_or_stencil(VkFormat format) { in vk_format_is_depth_or_stencil()
136 static inline bool vk_format_has_depth(VkFormat format) { in vk_format_has_depth()
Dvk_android_native_buffer_gfxstream.h160 VkFormat format;
167 VkFormat format,
174 VkFormat format,
205 VkFormat format,
213 VkFormat format,
DVkFormatUtils.h169 constexpr bool isEtc2(VkFormat format) { in isEtc2()
190 constexpr bool isAstc(VkFormat format) { in isAstc()
226 constexpr bool isBc(VkFormat format) { in isBc()
250 constexpr bool formatIsUInt(VkFormat format) { in formatIsUInt()
280 constexpr bool formatIsSInt(VkFormat format) { in formatIsSInt()
309 constexpr bool formatIsDepthOrStencil(VkFormat format) { in formatIsDepthOrStencil()
324 constexpr bool formatRequiresSamplerYcbcrConversion(VkFormat format) { in formatRequiresSamplerYcbcrConversion()
371 bool getFormatTransferInfo(VkFormat format, uint32_t width, uint32_t height,
DVkFormatUtils.cpp38 const std::unordered_map<VkFormat, FormatPlaneLayouts>& getFormatPlaneLayoutsMap() { in getFormatPlaneLayoutsMap()
40 auto* map = new std::unordered_map<VkFormat, FormatPlaneLayouts>({ in getFormatPlaneLayoutsMap()
133 const FormatPlaneLayouts* getFormatPlaneLayouts(VkFormat format) { in getFormatPlaneLayouts()
143 bool getFormatTransferInfo(VkFormat format, uint32_t width, uint32_t height, in getFormatTransferInfo()
DVkAndroidNativeBuffer.h55 VkFormat vkFormat;
154 void getGralloc0Usage(VkFormat format, VkImageUsageFlags imageUsage, int* usage_out);
155 void getGralloc1Usage(VkFormat format, VkImageUsageFlags imageUsage,
/hardware/google/gfxstream/guest/vulkan_enc/
Dvk_format_info.h59 static inline VkFormat vk_format_from_fourcc(unsigned fourcc_format) { in vk_format_from_fourcc()
90 static inline unsigned android_format_from_vk(VkFormat vk_format) { in android_format_from_vk()
144 static inline VkImageAspectFlags vk_format_aspects(VkFormat format) { in vk_format_aspects()
192 static inline bool vk_format_is_color(VkFormat format) { in vk_format_is_color()
196 static inline bool vk_format_is_depth_or_stencil(VkFormat format) { in vk_format_is_depth_or_stencil()
201 static inline bool vk_format_has_depth(VkFormat format) { in vk_format_has_depth()
Dvk_android_native_buffer_gfxstream.h160 VkFormat format;
167 VkFormat format,
174 VkFormat format,
205 VkFormat format,
213 VkFormat format,
/hardware/google/gfxstream/host/vulkan/emulated_textures/
DCompressedImageInfo.h36 static VkFormat getOutputFormat(VkFormat compFmt);
40 static VkFormat getCompressedMipmapsFormat(VkFormat compFmt);
42 static bool needEmulatedAlpha(VkFormat format);
150 VkFormat mCompressedFormat = VK_FORMAT_UNDEFINED;
152 VkFormat mOutputFormat = VK_FORMAT_UNDEFINED;
155 VkFormat mCompressedMipmapsFormat = VK_FORMAT_UNDEFINED;
DGpuDecompressionPipeline.h49 VulkanDispatch* vk, VkDevice device, VkFormat compressedFormat,
68 VkFormat compressedFormat, VkImageType imageType,
78 VkFormat mCompressedFormat;
104 GpuDecompressionPipeline* get(VkFormat compressedFormat, VkImageType imageType);
118 VkPipelineLayout getPipelineLayout(VkFormat format);
DGpuDecompressionPipeline.cpp62 const ShaderGroup* getShaderGroup(VkFormat format) { in getShaderGroup()
128 const ShaderData* getDecompressionShader(VkFormat format, VkImageType imageType) { in getDecompressionShader()
160 VulkanDispatch* vk, VkDevice device, VkFormat compressedFormat, in create()
172 VkFormat compressedFormat, VkImageType imageType, in GpuDecompressionPipeline()
239 GpuDecompressionPipeline* GpuDecompressionPipelineManager::get(VkFormat compressedFormat, in get()
284 VkPipelineLayout GpuDecompressionPipelineManager::getPipelineLayout(VkFormat format) { in getPipelineLayout()
/hardware/google/gfxstream/guest/mesa/include/vulkan/
Dvk_android_native_buffer.h162 VkFormat format;
169 VkFormat format,
176 VkFormat format,
207 VkFormat format,
215 VkFormat format,
/hardware/google/gfxstream/common/vulkan/include/vulkan/
Dvk_android_native_buffer.h162 VkFormat format;
169 VkFormat format,
176 VkFormat format,
207 VkFormat format,
215 VkFormat format,
Dvulkan_android.h67 VkFormat format;
98 VkFormat format;
145 VkFormat colorAttachmentFormat;
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/reflow-tests/
Dsrc-new-vuid-attribute.adoc17 …<<formats-compatibility-classes,texel block extent width>> of the elink:VkFormat of pname:{imagepa…
19 …<formats-compatibility-classes,texel block extent height>> of the elink:VkFormat of pname:{imagepa…
21 …<<formats-compatibility-classes,texel block extent width>> of the elink:VkFormat of pname:{imagepa…
23 …<formats-compatibility-classes,texel block extent height>> of the elink:VkFormat of pname:{imagepa…
25 …<<formats-compatibility-classes,texel block extent depth>> of the elink:VkFormat of pname:{imagepa…
27 …<<formats-compatibility-classes,texel block extent width>> of the elink:VkFormat of pname:{imagepa…
30 height>> of the elink:VkFormat of pname:{imageparam}
34 depth>> of the elink:VkFormat of pname:{imageparam}
37 …* If pname:{imageparam} has a elink:VkFormat with <<formats-requiring-sampler-ycbcr-conversion,two…
40 * If pname:{imageparam} has a elink:VkFormat with
Dexpect-new-vuid-attribute-novuid.adoc23 width>> of the elink:VkFormat of pname:{imageparam}
26 height>> of the elink:VkFormat of pname:{imageparam}
29 width>> of the elink:VkFormat of pname:{imageparam}
32 height>> of the elink:VkFormat of pname:{imageparam}
35 depth>> of the elink:VkFormat of pname:{imageparam}
40 width>> of the elink:VkFormat of pname:{imageparam}
45 height>> of the elink:VkFormat of pname:{imageparam}
50 depth>> of the elink:VkFormat of pname:{imageparam}
54 * If pname:{imageparam} has a elink:VkFormat with
58 * If pname:{imageparam} has a elink:VkFormat with
Dexpect-new-vuid-attribute-noreflow-novuid.adoc17 …<<formats-compatibility-classes,texel block extent width>> of the elink:VkFormat of pname:{imagepa…
19 …<formats-compatibility-classes,texel block extent height>> of the elink:VkFormat of pname:{imagepa…
21 …<<formats-compatibility-classes,texel block extent width>> of the elink:VkFormat of pname:{imagepa…
23 …<formats-compatibility-classes,texel block extent height>> of the elink:VkFormat of pname:{imagepa…
25 …<<formats-compatibility-classes,texel block extent depth>> of the elink:VkFormat of pname:{imagepa…
27 …<<formats-compatibility-classes,texel block extent width>> of the elink:VkFormat of pname:{imagepa…
30 height>> of the elink:VkFormat of pname:{imageparam}
34 depth>> of the elink:VkFormat of pname:{imageparam}
37 …* If pname:{imageparam} has a elink:VkFormat with <<formats-requiring-sampler-ycbcr-conversion,two…
40 * If pname:{imageparam} has a elink:VkFormat with
Dexpect-new-vuid-attribute-noreflow.adoc21 …<<formats-compatibility-classes,texel block extent width>> of the elink:VkFormat of pname:{imagepa…
24 …<formats-compatibility-classes,texel block extent height>> of the elink:VkFormat of pname:{imagepa…
27 …<<formats-compatibility-classes,texel block extent width>> of the elink:VkFormat of pname:{imagepa…
30 …<formats-compatibility-classes,texel block extent height>> of the elink:VkFormat of pname:{imagepa…
33 …<<formats-compatibility-classes,texel block extent depth>> of the elink:VkFormat of pname:{imagepa…
36 …<<formats-compatibility-classes,texel block extent width>> of the elink:VkFormat of pname:{imagepa…
40 height>> of the elink:VkFormat of pname:{imageparam}
45 depth>> of the elink:VkFormat of pname:{imageparam}
50 …If pname:{imageparam} has a elink:VkFormat with <<formats-requiring-sampler-ycbcr-conversion,two p…
54 If pname:{imageparam} has a elink:VkFormat with
Dexpect-new-vuid-attribute-default.adoc27 width>> of the elink:VkFormat of pname:{imageparam}
31 height>> of the elink:VkFormat of pname:{imageparam}
35 width>> of the elink:VkFormat of pname:{imageparam}
39 height>> of the elink:VkFormat of pname:{imageparam}
43 depth>> of the elink:VkFormat of pname:{imageparam}
49 width>> of the elink:VkFormat of pname:{imageparam}
55 height>> of the elink:VkFormat of pname:{imageparam}
61 depth>> of the elink:VkFormat of pname:{imageparam}
67 If pname:{imageparam} has a elink:VkFormat with
72 If pname:{imageparam} has a elink:VkFormat with
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/commonvalidity/
Dcopy_bufferimage_to_imagebuffer_common.adoc33 width>> of the elink:VkFormat of pname:{imageparam}
37 height>> of the elink:VkFormat of pname:{imageparam}
41 depth>> of the elink:VkFormat of pname:{imageparam}
47 width>> of the elink:VkFormat of pname:{imageparam}
53 height>> of the elink:VkFormat of pname:{imageparam}
59 depth>> of the elink:VkFormat of pname:{imageparam}

123456