Home
last modified time | relevance | path

Searched refs:plane_layouts (Results 1 – 4 of 4) sorted by relevance

/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_image.c69 const VkSubresourceLayout *plane_layouts) in panvk_image_create() argument
100 const VkSubresourceLayout **plane_layouts) in panvk_image_select_mod() argument
108 *plane_layouts = NULL; in panvk_image_select_mod()
138 *plane_layouts = drm_explicit_info->pPlaneLayouts; in panvk_image_select_mod()
197 const VkSubresourceLayout *plane_layouts; in panvk_CreateImage() local
198 uint64_t modifier = panvk_image_select_mod(device, pCreateInfo, &plane_layouts); in panvk_CreateImage()
200 return panvk_image_create(device, pCreateInfo, pAllocator, pImage, modifier, plane_layouts); in panvk_CreateImage()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_image.c344 const VkSubresourceLayout *plane_layouts) in tu_image_init() argument
479 if (plane_layouts) { in tu_image_init()
486 plane_layout.offset = plane_layouts[i].offset; in tu_image_init()
487 plane_layout.pitch = plane_layouts[i].rowPitch; in tu_image_init()
501 plane_layouts ? &plane_layout : NULL)) { in tu_image_init()
502 assert(plane_layouts); /* can only fail with explicit layout */ in tu_image_init()
512 if (!plane_layouts && i > 0) { in tu_image_init()
593 const VkSubresourceLayout *plane_layouts = NULL; in tu_CreateImage() local
622 plane_layouts = drm_explicit_info->pPlaneLayouts; in tu_CreateImage()
643 plane_layouts); in tu_CreateImage()
/third_party/mesa3d/src/egl/drivers/dri2/
Dplatform_android_mapper.cpp82 std::vector<PlaneLayout> plane_layouts; in GetPlaneLayouts() local
84 auto status = android::gralloc4::decodePlaneLayouts(encoded_layouts, &plane_layouts); in GetPlaneLayouts()
89 return plane_layouts; in GetPlaneLayouts()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_resource.c689 VkSubresourceLayout plane_layouts[4]; in resource_object_create() local
716 plane_layouts[0] = plane_layout; in resource_object_create()
720 obj->plane_offsets[i] = plane_layouts[i].offset = next->obj->plane_offsets[i]; in resource_object_create()
721 obj->plane_strides[i] = plane_layouts[i].rowPitch = next->obj->plane_strides[i]; in resource_object_create()
722 plane_layouts[i].size = 0; in resource_object_create()
723 plane_layouts[i].arrayPitch = 0; in resource_object_create()
724 plane_layouts[i].depthPitch = 0; in resource_object_create()
726 idfmeci.pPlaneLayouts = plane_layouts; in resource_object_create()