/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawImageObjectUtil.cpp | 54 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/ |
D | loadimage.inc | 18 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));
|
D | generatemip.inc | 21 …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/ |
D | loadimage.inc | 18 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));
|
D | generatemip.inc | 21 …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/ |
D | mtl_format_utils.mm | 27 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/ |
D | lvp_image.c | 250 pLayout->depthPitch = value; in lvp_GetImageSubresourceLayout() 253 pLayout->depthPitch = 0; in lvp_GetImageSubresourceLayout()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
D | vktImageSubresourceLayoutTests.cpp | 575 …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/ |
D | zink_resource.h | 182 unsigned depthPitch; member
|
D | zink_resource.c | 695 .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/ |
D | panvk_image.c | 252 pLayout->depthPitch = slice_layout->surface_stride; in panvk_GetImageSubresourceLayout()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/external_memory/ |
D | MemoryServiceDmaBuf.cpp | 236 planeLayout.depthPitch = 0; // Not a depth texture in CreateImage()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/ |
D | formatutils.h | 108 GLuint depthPitch,
|
D | formatutils.cpp | 1245 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/ |
D | vkTypeUtil.inl | 148 …offset, VkDeviceSize size, VkDeviceSize rowPitch, VkDeviceSize arrayPitch, VkDeviceSize depthPitch) argument 155 res.depthPitch = depthPitch;
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_image.c | 766 pLayout->depthPitch = slice->size0; in tu_GetImageSubresourceLayout() 767 pLayout->size = pLayout->depthPitch * layout->depth0; in tu_GetImageSubresourceLayout()
|
/third_party/mesa3d/src/microsoft/vulkan/ |
D | dzn_image.c | 798 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/ |
D | formatutils.h | 169 GLuint depthPitch,
|
D | formatutils.cpp | 1771 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/ |
D | renderer11_utils.cpp | 2180 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/ |
D | pvr_image.c | 251 layout->depthPitch = mip_level->pitch * mip_level->height_pitch; in pvr_GetImageSubresourceLayout()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | renderer11_utils.cpp | 2195 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/ |
D | v3dv_image.c | 442 layout->depthPitch = image->cube_map_stride; in v3dv_GetImageSubresourceLayout()
|
/third_party/mesa3d/src/virtio/venus-protocol/ |
D | vn_protocol_driver_image.h | 188 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/ |
D | vk_helpers.cpp | 2092 GLuint depthPitch; in stageSubresourceUpdate() local 2099 gl::Extents(glExtents.width, glExtents.height, 1), &depthPitch)); in stageSubresourceUpdate() 2105 outputDepthPitch = depthPitch; in stageSubresourceUpdate()
|