/kernel/linux/linux-5.10/drivers/video/fbdev/core/ |
H A D | fbcvt.c | 192 u32 aspect = -1; in fb_cvt_aspect_ratio() local 195 aspect = 0; in fb_cvt_aspect_ratio() 197 aspect = 1; in fb_cvt_aspect_ratio() 199 aspect = 2; in fb_cvt_aspect_ratio() 201 aspect = 3; in fb_cvt_aspect_ratio() 203 aspect = 4; in fb_cvt_aspect_ratio() 207 aspect = 7; in fb_cvt_aspect_ratio() 211 return aspect; in fb_cvt_aspect_ratio()
|
/kernel/linux/linux-6.6/drivers/video/fbdev/core/ |
H A D | fbcvt.c | 192 u32 aspect = -1; in fb_cvt_aspect_ratio() local 195 aspect = 0; in fb_cvt_aspect_ratio() 197 aspect = 1; in fb_cvt_aspect_ratio() 199 aspect = 2; in fb_cvt_aspect_ratio() 201 aspect = 3; in fb_cvt_aspect_ratio() 203 aspect = 4; in fb_cvt_aspect_ratio() 207 aspect = 7; in fb_cvt_aspect_ratio() 211 return aspect; in fb_cvt_aspect_ratio()
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtc/ |
H A D | matrix_transform.hpp | 226 /// @param aspect Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height). 234 T aspect, 241 /// @param aspect Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height). 249 T aspect, 256 /// @param aspect Specifies the aspect rati [all...] |
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_blorp.c | 204 VkImageAspectFlags aspect, in get_blorp_surf_for_anv_image() 210 const uint32_t plane = anv_image_aspect_to_plane(image, aspect); in get_blorp_surf_for_anv_image() 215 aspect, usage, layout); in get_blorp_surf_for_anv_image() 257 if (aspect & VK_IMAGE_ASPECT_ANY_COLOR_BIT_ANV) { in get_blorp_surf_for_anv_image() 259 anv_image_get_clear_color_addr(device, image, aspect); in get_blorp_surf_for_anv_image() 261 } else if (aspect & VK_IMAGE_ASPECT_DEPTH_BIT) { in get_blorp_surf_for_anv_image() 263 anv_image_get_clear_color_addr(device, image, aspect); in get_blorp_surf_for_anv_image() 275 VkImageAspectFlags aspect, in get_blorp_surf_for_anv_shadow_image() 279 const uint32_t plane = anv_image_aspect_to_plane(image, aspect); in get_blorp_surf_for_anv_shadow_image() 484 const VkImageAspectFlags aspect in copy_buffer_to_image() local 202 get_blorp_surf_for_anv_image(const struct anv_device *device, const struct anv_image *image, VkImageAspectFlags aspect, VkImageUsageFlags usage, VkImageLayout layout, enum isl_aux_usage aux_usage, struct blorp_surf *blorp_surf) get_blorp_surf_for_anv_image() argument 273 get_blorp_surf_for_anv_shadow_image(const struct anv_device *device, const struct anv_image *image, VkImageAspectFlags aspect, struct blorp_surf *blorp_surf) get_blorp_surf_for_anv_shadow_image() argument 1363 anv_image_msaa_resolve(struct anv_cmd_buffer *cmd_buffer, const struct anv_image *src_image, enum isl_aux_usage src_aux_usage, uint32_t src_level, uint32_t src_base_layer, const struct anv_image *dst_image, enum isl_aux_usage dst_aux_usage, uint32_t dst_level, uint32_t dst_base_layer, VkImageAspectFlagBits aspect, uint32_t src_x, uint32_t src_y, uint32_t dst_x, uint32_t dst_y, uint32_t width, uint32_t height, uint32_t layer_count, enum blorp_filter filter) anv_image_msaa_resolve() argument 1494 anv_image_copy_to_shadow(struct anv_cmd_buffer *cmd_buffer, const struct anv_image *image, VkImageAspectFlagBits aspect, uint32_t base_level, uint32_t level_count, uint32_t base_layer, uint32_t layer_count) anv_image_copy_to_shadow() argument 1551 anv_image_clear_color(struct anv_cmd_buffer *cmd_buffer, const struct anv_image *image, VkImageAspectFlagBits aspect, enum isl_aux_usage aux_usage, enum isl_format format, struct isl_swizzle swizzle, uint32_t level, uint32_t base_layer, uint32_t layer_count, VkRect2D area, union isl_color_value clear_color) anv_image_clear_color() argument 1669 anv_image_hiz_op(struct anv_cmd_buffer *cmd_buffer, const struct anv_image *image, VkImageAspectFlagBits aspect, uint32_t level, uint32_t base_layer, uint32_t layer_count, enum isl_aux_op hiz_op) anv_image_hiz_op() argument 1806 anv_image_mcs_op(struct anv_cmd_buffer *cmd_buffer, const struct anv_image *image, enum isl_format format, struct isl_swizzle swizzle, VkImageAspectFlagBits aspect, uint32_t base_layer, uint32_t layer_count, enum isl_aux_op mcs_op, union isl_color_value *clear_value, bool predicate) anv_image_mcs_op() argument 1896 anv_image_ccs_op(struct anv_cmd_buffer *cmd_buffer, const struct anv_image *image, enum isl_format format, struct isl_swizzle swizzle, VkImageAspectFlagBits aspect, uint32_t level, uint32_t base_layer, uint32_t layer_count, enum isl_aux_op ccs_op, union isl_color_value *clear_value, bool predicate) anv_image_ccs_op() argument [all...] |
H A D | anv_image.c | 60 image_aspect_to_binding(struct anv_image *image, VkImageAspectFlags aspect) in image_aspect_to_binding() argument 68 assert(aspect >= VK_IMAGE_ASPECT_MEMORY_PLANE_0_BIT_EXT && in image_aspect_to_binding() 69 aspect <= VK_IMAGE_ASPECT_MEMORY_PLANE_3_BIT_EXT); in image_aspect_to_binding() 76 plane = aspect - VK_IMAGE_ASPECT_MEMORY_PLANE_0_BIT_EXT; in image_aspect_to_binding() 78 plane = anv_image_aspect_to_plane(image, aspect); in image_aspect_to_binding() 206 VkImageAspectFlagBits aspect) in choose_isl_surf_usage() 229 switch (aspect) { in choose_isl_surf_usage() 251 aspect == VK_IMAGE_ASPECT_COLOR_BIT) { in choose_isl_surf_usage() 362 plane_format.aspect == VK_IMAGE_ASPECT_STENCIL_BIT && in anv_image_plane_needs_shadow_surface() 710 VkImageAspectFlags aspect in add_aux_surface_if_supported() local 203 choose_isl_surf_usage(VkImageCreateFlags vk_create_flags, VkImageUsageFlags vk_usage, isl_surf_usage_flags_t isl_extra_usage, VkImageAspectFlagBits aspect) choose_isl_surf_usage() argument 1212 VkImageAspectFlagBits aspect = 1 << b; add_all_surfaces_implicit_layout() local 1330 const VkImageAspectFlagBits aspect = 1 << b; add_all_surfaces_explicit_layout() local 2095 anv_layout_to_aux_state(const struct intel_device_info * const devinfo, const struct anv_image * const image, const VkImageAspectFlagBits aspect, const VkImageLayout layout) anv_layout_to_aux_state() argument 2299 anv_layout_to_aux_usage(const struct intel_device_info * const devinfo, const struct anv_image * const image, const VkImageAspectFlagBits aspect, const VkImageUsageFlagBits usage, const VkImageLayout layout) anv_layout_to_aux_usage() argument 2366 anv_layout_to_fast_clear_type(const struct intel_device_info * const devinfo, const struct anv_image * const image, const VkImageAspectFlagBits aspect, const VkImageLayout layout) anv_layout_to_fast_clear_type() argument 2465 anv_image_fill_surface_state(struct anv_device *device, const struct anv_image *image, VkImageAspectFlagBits aspect, const struct isl_view *view_in, isl_surf_usage_flags_t view_usage, enum isl_aux_usage aux_usage, const union isl_color_value *clear_color, enum anv_image_view_state_flags flags, struct anv_surface_state *state_inout, struct brw_image_param *image_param_out) anv_image_fill_surface_state() argument [all...] |
H A D | anv_private.h | 3337 /* What aspect is associated to this plane */ 3338 VkImageAspectFlags aspect; member 3373 * Return the aspect's plane relative to all_aspects. For an image, for 3380 VkImageAspectFlagBits aspect) in anv_aspect_to_plane() 3383 assert(util_bitcount(aspect) == 1); in anv_aspect_to_plane() 3384 assert(!(aspect & ~all_aspects)); in anv_aspect_to_plane() 3386 /* Because we always put image and view planes in aspect-bit-order, the in anv_aspect_to_plane() 3387 * plane index is the number of bits in all_aspects before aspect. in anv_aspect_to_plane() 3389 return util_bitcount(all_aspects & (aspect - 1)); in anv_aspect_to_plane() 3414 VkImageAspectFlagBits aspect, VkImageTilin 3379 anv_aspect_to_plane(VkImageAspectFlags all_aspects, VkImageAspectFlagBits aspect) anv_aspect_to_plane() argument 3417 anv_get_isl_format(const struct intel_device_info *devinfo, VkFormat vk_format, VkImageAspectFlags aspect, VkImageTiling tiling) anv_get_isl_format() argument 3641 anv_image_aspect_to_plane(const struct anv_image *image, VkImageAspectFlagBits aspect) anv_image_aspect_to_plane() argument 3649 anv_image_aux_levels(const struct anv_image * const image, VkImageAspectFlagBits aspect) anv_image_aux_levels() argument 3661 anv_image_aux_layers(const struct anv_image * const image, VkImageAspectFlagBits aspect, const uint8_t miplevel) anv_image_aux_layers() argument 3694 anv_image_get_clear_color_addr(UNUSED const struct anv_device *device, const struct anv_image *image, VkImageAspectFlagBits aspect) anv_image_get_clear_color_addr() argument 3709 anv_image_get_fast_clear_type_addr(const struct anv_device *device, const struct anv_image *image, VkImageAspectFlagBits aspect) anv_image_get_fast_clear_type_addr() argument 3723 anv_image_get_compression_state_addr(const struct anv_device *device, const struct anv_image *image, VkImageAspectFlagBits aspect, uint32_t level, uint32_t array_layer) anv_image_get_compression_state_addr() argument [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | CommandValidation.cpp | 274 DAWN_TRY(ValidateTextureAspect(textureCopy.aspect)); in ValidateImageCopyTexture() 276 SelectFormatAspects(texture->GetFormat(), textureCopy.aspect) == Aspect::None, in ValidateImageCopyTexture() 277 "%s format (%s) does not have the selected aspect (%s).", texture, in ValidateImageCopyTexture() 278 texture->GetFormat().format, textureCopy.aspect); in ValidateImageCopyTexture() 329 const TexelBlockInfo& blockInfo = format.GetAspectInfo(textureCopy.aspect).block; in ValidateTextureCopyRange() 355 // Always returns a single aspect (color, stencil, depth, or ith plane for multi-planar 359 switch (view.aspect) { in SingleAspectUsedByImageCopyTexture() 363 "More than a single aspect (%s) is selected for multi-planar format (%s) in " in SingleAspectUsedByImageCopyTexture() 365 view.aspect, format.format, view.texture); in SingleAspectUsedByImageCopyTexture() 386 DAWN_INVALID_IF(aspectUsed == Aspect::Depth, "Cannot copy into the depth aspect o in ValidateLinearToDepthStencilCopyRestrictions() [all...] |
H A D | Texture.cpp | 37 if (descriptor->aspect != wgpu::TextureAspect::All && in ValidateTextureViewFormatCompatibility() 38 texture->GetFormat().GetAspectInfo(descriptor->aspect).format == in ValidateTextureViewFormatCompatibility() 347 DAWN_TRY(ValidateTextureAspect(descriptor->aspect)); in ValidateTextureViewDescriptor() 349 SelectFormatAspects(texture->GetFormat(), descriptor->aspect) == Aspect::None, in ValidateTextureViewDescriptor() 350 "Texture format (%s) does not have the texture view's selected aspect (%s).", in ValidateTextureViewDescriptor() 351 texture->GetFormat().format, descriptor->aspect); in ValidateTextureViewDescriptor() 406 // TODO(dawn:682): Use GetAspectInfo(aspect). in GetTextureViewDescriptorWithDefaults() 567 Aspect aspect) const { in GetSubresourceIndex() 568 ASSERT(HasOneBit(aspect)); in GetSubresourceIndex() 570 GetNumMipLevels() * (arraySlice + GetArrayLayers() * GetAspectIndex(aspect)); in GetSubresourceIndex() [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
H A D | TextureViewValidationTests.cpp | 609 viewDescriptor.aspect = wgpu::TextureAspect::All; in TEST_F() 612 viewDescriptor.aspect = wgpu::TextureAspect::DepthOnly; in TEST_F() 615 viewDescriptor.aspect = wgpu::TextureAspect::StencilOnly; in TEST_F() 625 viewDescriptor.aspect = wgpu::TextureAspect::All; in TEST_F() 628 viewDescriptor.aspect = wgpu::TextureAspect::DepthOnly; in TEST_F() 631 viewDescriptor.aspect = wgpu::TextureAspect::StencilOnly; in TEST_F() 641 viewDescriptor.aspect = wgpu::TextureAspect::All; in TEST_F() 644 viewDescriptor.aspect = wgpu::TextureAspect::DepthOnly; in TEST_F() 647 viewDescriptor.aspect = wgpu::TextureAspect::StencilOnly; in TEST_F() 669 viewDescriptor.aspect in TEST_F() [all...] |
/third_party/vk-gl-cts/external/amber/src/src/vulkan/ |
H A D | transfer_image.h | 34 VkImageAspectFlags aspect, 62 Result CreateVkImageView(VkImageAspectFlags aspect); 68 VkBufferImageCopy CreateBufferImageCopy(VkImageAspectFlags aspect,
|
H A D | frame_buffer.cc | 86 VkImageAspectFlags aspect = 0; in Initialize() local 88 aspect |= VK_IMAGE_ASPECT_DEPTH_BIT; in Initialize() 90 aspect |= VK_IMAGE_ASPECT_STENCIL_BIT; in Initialize() 91 assert(aspect != 0); in Initialize() 98 device_, *depth_stencil_attachment_.buffer->GetFormat(), aspect, in Initialize()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
H A D | QueueGL.cpp | 59 DAWN_INVALID_IF(destination.aspect == wgpu::TextureAspect::StencilOnly, in WriteTextureImpl() 66 textureCopy.aspect = in WriteTextureImpl() 67 SelectFormatAspects(destination.texture->GetFormat(), destination.aspect); in WriteTextureImpl()
|
H A D | TextureGL.cpp | 106 textureViewDescriptor->aspect == wgpu::TextureAspect::StencilOnly) { in RequiresCreatingNewTextureView() 109 // GL_DEPTH_STENCIL_TEXTURE_MODE. Choose the stencil aspect for the in RequiresCreatingNewTextureView() 270 for (Aspect aspect : IterateEnumMask(range.aspects)) { in ClearTexture() 274 aspect))) { in ClearTexture() 278 aspectsToClear |= aspect; in ClearTexture() 293 for (Aspect aspect : IterateEnumMask(range.aspects)) { in ClearTexture() 297 aspect))) { in ClearTexture() 301 aspectsToClear |= aspect; in ClearTexture() 491 textureCopy.aspect = Aspect::Color; in ClearTexture()
|
/drivers/hdf_core/framework/support/platform/include/hdmi/ |
H A D | hdmi_common.h | 265 enum HdmiPictureAspectRatio aspect; member 285 enum HdmiPictureAspectRatio aspect; member 353 enum HdmiPictureAspectRatio aspect, bool enable3d); 355 enum HdmiPictureAspectRatio aspect, bool enable3d); 357 enum HdmiVideoTiming HdmiCommonGetVideoTiming(enum HdmiVic vic, enum HdmiPictureAspectRatio aspect);
|
/third_party/mesa3d/src/microsoft/vulkan/ |
H A D | dzn_cmd_buffer.c | 160 dzn_foreach_aspect(aspect, range->aspectMask) { in dzn_cmd_buffer_queue_image_range_state_transition() 164 uint32_t subres = dzn_image_range_get_subresource_index(image, range, aspect, 0, layer); in dzn_cmd_buffer_queue_image_range_state_transition() 209 dzn_foreach_aspect(aspect, range->aspectMask) { in dzn_cmd_buffer_queue_image_range_layout_transition() 211 dzn_image_layout_to_state(image, new_layout, aspect); in dzn_cmd_buffer_queue_image_range_layout_transition() 216 dzn_image_layout_to_state(image, old_layout, aspect); in dzn_cmd_buffer_queue_image_range_layout_transition() 221 uint32_t subres = dzn_image_range_get_subresource_index(image, range, aspect, 0, layer); in dzn_cmd_buffer_queue_image_range_layout_transition() 1184 dzn_foreach_aspect(aspect, range->aspectMask) { in dzn_cmd_buffer_clear_rects_with_copy() 1186 .aspectMask = (VkImageAspectFlags)aspect, in dzn_cmd_buffer_clear_rects_with_copy() 1194 dzn_image_get_copy_loc(image, &subres, aspect, layer); in dzn_cmd_buffer_clear_rects_with_copy() 1320 dzn_foreach_aspect(aspect, range in dzn_cmd_buffer_clear_ranges_with_copy() 1578 dzn_cmd_buffer_copy_buf2img_region(struct dzn_cmd_buffer *cmdbuf, const VkCopyBufferToImageInfo2 *info, uint32_t r, VkImageAspectFlagBits aspect, uint32_t l) dzn_cmd_buffer_copy_buf2img_region() argument 1657 dzn_cmd_buffer_copy_img2buf_region(struct dzn_cmd_buffer *cmdbuf, const VkCopyImageToBufferInfo2 *info, uint32_t r, VkImageAspectFlagBits aspect, uint32_t l) dzn_cmd_buffer_copy_img2buf_region() argument 1734 dzn_cmd_buffer_copy_img_chunk(struct dzn_cmd_buffer *cmdbuf, const VkCopyImageInfo2 *info, D3D12_RESOURCE_DESC *tmp_desc, D3D12_TEXTURE_COPY_LOCATION *tmp_loc, uint32_t r, VkImageAspectFlagBits aspect, uint32_t l) dzn_cmd_buffer_copy_img_chunk() argument 1874 dzn_cmd_buffer_blit_prepare_src_view(struct dzn_cmd_buffer *cmdbuf, VkImage image, VkImageAspectFlagBits aspect, const VkImageSubresourceLayers *subres, struct dzn_descriptor_heap *heap, uint32_t heap_slot) dzn_cmd_buffer_blit_prepare_src_view() argument 1935 dzn_cmd_buffer_blit_prepare_dst_view(struct dzn_cmd_buffer *cmdbuf, struct dzn_image *img, VkImageAspectFlagBits aspect, uint32_t level, uint32_t layer) dzn_cmd_buffer_blit_prepare_dst_view() argument 1961 dzn_cmd_buffer_blit_set_pipeline(struct dzn_cmd_buffer *cmdbuf, const struct dzn_image *src, const struct dzn_image *dst, VkImageAspectFlagBits aspect, VkFilter filter, bool resolve) dzn_cmd_buffer_blit_set_pipeline() argument 2064 dzn_cmd_buffer_blit_issue_barriers(struct dzn_cmd_buffer *cmdbuf, struct dzn_image *src, VkImageLayout src_layout, const VkImageSubresourceLayers *src_subres, struct dzn_image *dst, VkImageLayout dst_layout, const VkImageSubresourceLayers *dst_subres, VkImageAspectFlagBits aspect, bool post) dzn_cmd_buffer_blit_issue_barriers() argument 3109 VkImageAspectFlags aspect = 0; dzn_CmdCopyImage2() local 3414 dzn_cmd_buffer_resolve_rendering_attachment(struct dzn_cmd_buffer *cmdbuf, const struct dzn_rendering_attachment *att, VkImageAspectFlagBits aspect) dzn_cmd_buffer_resolve_rendering_attachment() argument 3481 dzn_rendering_attachment_initial_transition(struct dzn_cmd_buffer *cmdbuf, const VkRenderingAttachmentInfo *att, VkImageAspectFlagBits aspect) dzn_rendering_attachment_initial_transition() argument [all...] |
H A D | dzn_private.h | 884 VkImageAspectFlagBits aspect); 896 dzn_image_get_plane_format(VkFormat fmt, VkImageAspectFlags aspect); 899 dzn_image_get_placed_footprint_format(VkFormat fmt, VkImageAspectFlags aspect); 914 VkImageAspectFlagBits aspect); 919 VkImageAspectFlagBits aspect, 924 VkImageAspectFlagBits aspect, 930 VkImageAspectFlagBits aspect, 967 VkImageAspectFlagBits aspect, 1012 #define dzn_foreach_aspect(aspect, mask) \ 1013 for (VkImageAspectFlagBits aspect [all...] |
/third_party/skia/tools/viewer/ |
H A D | ImGuiLayer.h | 23 float aspect = -1.0f) 32 // Determine aspect ratio automatically by default 33 if (aspect < 0) { 34 aspect = h / w; 39 fSize = ImVec2(availWidth, availWidth * aspect);
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/dexcr/ |
H A D | dexcr.h | 16 #define DEXCR_PR_BIT(aspect) __MASK(63 - (32 + (aspect)))
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/ |
H A D | scene_util.cpp | 73 auto aspect = 1.f; in CalculateProjectionMatrix() local 74 if (cameraComponent.aspect > 0.f) { in CalculateProjectionMatrix() 75 aspect = cameraComponent.aspect; in CalculateProjectionMatrix() 77 aspect = static_cast<float>(cameraComponent.renderResolution.x) / in CalculateProjectionMatrix() 81 Math::PerspectiveRhZo(cameraComponent.yFov, aspect, cameraComponent.zNear, cameraComponent.zFar); in CalculateProjectionMatrix() 86 auto aspect = 1.f; in CalculateProjectionMatrix() local 87 if (cameraComponent.aspect > 0.f) { in CalculateProjectionMatrix() 88 aspect = cameraComponent.aspect; in CalculateProjectionMatrix() [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
H A D | TextureD3D12.cpp | 698 DXGI_FORMAT Texture::GetD3D12CopyableSubresourceFormat(Aspect aspect) const { in GetD3D12CopyableSubresourceFormat() 699 ASSERT(GetFormat().aspects & aspect); in GetD3D12CopyableSubresourceFormat() local 703 switch (aspect) { in GetD3D12CopyableSubresourceFormat() 747 for (Aspect aspect : IterateEnumMask(range.aspects)) { in TrackUsageAndTransitionNow() 749 DAWN_UNUSED(aspect); in TrackUsageAndTransitionNow() 836 for (Aspect aspect : IterateEnumMask(range.aspects)) { in TransitionSubresourceRange() 841 range.baseArrayLayer + arrayLayer, aspect); in TransitionSubresourceRange() 1009 for (Aspect aspect : IterateEnumMask(range.aspects)) { in ClearTexture() 1012 SubresourceRange::SingleMipAndLayer(level, layer, aspect))) { in ClearTexture() 1017 switch (aspect) { in ClearTexture() [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/ |
H A D | UtilsMetal.h | 66 Aspect aspect); 73 MTLBlitOption ComputeMTLBlitOption(const Format& format, Aspect aspect);
|
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/ |
H A D | GPUTexture.cpp | 46 !conv(desc.aspect, descriptor.aspect)) { in createView()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dvx_meta_common.c | 257 VkImageAspectFlags aspect, in choose_tlb_format() 271 /* When storing the stencil aspect of a combined depth/stencil image in choose_tlb_format() 278 * When loading the stencil aspect of a combined depth/stencil image in choose_tlb_format() 286 * the depth aspect from the Z tile buffer, which we should pre-load in choose_tlb_format() 289 if (aspect & VK_IMAGE_ASPECT_DEPTH_BIT) { in choose_tlb_format() 292 assert(aspect & VK_IMAGE_ASPECT_STENCIL_BIT); in choose_tlb_format() 332 VkImageAspectFlags aspect, in emit_image_load() 345 aspect == VK_IMAGE_ASPECT_COLOR_BIT; in emit_image_load() 350 RENDER_TARGET_0 : v3dX(zs_buffer_from_aspect_bits)(aspect); in emit_image_load() 354 load.input_image_format = choose_tlb_format(framebuffer, aspect, fals in emit_image_load() 256 choose_tlb_format(struct v3dv_meta_framebuffer *framebuffer, VkImageAspectFlags aspect, bool for_store, bool is_copy_to_buffer, bool is_copy_from_buffer) choose_tlb_format() argument 328 emit_image_load(struct v3dv_device *device, struct v3dv_cl *cl, struct v3dv_meta_framebuffer *framebuffer, struct v3dv_image *image, VkImageAspectFlags aspect, uint32_t layer, uint32_t mip_level, bool is_copy_to_buffer, bool is_copy_from_buffer) emit_image_load() argument 412 emit_image_store(struct v3dv_device *device, struct v3dv_cl *cl, struct v3dv_meta_framebuffer *framebuffer, struct v3dv_image *image, VkImageAspectFlags aspect, uint32_t layer, uint32_t mip_level, bool is_copy_to_buffer, bool is_copy_from_buffer, bool is_multisample_resolve) emit_image_store() argument [all...] |
/foundation/multimedia/image_effect/frameworks/native/render_environment/base/math/ |
H A D | math_utils.h | 55 static Mat4x4 Perspective(float fov, float aspect, float nearV, float farV)
in Perspective() argument 57 return glm::perspective(fov, aspect, nearV, farV);
in Perspective()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
H A D | VkDeviceMemoryExternalAndroid.hpp | 68 int externalImageRowPitchBytes(VkImageAspectFlagBits aspect) const override final; 69 VkDeviceSize externalImageMemoryOffset(VkImageAspectFlagBits aspect) const override final;
|