Home
last modified time | relevance | path

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

/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/
DRingBufferTests.cpp77 constexpr size_t maxNumOfFrames = 64000; in TEST_F() local
80 std::unique_ptr<RingBuffer> buffer = CreateRingBuffer(maxNumOfFrames * frameSizeInBytes); in TEST_F()
83 for (size_t i = 0; i < maxNumOfFrames; ++i) { in TEST_F()
92 constexpr size_t maxNumOfFrames = 3; in TEST_F() local
95 std::unique_ptr<RingBuffer> buffer = CreateRingBuffer(maxNumOfFrames * frameSizeInBytes); in TEST_F()
129 constexpr size_t maxNumOfFrames = 10; in TEST_F() local
132 std::unique_ptr<RingBuffer> buffer = CreateRingBuffer(maxNumOfFrames * frameSizeInBytes); in TEST_F()
171 ASSERT_EQ(buffer->GetUsedSize(), frameSizeInBytes * maxNumOfFrames); in TEST_F()
188 ASSERT_EQ(buffer->GetUsedSize(), frameSizeInBytes * maxNumOfFrames); in TEST_F()
198 buffer->Tick(maxNumOfFrames); in TEST_F()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DRingBufferAllocatorTests.cpp47 constexpr uint64_t maxNumOfFrames = 64000; in TEST() local
50 RingBufferAllocator allocator(maxNumOfFrames * frameSizeInBytes); in TEST()
53 for (ExecutionSerial i(0); i < ExecutionSerial(maxNumOfFrames); ++i) { in TEST()
61 constexpr uint64_t maxNumOfFrames = 3; in TEST() local
64 RingBufferAllocator allocator(maxNumOfFrames * frameSizeInBytes); in TEST()
91 constexpr uint64_t maxNumOfFrames = 10; in TEST() local
94 RingBufferAllocator allocator(maxNumOfFrames * frameSizeInBytes); in TEST()
134 ASSERT_EQ(allocator.GetUsedSize(), frameSizeInBytes * maxNumOfFrames); in TEST()
152 ASSERT_EQ(allocator.GetUsedSize(), frameSizeInBytes * maxNumOfFrames); in TEST()