#include "gpu/command_buffer/client/shared_image_pool.h"
#include "components/viz/test/test_context_provider.h"
#include "gpu/command_buffer/client/shared_image_interface.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace gpu {
class SharedImagePoolTest : public testing::Test { … };
class TestClientImage : public ClientImage { … };
class ExtendedClientImage : public ClientImage { … };
TEST_F(SharedImagePoolTest, VerifyImage) { … }
TEST_F(SharedImagePoolTest, ReleaseAndRecycleImage) { … }
TEST_F(SharedImagePoolTest, MaxPoolSizeBehavior) { … }
TEST_F(SharedImagePoolTest, MaxPoolSizeEnforcement) { … }
TEST_F(SharedImagePoolTest, TokenConsistencyOnReuse) { … }
TEST_F(SharedImagePoolTest, ProperTokenHandlingBeforeReuse) { … }
TEST_F(SharedImagePoolTest, ComplexClientUsage) { … }
TEST_F(SharedImagePoolTest, DiscardImageFromDifferentPool) { … }
}