// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "gpu/command_buffer/common/discardable_handle.h" #include "gpu/command_buffer/common/buffer.h" #include "testing/gtest/include/gtest/gtest.h" namespace gpu { namespace { scoped_refptr<Buffer> MakeBufferForTesting(uint32_t num_handles) { … } } // namespace TEST(DiscardableHandleTest, BasicUsage) { … } TEST(DiscardableHandleTest, MultiLock) { … } TEST(DiscardableHandleTest, Suballocations) { … } } // namespace gpu