/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | BufferZeroInitTests.cpp | 124 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 …]
|
D | StorageTextureTests.cpp | 483 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()
|
D | SamplerFilterAnisotropicTests.cpp | 114 const uint32_t rowPixels = kTextureBytesPerRowAlignment / sizeof(RGBA8); in InitTexture() 129 utils::CreateImageCopyBuffer(stagingBuffer, 0, kTextureBytesPerRowAlignment); in InitTexture()
|
D | TextureViewTests.cpp | 141 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()
|
D | SamplerTests.cpp | 99 const uint32_t rowPixels = kTextureBytesPerRowAlignment / sizeof(RGBA8); in SetUp()
|
D | RenderPassLoadOpTests.cpp | 129 utils::CreateImageCopyBuffer(buffer, 0, kTextureBytesPerRowAlignment); in TestIntegerClearColor()
|
D | QueueTests.cpp | 673 outputBuffer, kOutputBufferOffset1, kTextureBytesPerRowAlignment); in TEST_P() 694 outputBuffer, kOutputBufferOffset2, kTextureBytesPerRowAlignment); in TEST_P()
|
D | TextureZeroInitTests.cpp | 1033 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()
|
D | CompressedTextureFormatTests.cpp | 32 uint32_t bytesPerRowAlignment = kTextureBytesPerRowAlignment; 939 kTextureBytesPerRowAlignment); in TEST_P()
|
D | CopyTests.cpp | 997 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/ |
D | Constants.h | 26 static constexpr uint32_t kTextureBytesPerRowAlignment = 256u; variable
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | CommandValidation.cpp | 187 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()
|
D | Format.cpp | 154 (kTextureBytesPerRowAlignment % format.aspectInfo[0].block.byteSize) == 0); in BuildFormatTable()
|
/third_party/skia/third_party/externals/dawn/src/utils/ |
D | TestUtils.cpp | 31 return Align(bytesPerBlock * (width / blockWidth), kTextureBytesPerRowAlignment); in GetMinimumBytesPerRow()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | CopyCommandsValidationTests.cpp | 77 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/ |
D | TextureGL.cpp | 452 ASSERT(kTextureBytesPerRowAlignment % blockInfo.byteSize == 0); in ClearTexture()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/d3d12/ |
D | CopySplitTests.cpp | 326 kTextureBytesPerRowAlignment); in BaseBufferSpecs()
|
/third_party/skia/third_party/externals/dawn/src/tests/ |
D | DawnTest.cpp | 1098 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/ |
D | VulkanImageWrappingTestsDmaBuf.cpp | 813 uint32_t bytesPerRow = Align(width * pixelSize, kTextureBytesPerRowAlignment); in TEST_P()
|
D | VulkanImageWrappingTestsOpaqueFD.cpp | 940 uint32_t bytesPerRow = Align(width * pixelSize, kTextureBytesPerRowAlignment); in TEST_P()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | TextureD3D12.cpp | 1095 kTextureBytesPerRowAlignment); in ClearTexture()
|
D | CommandBufferD3D12.cpp | 201 Align(blockInfo.byteSize * widthInBlocks, kTextureBytesPerRowAlignment); in RecordCopyTextureWithTemporaryBuffer()
|