OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef GPU_VULKAN_TESTS_BASIC_VULKAN_TEST_H_ |
| 6 #define GPU_VULKAN_TESTS_BASIC_VULKAN_TEST_H_ |
| 7 |
| 8 #include "gpu/vulkan/vulkan_device_queue.h" |
| 9 #include "testing/gtest/include/gtest/gtest.h" |
| 10 #include "ui/gfx/native_widget_types.h" |
| 11 |
| 12 namespace gpu { |
| 13 |
| 14 class BasicVulkanTest : public testing::Test { |
| 15 public: |
| 16 void SetUp() override; |
| 17 void TearDown() override; |
| 18 |
| 19 gfx::AcceleratedWidget window() const { return window_; } |
| 20 VulkanDeviceQueue* GetDeviceQueue() { return &device_queue_; } |
| 21 |
| 22 private: |
| 23 VulkanDeviceQueue device_queue_; |
| 24 gfx::AcceleratedWidget window_ = gfx::kNullAcceleratedWidget; |
| 25 }; |
| 26 |
| 27 } // namespace gpu |
| 28 |
| 29 #endif // GPU_VULKAN_TESTS_BASIC_VULKAN_TEST_H_ |
OLD | NEW |