Home
last modified time | relevance | path

Searched refs:depthPitch (Results 1 – 25 of 32) sorted by relevance

12

/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawImageObjectUtil.cpp54 vk::VkDeviceSize depthPitch = depthPitchOrZero; in pack() local
59 if (depthPitch == 0) in pack()
60 depthPitch = rowPitch * height; in pack()
62 const vk::VkDeviceSize size = depthPitch * depth; in pack()
72 depthPitch == static_cast<vk::VkDeviceSize>(rowPitch * height)) in pack()
82 vk::VkDeviceSize offsetDepthDst = d * depthPitch; in pack()
106 vk::VkDeviceSize depthPitch = depthPitchOrZero; in unpack() local
111 if (depthPitch == 0) in unpack()
112 depthPitch = rowPitch * height; in unpack()
114 const vk::VkDeviceSize size = depthPitch * depth; in unpack()
[all …]
/external/angle/src/image_util/
Dloadimage.inc18 inline T *OffsetDataPointer(uint8_t *data, size_t y, size_t z, size_t rowPitch, size_t depthPitch)
20 return reinterpret_cast<T*>(data + (y * rowPitch) + (z * depthPitch));
24 …t T *OffsetDataPointer(const uint8_t *data, size_t y, size_t z, size_t rowPitch, size_t depthPitch)
26 return reinterpret_cast<const T*>(data + (y * rowPitch) + (z * depthPitch));
Dgeneratemip.inc21 …inline T *GetPixel(uint8_t *data, size_t x, size_t y, size_t z, size_t rowPitch, size_t depthPitch)
23 return reinterpret_cast<T*>(data + (x * sizeof(T)) + (y * rowPitch) + (z * depthPitch));
27 … T *GetPixel(const uint8_t *data, size_t x, size_t y, size_t z, size_t rowPitch, size_t depthPitch)
29 return reinterpret_cast<const T*>(data + (x * sizeof(T)) + (y * rowPitch) + (z * depthPitch));
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_image.c204 pLayout->depthPitch = value; in lvp_GetImageSubresourceLayout()
207 pLayout->depthPitch = 0; in lvp_GetImageSubresourceLayout()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_screen.h125 unsigned int depthPitch; member
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_screen.h125 unsigned int depthPitch; member
Dr200_state_init.c941 ((rmesa->radeon.radeonScreen->depthPitch & in r200InitState()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageSubresourceLayoutTests.cpp575 …th > 1u && m_params.imageType == VK_IMAGE_TYPE_3D && subresourceLayout.depthPitch < pixelSize * su… in iterateAspect()
581 << " reports depth pitch of " << subresourceLayout.depthPitch << " bytes" in iterateAspect()
600 …const auto imagePixelOffset = z * subresourceLayout.depthPitch + y * subresourceLayout.rowPitch +… in iterateAspect()
/external/deqp/external/vulkancts/framework/vulkan/
DvkTypeUtil.inl148 …offset, VkDeviceSize size, VkDeviceSize rowPitch, VkDeviceSize arrayPitch, VkDeviceSize depthPitch) argument
155 res.depthPitch = depthPitch;
DvkStructTypes.inl617 VkDeviceSize depthPitch; member
/external/angle/src/libANGLE/
Dformatutils.h167 GLuint depthPitch,
Dformatutils.cpp1634 GLuint depthPitch, in computeSkipBytes() argument
1640 CheckedNumeric<GLuint> checkedDepthPitch(depthPitch); in computeSkipBytes()
1667 GLuint depthPitch = 0; in computePackUnpackEndByte() local
1668 if (is3D && !computeDepthPitch(size.height, state.imageHeight, rowPitch, &depthPitch)) in computePackUnpackEndByte()
1694 checkedCopyBytes += depthMinusOne * depthPitch; in computePackUnpackEndByte()
1699 if (!computeSkipBytes(formatType, rowPitch, depthPitch, state, is3D, &skipBytes)) in computePackUnpackEndByte()
/external/mesa3d/src/freedreno/vulkan/
Dtu_image.c749 pLayout->depthPitch = slice->size0; in tu_GetImageSubresourceLayout()
750 pLayout->size = pLayout->depthPitch * layout->depth0; in tu_GetImageSubresourceLayout()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
Drenderer11_utils.cpp2188 unsigned int depthPitch = rowPitch * height; in GenerateInitialTextureData() local
2189 unsigned int maxImageSize = depthPitch * depth; in GenerateInitialTextureData()
2196 depthPitch); in GenerateInitialTextureData()
/external/mesa3d/src/gallium/drivers/zink/
Dzink_resource.c604 box->z * srl.depthPitch + in zink_transfer_map()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_image.c358 layout->depthPitch = image->cube_map_stride; in v3dv_GetImageSubresourceLayout()
/external/mesa3d/src/amd/vulkan/
Dradv_image.c1887 pLayout->depthPitch = surface->u.gfx9.surf_slice_size; in radv_GetImageSubresourceLayout()
1895 pLayout->depthPitch = (uint64_t)surface->u.legacy.level[level].slice_size_dw * 4; in radv_GetImageSubresourceLayout()
/external/swiftshader/src/Vulkan/
DVkImage.cpp344 pLayout->depthPitch = slicePitchBytes(aspect, pSubresource->mipLevel); in getSubresourceLayout()
/external/mesa3d/src/intel/vulkan/
Danv_image.c1167 layout->depthPitch = isl_surf_get_array_pitch(&surface->isl); in anv_GetImageSubresourceLayout()
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_helpers.cpp5432 GLuint depthPitch; in stageSubresourceUpdateImpl() local
5439 gl::Extents(glExtents.width, glExtents.height, 1), &depthPitch)); in stageSubresourceUpdateImpl()
5445 outputDepthPitch = depthPitch; in stageSubresourceUpdateImpl()
/external/skqp/include/third_party/vulkan/vulkan/
Dvulkan_core.h2123 VkDeviceSize depthPitch; member
/external/skia/include/third_party/vulkan/vulkan/
Dvulkan_core.h2123 VkDeviceSize depthPitch; member
/external/vulkan-headers/include/vulkan/
Dvulkan_core.h2584 VkDeviceSize depthPitch; member
/external/swiftshader/include/vulkan/
Dvulkan_core.h2588 VkDeviceSize depthPitch; member
/external/mesa3d/include/vulkan/
Dvulkan_core.h2584 VkDeviceSize depthPitch; member

12