Searched refs:bytesPerImage (Results 1 – 15 of 15) sorted by relevance
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/ |
D | UtilsMetal.mm | 78 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;
|
D | UtilsMetal.h | 41 NSUInteger bytesPerImage; member
|
D | CommandBufferMTL.mm | 629 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/ |
D | TestUtils.cpp | 62 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()
|
D | TestUtils.h | 28 uint32_t bytesPerImage; member
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/metal/ |
D | CommandBufferMTL.mm | 310 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/ |
D | CommandValidation.cpp | 144 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/ |
D | image.c | 346 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/ |
D | QueueTests.cpp | 291 uint32_t bytesPerImage = bytesPerRow * appliedRowsPerImage; in DoTest() local 316 dataOffset += bytesPerImage; in DoTest()
|
D | CopyTests.cpp | 50 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/ |
D | mtl_utils.mm | 305 size_t bytesPerImage = 0; 307 &bytesPerRow, &bytesPerImage)) 316 if (!buffer.resize(bytesPerImage)) 332 ANGLE_TRY(mtl::Buffer::MakeBuffer(contextMtl, bytesPerImage, nullptr, &zeroBuffer));
|
D | mtl_resources.mm | 577 bytesPerImage:bytesPer2DImage]; 604 bytesPerImage:bytesPer2DInage
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | ImageTestMetal.mm | 284 bytesPerImage:0];
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
D | CommandBufferGL.cpp | 763 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/ |
D | Context.cpp | 1588 GLint bytesPerImage = rowsPerImage * bytesPerRow; in getRequiredBufferSize() local 1592 return (mState.unpackParameters.skipImages + (depth - 1)) * bytesPerImage in getRequiredBufferSize()
|