OLD | NEW |
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CC_OUTPUT_VULKAN_RENDERER_H_ | 5 #ifndef CC_OUTPUT_VULKAN_RENDERER_H_ |
6 #define CC_OUTPUT_VULKAN_RENDERER_H_ | 6 #define CC_OUTPUT_VULKAN_RENDERER_H_ |
7 | 7 |
8 #include "cc/base/cc_export.h" | 8 #include "cc/base/cc_export.h" |
9 #include "cc/output/direct_renderer.h" | 9 #include "cc/output/direct_renderer.h" |
10 #include "cc/output/renderer.h" | |
11 | 10 |
12 namespace cc { | 11 namespace cc { |
13 | 12 |
14 class TextureMailboxDeleter; | 13 class TextureMailboxDeleter; |
15 | 14 |
16 class CC_EXPORT VulkanRenderer : public DirectRenderer { | 15 class CC_EXPORT VulkanRenderer : public DirectRenderer { |
17 public: | 16 public: |
18 VulkanRenderer(const RendererSettings* settings, | 17 VulkanRenderer(const RendererSettings* settings, |
19 OutputSurface* output_surface, | 18 OutputSurface* output_surface, |
20 ResourceProvider* resource_provider, | 19 ResourceProvider* resource_provider, |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 DrawingFrame* frame, | 52 DrawingFrame* frame, |
54 std::unique_ptr<CopyOutputRequest> request) override; | 53 std::unique_ptr<CopyOutputRequest> request) override; |
55 | 54 |
56 private: | 55 private: |
57 DISALLOW_COPY_AND_ASSIGN(VulkanRenderer); | 56 DISALLOW_COPY_AND_ASSIGN(VulkanRenderer); |
58 }; | 57 }; |
59 | 58 |
60 } // namespace cc | 59 } // namespace cc |
61 | 60 |
62 #endif // CC_OUTPUT_VULKAN_RENDERER_H_ | 61 #endif // CC_OUTPUT_VULKAN_RENDERER_H_ |
OLD | NEW |