Searched refs:GetConstMappedRange (Results 1 – 12 of 12) sorted by relevance
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | BufferTests.cpp | 71 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 …]
|
D | NonzeroBufferCreationTests.cpp | 94 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()
|
D | DeviceLostTests.cpp | 372 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()
|
D | BufferZeroInitTests.cpp | 712 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()
|
D | DeviceInitializationTests.cpp | 101 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/ |
D | BufferValidationTests.cpp | 657 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/ |
D | Buffer.h | 47 const void* GetConstMappedRange(size_t offset, size_t size);
|
D | Buffer.cpp | 273 const void* Buffer::GetConstMappedRange(size_t offset, size_t size) { in GetConstMappedRange() function in dawn_wire::client::Buffer
|
/third_party/skia/src/gpu/dawn/ |
D | GrDawnBuffer.cpp | 108 buffer->setMapPtr(const_cast<void*>(buffer->get().GetConstMappedRange())); in callback_read()
|
D | GrDawnGpu.cpp | 653 const void* readPixelsPtr = buf.GetConstMappedRange(); in onReadPixels()
|
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/ |
D | GPUBuffer.cpp | 130 : const_cast<void*>(buffer_.GetConstMappedRange(offset, s)); in getMappedRange()
|
/third_party/skia/third_party/externals/dawn/src/tests/ |
D | DawnTest.cpp | 1480 slot->mappedData = slot->buffer.GetConstMappedRange(); in SlotMapCallback()
|