| Flutter Impeller |

Classes | Namespaces | Typedefs | Functions | Variables
host_buffer_unittests.cc File Reference
`#include <limits>`
`#include <utility>`
`#include "flutter/testing/testing.h"`
`#include "impeller/base/validation.h"`
`#include "impeller/core/allocator.h"`
`#include "impeller/core/host_buffer.h"`
`#include "impeller/entity/entity_playground.h"`

Go to the source code of this file.

## Classes
class | impeller::testing::FailingAllocator

## Namespaces
| impeller
| impeller::testing

## Typedefs
using | impeller::testing::HostBufferTest = EntityPlayground

## Functions
| impeller::testing::INSTANTIATE_PLAYGROUND_SUITE (HostBufferTest)
| impeller::testing::TEST_P (HostBufferTest, CanEmplace)
| impeller::testing::TEST_P (HostBufferTest, CanEmplaceWithAlignment)
| impeller::testing::TEST_P (HostBufferTest, HostBufferInitialState)
| impeller::testing::TEST_P (HostBufferTest, ResetIncrementsFrameCounter)
| impeller::testing::TEST_P (HostBufferTest, EmplacingLargerThanBlockSizeCreatesOneOffBufferCallback)
| impeller::testing::TEST_P (HostBufferTest, EmplacingLargerThanBlockSizeCreatesOneOffBuffer)
| impeller::testing::TEST_P (HostBufferTest, UnusedBuffersAreDiscardedWhenResetting)
| impeller::testing::TEST_P (HostBufferTest, EmplaceWithProcIsAligned)
| impeller::testing::TEST_P (HostBufferTest, EmplaceWithFailingAllocationDoesntCrash)

## Variables
static constexpr const size_t | impeller::testing::kMagicFailingAllocation = 1024000 * 2