Home
last modified time | relevance | path

Searched refs:kBytesPerTexel (Results 1 – 3 of 3) sorted by relevance

/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DCopyTests.cpp24 static constexpr unsigned int kBytesPerTexel = 4; member in CopyTests
59 uint32_t rowPitch = Align(width * kBytesPerTexel, kTextureRowPitchAlignment); in MinimumBufferSpec()
60 return { rowPitch * (height - 1) + width * kBytesPerTexel, 0, rowPitch }; in MinimumBufferSpec()
93 uint32_t rowPitch = Align(kBytesPerTexel * width, kTextureRowPitchAlignment); in DoTest()
94 uint32_t texelsPerRow = rowPitch / kBytesPerTexel; in DoTest()
102 FillTextureData(width, height, rowPitch / kBytesPerTexel, slice, in DoTest()
125 std::vector<RGBA8> emptyData(bufferSpec.size / kBytesPerTexel * textureSpec.arraySize); in DoTest()
145 …std::vector<RGBA8> expected(bufferSpec.rowPitch / kBytesPerTexel * (textureSpec.copyHeight - 1) + … in DoTest()
150 … &textureArrayData[slice][textureSpec.x + textureSpec.y * (rowPitch / kBytesPerTexel)], in DoTest()
153 rowPitch / kBytesPerTexel, in DoTest()
[all …]
DTextureViewTests.cpp27 constexpr uint32_t kBytesPerTexel = 4; variable
529 uint32_t rowPitch = Align(kBytesPerTexel * textureWidthLevel0, kTextureRowPitchAlignment); in TextureLayerAsColorAttachmentTest()
531 rowPitch / kBytesPerTexel * (textureWidthLevel0 - 1) + textureHeightLevel0; in TextureLayerAsColorAttachmentTest()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DTextureViewTests.cpp27 constexpr uint32_t kBytesPerTexel = 4; variable
531 Align(kBytesPerTexel * textureWidthLevel0, kTextureBytesPerRowAlignment); in TextureLayerAsColorAttachmentTest()
533 bytesPerRow / kBytesPerTexel * (textureWidthLevel0 - 1) + textureHeightLevel0; in TextureLayerAsColorAttachmentTest()