Home
last modified time | relevance | path

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

12

/third_party/vk-gl-cts/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 …]
/third_party/skia/third_party/externals/angle2/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));
/third_party/flutter/skia/third_party/externals/angle2/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));
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
Dmtl_format_utils.mm27 inline T *OffsetDataPointer(uint8_t *data, size_t y, size_t z, size_t rowPitch, size_t depthPitch)
29 return reinterpret_cast<T *>(data + (y * rowPitch) + (z * depthPitch));
37 size_t depthPitch)
39 return reinterpret_cast<const T *>(data + (y * rowPitch) + (z * depthPitch));
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_image.c250 pLayout->depthPitch = value; in lvp_GetImageSubresourceLayout()
253 pLayout->depthPitch = 0; in lvp_GetImageSubresourceLayout()
/third_party/vk-gl-cts/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()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_resource.h182 unsigned depthPitch; member
Dzink_resource.c695 .depthPitch = 0, in resource_object_create()
724 plane_layouts[i].depthPitch = 0; in resource_object_create()
1357 *value = srl.depthPitch; in zink_resource_get_param()
1986 trans->base.b.layer_stride = srl.depthPitch; in zink_image_map()
1990 trans->depthPitch = srl.depthPitch; in zink_image_map()
1993 box->z * srl.depthPitch + in zink_image_map()
2047 box->z * trans->depthPitch + in zink_transfer_flush_region()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_image.c252 pLayout->depthPitch = slice_layout->surface_stride; in panvk_GetImageSubresourceLayout()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/external_memory/
DMemoryServiceDmaBuf.cpp236 planeLayout.depthPitch = 0; // Not a depth texture in CreateImage()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
Dformatutils.h108 GLuint depthPitch,
Dformatutils.cpp1245 GLuint depthPitch, in computeSkipBytes() argument
1251 CheckedNumeric<GLuint> checkedDepthPitch(depthPitch); in computeSkipBytes()
1278 GLuint depthPitch = 0; in computePackUnpackEndByte() local
1279 if (is3D && !computeDepthPitch(size.height, state.imageHeight, rowPitch, &depthPitch)) in computePackUnpackEndByte()
1305 checkedCopyBytes += depthMinusOne * depthPitch; in computePackUnpackEndByte()
1310 if (!computeSkipBytes(formatType, rowPitch, depthPitch, state, is3D, &skipBytes)) in computePackUnpackEndByte()
/third_party/vk-gl-cts/build/external/vulkancts/framework/vulkan/
DvkTypeUtil.inl148 …offset, VkDeviceSize size, VkDeviceSize rowPitch, VkDeviceSize arrayPitch, VkDeviceSize depthPitch) argument
155 res.depthPitch = depthPitch;
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_image.c766 pLayout->depthPitch = slice->size0; in tu_GetImageSubresourceLayout()
767 pLayout->size = pLayout->depthPitch * layout->depth0; in tu_GetImageSubresourceLayout()
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_image.c798 layout->depthPitch = 0; in dzn_GetImageSubresourceLayout()
817 layout->depthPitch = layout->rowPitch * footprint.Footprint.Height; in dzn_GetImageSubresourceLayout()
818 layout->arrayPitch = layout->depthPitch; // uuuh... why is this even here? in dzn_GetImageSubresourceLayout()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
Dformatutils.h169 GLuint depthPitch,
Dformatutils.cpp1771 GLuint depthPitch, in computeSkipBytes() argument
1777 CheckedNumeric<GLuint> checkedDepthPitch(depthPitch); in computeSkipBytes()
1804 GLuint depthPitch = 0; in computePackUnpackEndByte() local
1805 if (is3D && !computeDepthPitch(size.height, state.imageHeight, rowPitch, &depthPitch)) in computePackUnpackEndByte()
1831 checkedCopyBytes += depthMinusOne * depthPitch; in computePackUnpackEndByte()
1836 if (!computeSkipBytes(formatType, rowPitch, depthPitch, state, is3D, &skipBytes)) in computePackUnpackEndByte()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
Drenderer11_utils.cpp2180 unsigned int depthPitch = rowPitch * height; in GenerateInitialTextureData() local
2181 unsigned int maxImageSize = depthPitch * depth; in GenerateInitialTextureData()
2188 depthPitch); in GenerateInitialTextureData()
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_image.c251 layout->depthPitch = mip_level->pitch * mip_level->height_pitch; in pvr_GetImageSubresourceLayout()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
Drenderer11_utils.cpp2195 CheckedSize depthPitch = rowPitch * CheckedSize(height); in GenerateInitialTextureData() local
2196 CheckedSize maxImageSize = depthPitch * CheckedSize(depth); in GenerateInitialTextureData()
2206 rowPitch.ValueOrDie(), depthPitch.ValueOrDie()); in GenerateInitialTextureData()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_image.c442 layout->depthPitch = image->cube_map_stride; in v3dv_GetImageSubresourceLayout()
/third_party/mesa3d/src/virtio/venus-protocol/
Dvn_protocol_driver_image.h188 size += vn_sizeof_VkDeviceSize(&val->depthPitch); in vn_sizeof_VkSubresourceLayout()
199 vn_encode_VkDeviceSize(enc, &val->depthPitch); in vn_encode_VkSubresourceLayout()
209 vn_decode_VkDeviceSize(dec, &val->depthPitch); in vn_decode_VkSubresourceLayout()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_helpers.cpp2092 GLuint depthPitch; in stageSubresourceUpdate() local
2099 gl::Extents(glExtents.width, glExtents.height, 1), &depthPitch)); in stageSubresourceUpdate()
2105 outputDepthPitch = depthPitch; in stageSubresourceUpdate()

12