Home
last modified time | relevance | path

Searched refs:kTextureBytesPerRowAlignment (Results 1 – 22 of 22) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DBufferZeroInitTests.cpp124 kTextureBytesPerRowAlignment == in TestBufferZeroInitInCopyTextureToBuffer()
882 kTextureBytesPerRowAlignment, rowsPerImage, kTextureSize, kTextureFormat); in TEST_P()
893 buffer, kOffset, kTextureBytesPerRowAlignment, kTextureSize.height); in TEST_P()
911 buffer, kOffset, kTextureBytesPerRowAlignment, kTextureSize.height); in TEST_P()
933 {kTextureSize, 0u, 0u, kTextureBytesPerRowAlignment, kTextureSize.height, 0u}); in TEST_P()
938 constexpr uint64_t kBytesPerRow = kTextureBytesPerRowAlignment * 2; in TEST_P()
947 kTextureBytesPerRowAlignment, kTextureSize.height, in TEST_P()
955 kTextureBytesPerRowAlignment, kTextureSize.height, in TEST_P()
973 {kTextureSize, 0u, 0u, kTextureBytesPerRowAlignment, kTextureSize.height, 0u}); in TEST_P()
980 {kTextureSize, 0u, 0u, kTextureBytesPerRowAlignment, kRowsPerImage, 1u}); in TEST_P()
[all …]
DStorageTextureTests.cpp483 ASSERT(kWidth * texelSize <= kTextureBytesPerRowAlignment); in CreateEmptyBufferForTextureCopy()
485 kTextureBytesPerRowAlignment * (kHeight * sliceCount - 1) + kWidth * texelSize; in CreateEmptyBufferForTextureCopy()
497 ASSERT(kWidth * texelSize <= kTextureBytesPerRowAlignment); in CreateTextureWithTestData()
503 kTextureBytesPerRowAlignment * (kHeight * sliceCount - 1) + kWidth * bytesPerTextureRow; in CreateTextureWithTestData()
513 (kHeight * slice + y) * kTextureBytesPerRowAlignment + x; in CreateTextureWithTestData()
530 utils::CreateImageCopyBuffer(uploadBuffer, 0, kTextureBytesPerRowAlignment, kHeight); in CreateTextureWithTestData()
718 utils::CreateImageCopyBuffer(resultBuffer, 0, kTextureBytesPerRowAlignment, kHeight); in CheckOutputStorageTexture()
727 kTextureBytesPerRowAlignment * (kHeight * slice + y); in CheckOutputStorageTexture()
DSamplerFilterAnisotropicTests.cpp114 const uint32_t rowPixels = kTextureBytesPerRowAlignment / sizeof(RGBA8); in InitTexture()
129 utils::CreateImageCopyBuffer(stagingBuffer, 0, kTextureBytesPerRowAlignment); in InitTexture()
DTextureViewTests.cpp141 static_assert((kTextureBytesPerRowAlignment % sizeof(RGBA8)) == 0, in initTexture()
143 constexpr uint32_t kPixelsPerRowPitch = kTextureBytesPerRowAlignment / sizeof(RGBA8); in initTexture()
159 utils::CreateImageCopyBuffer(stagingBuffer, 0, kTextureBytesPerRowAlignment); in initTexture()
531 Align(kBytesPerTexel * textureWidthLevel0, kTextureBytesPerRowAlignment); in TextureLayerAsColorAttachmentTest()
DSamplerTests.cpp99 const uint32_t rowPixels = kTextureBytesPerRowAlignment / sizeof(RGBA8); in SetUp()
DRenderPassLoadOpTests.cpp129 utils::CreateImageCopyBuffer(buffer, 0, kTextureBytesPerRowAlignment); in TestIntegerClearColor()
DQueueTests.cpp673 outputBuffer, kOutputBufferOffset1, kTextureBytesPerRowAlignment); in TEST_P()
694 outputBuffer, kOutputBufferOffset2, kTextureBytesPerRowAlignment); in TEST_P()
DTextureZeroInitTests.cpp1033 uint32_t bytesPerRow = Align(kSize * kFormatBlockByteSize, kTextureBytesPerRowAlignment); in TEST_P()
1069 Align(kUnalignedSize * kFormatBlockByteSize, kTextureBytesPerRowAlignment); in TEST_P()
1445 uint32_t bytesPerRow = Align(kUnalignedSize, kTextureBytesPerRowAlignment); in TEST_P()
1747 kTextureBytesPerRowAlignment); in InitializeDataInCompressedTextureAndExpectLazyClear()
2089 kTextureBytesPerRowAlignment); in TEST_P()
DCompressedTextureFormatTests.cpp32 uint32_t bytesPerRowAlignment = kTextureBytesPerRowAlignment;
939 kTextureBytesPerRowAlignment); in TEST_P()
DCopyTests.cpp997 constexpr uint32_t kBufferCopyOffset = kTextureBytesPerRowAlignment; in TEST_P()
1006 utils::CreateImageCopyBuffer(buffer, kBufferCopyOffset, kTextureBytesPerRowAlignment); in TEST_P()
2144 ASSERT_LE(kSrcSize, kTextureBytesPerRowAlignment); in TEST_P()
2145 ASSERT_LE(kDstSize, kTextureBytesPerRowAlignment); in TEST_P()
/third_party/skia/third_party/externals/dawn/src/common/
DConstants.h26 static constexpr uint32_t kTextureBytesPerRowAlignment = 256u; variable
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DCommandValidation.cpp187 layout->bytesPerRow = Align(bytesInLastRow, kTextureBytesPerRowAlignment); in ApplyDefaultTextureDataLayoutOptions()
257 DAWN_INVALID_IF(imageCopyBuffer.layout.bytesPerRow % kTextureBytesPerRowAlignment != 0, in ValidateImageCopyBuffer()
259 imageCopyBuffer.layout.bytesPerRow, kTextureBytesPerRowAlignment); in ValidateImageCopyBuffer()
DFormat.cpp154 (kTextureBytesPerRowAlignment % format.aspectInfo[0].block.byteSize) == 0); in BuildFormatTable()
/third_party/skia/third_party/externals/dawn/src/utils/
DTestUtils.cpp31 return Align(bytesPerBlock * (width / blockWidth), kTextureBytesPerRowAlignment); in GetMinimumBytesPerRow()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DCopyCommandsValidationTests.cpp77 uint32_t bytesPerRow = Align(width * bytesPerPixel, kTextureBytesPerRowAlignment); in BufferSizeForTextureCopy()
503 TestB2TCopy(utils::Expectation::Success, source, 0, kTextureBytesPerRowAlignment, 0, in TEST_F()
506 TestB2TCopy(utils::Expectation::Success, source, 0, kTextureBytesPerRowAlignment, 3, in TEST_F()
1085 kTextureBytesPerRowAlignment, 0, {0, 0, 1}); in TEST_F()
1088 kTextureBytesPerRowAlignment, 3, {0, 1, 0}); in TEST_F()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DTextureGL.cpp452 ASSERT(kTextureBytesPerRowAlignment % blockInfo.byteSize == 0); in ClearTexture()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/d3d12/
DCopySplitTests.cpp326 kTextureBytesPerRowAlignment); in BaseBufferSpecs()
/third_party/skia/third_party/externals/dawn/src/tests/
DDawnTest.cpp1098 bytesPerRow = Align(extent.width * dataSize, kTextureBytesPerRowAlignment); in AddTextureExpectationImpl()
1101 ASSERT(bytesPerRow == Align(bytesPerRow, kTextureBytesPerRowAlignment)); in AddTextureExpectationImpl()
/third_party/skia/third_party/externals/dawn/src/tests/white_box/
DVulkanImageWrappingTestsDmaBuf.cpp813 uint32_t bytesPerRow = Align(width * pixelSize, kTextureBytesPerRowAlignment); in TEST_P()
DVulkanImageWrappingTestsOpaqueFD.cpp940 uint32_t bytesPerRow = Align(width * pixelSize, kTextureBytesPerRowAlignment); in TEST_P()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DTextureD3D12.cpp1095 kTextureBytesPerRowAlignment); in ClearTexture()
DCommandBufferD3D12.cpp201 Align(blockInfo.byteSize * widthInBlocks, kTextureBytesPerRowAlignment); in RecordCopyTextureWithTemporaryBuffer()