Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DBufferTests.cpp71 CheckMapping(buffer.GetConstMappedRange(), &myData, kSize); in TEST_P()
72 CheckMapping(buffer.GetConstMappedRange(0, kSize), &myData, kSize); in TEST_P()
81 ASSERT_NE(buffer.GetConstMappedRange(), nullptr); in TEST_P()
93 ASSERT_EQ(myData[2], *static_cast<const uint32_t*>(buffer.GetConstMappedRange(8))); in TEST_P()
105 ASSERT_EQ(myData, *static_cast<const uint32_t*>(buffer.GetConstMappedRange())); in TEST_P()
112 ASSERT_EQ(myData, *static_cast<const uint32_t*>(buffer.GetConstMappedRange())); in TEST_P()
124 ASSERT_EQ(myData[0], *static_cast<const uint32_t*>(buffer.GetConstMappedRange(0))); in TEST_P()
125 ASSERT_EQ(myData[1], *(static_cast<const uint32_t*>(buffer.GetConstMappedRange(0)) + 1)); in TEST_P()
126 ASSERT_EQ(myData[2], *(static_cast<const uint32_t*>(buffer.GetConstMappedRange(0)) + 2)); in TEST_P()
127 ASSERT_EQ(myData[2], *static_cast<const uint32_t*>(buffer.GetConstMappedRange(8))); in TEST_P()
[all …]
DNonzeroBufferCreationTests.cpp94 const uint8_t* mappedData = static_cast<const uint8_t*>(buffer.GetConstMappedRange()); in TEST_P()
99 mappedData = static_cast<const uint8_t*>(buffer.GetConstMappedRange()); in TEST_P()
110 const uint8_t* mappedData = static_cast<const uint8_t*>(buffer.GetConstMappedRange()); in TEST_P()
123 const uint8_t* mappedData = static_cast<const uint8_t*>(buffer.GetConstMappedRange()); in TEST_P()
DDeviceLostTests.cpp372 const void* rangeBeforeLoss = buffer.GetConstMappedRange(); in TEST_P()
375 ASSERT_NE(buffer.GetConstMappedRange(), nullptr); in TEST_P()
376 ASSERT_EQ(buffer.GetConstMappedRange(), rangeBeforeLoss); in TEST_P()
389 const void* rangeBeforeLoss = buffer.GetConstMappedRange(); in TEST_P()
392 ASSERT_NE(buffer.GetConstMappedRange(), nullptr); in TEST_P()
393 ASSERT_EQ(buffer.GetConstMappedRange(), rangeBeforeLoss); in TEST_P()
DBufferZeroInitTests.cpp712 const uint32_t* mappedDataUint = static_cast<const uint32_t*>(buffer.GetConstMappedRange()); in TEST_P()
728 static_cast<const uint32_t*>(buffer.GetConstMappedRange(kOffset)); in TEST_P()
735 mappedDataUint = static_cast<const uint32_t*>(buffer.GetConstMappedRange()); in TEST_P()
793 const uint8_t* mappedData = static_cast<const uint8_t*>(buffer.GetConstMappedRange()); in TEST_P()
798 mappedData = static_cast<const uint8_t*>(buffer.GetConstMappedRange()); in TEST_P()
833 static_cast<const uint32_t*>(buffer.GetConstMappedRange()); in TEST_P()
845 const uint8_t* mappedData = static_cast<const uint8_t*>(buffer.GetConstMappedRange()); in TEST_P()
860 const uint8_t* mappedData = static_cast<const uint8_t*>(buffer.GetConstMappedRange()); in TEST_P()
DDeviceInitializationTests.cpp101 const uint32_t* mapping = static_cast<const uint32_t*>(dst.GetConstMappedRange()); in TEST_F()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DBufferValidationTests.cpp657 ASSERT_EQ(nullptr, buf.GetConstMappedRange()); in TEST_F()
666 ASSERT_EQ(nullptr, buf.GetConstMappedRange()); in TEST_F()
680 ASSERT_EQ(nullptr, buf.GetConstMappedRange()); in TEST_F()
693 ASSERT_EQ(nullptr, buf.GetConstMappedRange()); in TEST_F()
708 ASSERT_EQ(nullptr, buf.GetConstMappedRange()); in TEST_F()
717 ASSERT_EQ(nullptr, buf.GetConstMappedRange()); in TEST_F()
731 ASSERT_EQ(nullptr, buf.GetConstMappedRange()); in TEST_F()
744 ASSERT_EQ(nullptr, buf.GetConstMappedRange()); in TEST_F()
764 ASSERT_NE(buffer.GetConstMappedRange(), nullptr); in TEST_F()
765 ASSERT_EQ(buffer.GetConstMappedRange(), buffer.GetMappedRange()); in TEST_F()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_wire/client/
DBuffer.h47 const void* GetConstMappedRange(size_t offset, size_t size);
DBuffer.cpp273 const void* Buffer::GetConstMappedRange(size_t offset, size_t size) { in GetConstMappedRange() function in dawn_wire::client::Buffer
/third_party/skia/src/gpu/dawn/
DGrDawnBuffer.cpp108 buffer->setMapPtr(const_cast<void*>(buffer->get().GetConstMappedRange())); in callback_read()
DGrDawnGpu.cpp653 const void* readPixelsPtr = buf.GetConstMappedRange(); in onReadPixels()
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
DGPUBuffer.cpp130 : const_cast<void*>(buffer_.GetConstMappedRange(offset, s)); in getMappedRange()
/third_party/skia/third_party/externals/dawn/src/tests/
DDawnTest.cpp1480 slot->mappedData = slot->buffer.GetConstMappedRange(); in SlotMapCallback()