/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | NonzeroBufferCreationTests.cpp | 94 const uint8_t* mappedData = static_cast<const uint8_t*>(buffer.GetConstMappedRange()); in TEST_P() local 95 EXPECT_EQ(0, memcmp(mappedData, expectedData.data(), kSize)); in TEST_P() 99 mappedData = static_cast<const uint8_t*>(buffer.GetConstMappedRange()); in TEST_P() 100 EXPECT_EQ(0, memcmp(mappedData, expectedData.data(), kSize)); in TEST_P() 110 const uint8_t* mappedData = static_cast<const uint8_t*>(buffer.GetConstMappedRange()); in TEST_P() local 111 EXPECT_EQ(0, memcmp(mappedData, expectedData.data(), kSize)); in TEST_P() 123 const uint8_t* mappedData = static_cast<const uint8_t*>(buffer.GetConstMappedRange()); in TEST_P() local 124 EXPECT_EQ(0, memcmp(mappedData, expectedData.data(), kSize)); in TEST_P()
|
D | BufferZeroInitTests.cpp | 793 const uint8_t* mappedData = static_cast<const uint8_t*>(buffer.GetConstMappedRange()); in TEST_P() local 794 EXPECT_EQ(0, memcmp(mappedData, kExpectedData.data(), kBufferSize)); in TEST_P() 798 mappedData = static_cast<const uint8_t*>(buffer.GetConstMappedRange()); in TEST_P() 799 EXPECT_EQ(0, memcmp(mappedData, kExpectedData.data(), kBufferSize)); in TEST_P() 815 uint32_t* mappedData = static_cast<uint32_t*>(buffer.GetMappedRange()); in TEST_P() local 816 mappedData[2] = kExpectedFinalData[2]; in TEST_P() 817 mappedData[3] = kExpectedFinalData[3]; in TEST_P() 845 const uint8_t* mappedData = static_cast<const uint8_t*>(buffer.GetConstMappedRange()); in TEST_P() local 846 EXPECT_EQ(0, memcmp(mappedData, kExpectedData.data(), kBufferSize)); in TEST_P() 860 const uint8_t* mappedData = static_cast<const uint8_t*>(buffer.GetConstMappedRange()); in TEST_P() local [all …]
|
D | BufferTests.cpp | 593 const void* mappedData = MapAsyncAndWait(buffer, wgpu::MapMode::Read, 4); in TEST_P() local 594 ASSERT_EQ(myData, *reinterpret_cast<const uint32_t*>(mappedData)); in TEST_P() 633 const void* mappedData = in TEST_P() local 635 ASSERT_EQ(0, memcmp(mappedData, myData.data(), kDataSize * sizeof(uint32_t))); in TEST_P()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
D | BufferGL.cpp | 151 void* mappedData = nullptr; in MapAsyncImpl() local 153 mappedData = gl.MapBufferRange(GL_ARRAY_BUFFER, offset, size, GL_MAP_READ_BIT); in MapAsyncImpl() 156 mappedData = gl.MapBufferRange(GL_ARRAY_BUFFER, offset, size, GL_MAP_WRITE_BIT); in MapAsyncImpl() 161 mMappedData = static_cast<uint8_t*>(mappedData) - offset; in MapAsyncImpl()
|
/third_party/skia/src/gpu/ |
D | SurfaceContext.cpp | 639 const void* mappedData = result.fTransferBuffer->map(); in addTransferResult() local 640 if (!mappedData) { in addTransferResult() 646 result.fPixelConverter(data->writable_data(), mappedData); in addTransferResult() 651 this->addMappedPlane(mappedData, rowBytes, std::move(result.fTransferBuffer)); in addTransferResult()
|
/third_party/skia/third_party/externals/dawn/src/tests/ |
D | DawnTest.cpp | 1480 slot->mappedData = slot->buffer.GetConstMappedRange(); in SlotMapCallback() 1486 DAWN_ASSERT(mReadbackSlots[expectation.readbackSlot].mappedData != nullptr); in ResolveExpectations() 1490 static_cast<const char*>(mReadbackSlots[expectation.readbackSlot].mappedData); in ResolveExpectations()
|
D | DawnTest.h | 537 const void* mappedData = nullptr; member
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/wire/ |
D | WireMemoryTransferServiceTests.cpp | 200 uint32_t* mappedData) { in ExpectClientReadHandleDeserializeDataUpdate() argument
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | TransformFeedbackTest.cpp | 2083 std::array<float, 3> mappedData = {mappedFloats[i * 3], mappedFloats[i * 3 + 1], in TEST_P() local 2086 EXPECT_EQ(data, mappedData) << "iteration #" << i; in TEST_P()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcPackedPixelsTests.cpp | 2242 GLvoid* mappedData = gl.mapBufferRange(GL_PIXEL_PACK_BUFFER, 0, bufferSize, GL_MAP_READ_BIT); in readOutputData() local 2243 if (!mappedData) in readOutputData() 2246 std::memcpy(&m_outputBuffer[0], mappedData, bufferSize); in readOutputData()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fTessellationTests.cpp | 268 …const T* const mappedData = (const T*)gl.mapBufferRange(bufferTarget, 0, numBytes, GL_MAP_REA… in readDataMapped() local 270 TCU_CHECK(mappedData != DE_NULL); in readDataMapped() 273 dst[i] = mappedData[i]; in readDataMapped()
|