Home
last modified time | relevance | path

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

/device/generic/vulkan-cereal/third-party/angle/src/tests/egl_tests/
DEGLPresentPathD3D11Test.cpp261 D3D11_MAPPED_SUBRESOURCE mappedSubresource; in checkPixelsUsingD3D() local
262 context->Map(cpuTexture, 0, D3D11_MAP_READ, 0, &mappedSubresource); in checkPixelsUsingD3D()
263 ASSERT_EQ(static_cast<UINT>(mWindowWidth * 4), mappedSubresource.RowPitch); in checkPixelsUsingD3D()
264 ASSERT_EQ(static_cast<UINT>(mWindowWidth * mWindowWidth * 4), mappedSubresource.DepthPitch); in checkPixelsUsingD3D()
266 angle::GLColor *byteData = reinterpret_cast<angle::GLColor *>(mappedSubresource.pData); in checkPixelsUsingD3D()