Home
last modified time | relevance | path

Searched refs:bytesPerImage (Results 1 – 15 of 15) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DUtilsMetal.mm78 uint32_t bytesPerImage = bytesPerRow * rowsPerImage;
91 bufferSize - bufferOffset < bytesPerImage * copyExtent.depthOrArrayLayers;
96 copy.copies[0].bytesPerImage = bytesPerImage;
109 copy.copies[copy.count].bytesPerImage = bytesPerImage;
117 currentOffset += (copyExtent.depthOrArrayLayers - 1) * bytesPerImage;
125 copy.copies[copy.count].bytesPerImage = bytesPerRow * (copyBlockRowCount - 1);
149 copy.copies[copy.count].bytesPerImage = lastRowDataSize;
DUtilsMetal.h41 NSUInteger bytesPerImage; member
DCommandBufferMTL.mm629 sourceBytesPerImage:copyInfo.bytesPerImage
636 bufferOffset += copyInfo.bytesPerImage;
645 sourceBytesPerImage:copyInfo.bytesPerImage
819 destinationBytesPerImage:copyInfo.bytesPerImage
821 bufferOffset += copyInfo.bytesPerImage;
840 destinationBytesPerImage:copyInfo.bytesPerImage
/third_party/skia/third_party/externals/dawn/src/utils/
DTestUtils.cpp62 layout.bytesPerImage = layout.bytesPerRow * appliedRowsPerImage; in GetTextureDataCopyLayoutForTextureAtLevel()
69 layout.texelBlocksPerImage = layout.bytesPerImage / bytesPerTexel; in GetTextureDataCopyLayoutForTextureAtLevel()
100 uint64_t bytesPerImage = bytesPerRow * rowsPerImage; in RequiredBytesInCopy() local
101 uint64_t requiredBytesInCopy = bytesPerImage * (depth - 1); in RequiredBytesInCopy()
DTestUtils.h28 uint32_t bytesPerImage; member
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/metal/
DCommandBufferMTL.mm310 NSUInteger bytesPerImage;
355 uint32_t bytesPerImage = rowPitch * rowPitchCountPerImage;
371 bool needWorkaround = bufferSize - bufferOffset < bytesPerImage * copyExtent.depth;
376 copy.copies[0].bytesPerImage = bytesPerImage;
389 copy.copies[copy.count].bytesPerImage = bytesPerImage;
397 currentOffset += (copyExtent.depth - 1) * bytesPerImage;
405 copy.copies[copy.count].bytesPerImage = rowPitch * (copyBlockRowCount - 1);
429 copy.copies[copy.count].bytesPerImage = lastRowDataSize;
499 sourceBytesPerImage:copyInfo.bytesPerImage
532 destinationBytesPerImage:copyInfo.bytesPerImage];
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DCommandValidation.cpp144 uint64_t bytesPerImage = Safe32x32(bytesPerRow, rowsPerImage); in ComputeRequiredBytesInCopy() local
146 bytesPerImage > std::numeric_limits<uint64_t>::max() / copySize.depthOrArrayLayers, in ComputeRequiredBytesInCopy()
148 bytesPerImage, std::numeric_limits<uint64_t>::max() / copySize.depthOrArrayLayers, in ComputeRequiredBytesInCopy()
151 uint64_t requiredBytesInCopy = bytesPerImage * (copySize.depthOrArrayLayers - 1); in ComputeRequiredBytesInCopy()
/third_party/mesa3d/src/mesa/main/
Dimage.c346 GLint bytesPerRow, bytesPerImage, remainder; in _mesa_image_image_stride() local
376 bytesPerImage = bytesPerRow * height; in _mesa_image_image_stride()
378 bytesPerImage = bytesPerRow * packing->ImageHeight; in _mesa_image_image_stride()
380 return bytesPerImage; in _mesa_image_image_stride()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DQueueTests.cpp291 uint32_t bytesPerImage = bytesPerRow * appliedRowsPerImage; in DoTest() local
316 dataOffset += bytesPerImage; in DoTest()
DCopyTests.cpp50 const uint32_t byteOffsetPerSlice = layout.bytesPerImage * layer; in GetExpectedTextureData()
320 bufferOffset += copyLayout.bytesPerImage; in DoTest()
479 const uint32_t srcBytesOffset = srcDataCopyLayout.bytesPerImage * slice; in DoTest()
497 dstDataCopyLayout.bytesPerImage * slice; in DoTest()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
Dmtl_utils.mm305 size_t bytesPerImage = 0;
307 &bytesPerRow, &bytesPerImage))
316 if (!buffer.resize(bytesPerImage))
332 ANGLE_TRY(mtl::Buffer::MakeBuffer(contextMtl, bytesPerImage, nullptr, &zeroBuffer));
Dmtl_resources.mm577 bytesPerImage:bytesPer2DImage];
604 bytesPerImage:bytesPer2DInage
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DImageTestMetal.mm284 bytesPerImage:0];
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DCommandBufferGL.cpp763 const uint64_t bytesPerImage = dst.bytesPerRow * dst.rowsPerImage; in Execute() local
771 offset += bytesPerImage; in Execute()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DContext.cpp1588 GLint bytesPerImage = rowsPerImage * bytesPerRow; in getRequiredBufferSize() local
1592 return (mState.unpackParameters.skipImages + (depth - 1)) * bytesPerImage in getRequiredBufferSize()