| Index: gpu/vulkan/tests/basic_vulkan_test.h
|
| diff --git a/gpu/vulkan/tests/basic_vulkan_test.h b/gpu/vulkan/tests/basic_vulkan_test.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1ac19e7bca7421f139eedcbc979a5bfe0ea17a08
|
| --- /dev/null
|
| +++ b/gpu/vulkan/tests/basic_vulkan_test.h
|
| @@ -0,0 +1,29 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef GPU_VULKAN_TESTS_BASIC_VULKAN_TEST_H_
|
| +#define GPU_VULKAN_TESTS_BASIC_VULKAN_TEST_H_
|
| +
|
| +#include "gpu/vulkan/vulkan_device_queue.h"
|
| +#include "testing/gtest/include/gtest/gtest.h"
|
| +#include "ui/gfx/native_widget_types.h"
|
| +
|
| +namespace gpu {
|
| +
|
| +class BasicVulkanTest : public testing::Test {
|
| + public:
|
| + void SetUp() override;
|
| + void TearDown() override;
|
| +
|
| + gfx::AcceleratedWidget window() const { return window_; }
|
| + VulkanDeviceQueue* GetDeviceQueue() { return &device_queue_; }
|
| +
|
| + private:
|
| + VulkanDeviceQueue device_queue_;
|
| + gfx::AcceleratedWidget window_ = gfx::kNullAcceleratedWidget;
|
| +};
|
| +
|
| +} // namespace gpu
|
| +
|
| +#endif // GPU_VULKAN_TESTS_BASIC_VULKAN_TEST_H_
|
|
|