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 #include "cc/output/vulkan_renderer.h" | 5 #include "cc/output/vulkan_renderer.h" |
6 | 6 |
7 namespace cc { | 7 namespace cc { |
8 | 8 |
9 VulkanRenderer::~VulkanRenderer() {} | 9 VulkanRenderer::~VulkanRenderer() {} |
10 | 10 |
| 11 const RendererCapabilitiesImpl& VulkanRenderer::Capabilities() const { |
| 12 return capabilities_; |
| 13 } |
| 14 |
11 void VulkanRenderer::SwapBuffers(const CompositorFrameMetadata& metadata) { | 15 void VulkanRenderer::SwapBuffers(const CompositorFrameMetadata& metadata) { |
12 CompositorFrame* compositor_frame = nullptr; | 16 CompositorFrame* compositor_frame = nullptr; |
13 output_surface_->SwapBuffers(compositor_frame); | 17 output_surface_->SwapBuffers(compositor_frame); |
14 } | 18 } |
15 | 19 |
16 void VulkanRenderer::ReceiveSwapBuffersAck(const CompositorFrameAck& ack) { | 20 void VulkanRenderer::ReceiveSwapBuffersAck(const CompositorFrameAck& ack) { |
17 NOTIMPLEMENTED(); | 21 NOTIMPLEMENTED(); |
18 } | 22 } |
19 | 23 |
20 VulkanRenderer::VulkanRenderer(const RendererSettings* settings, | 24 VulkanRenderer::VulkanRenderer(const RendererSettings* settings, |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 NOTIMPLEMENTED(); | 92 NOTIMPLEMENTED(); |
89 } | 93 } |
90 | 94 |
91 void VulkanRenderer::CopyCurrentRenderPassToBitmap( | 95 void VulkanRenderer::CopyCurrentRenderPassToBitmap( |
92 DrawingFrame* frame, | 96 DrawingFrame* frame, |
93 std::unique_ptr<CopyOutputRequest> request) { | 97 std::unique_ptr<CopyOutputRequest> request) { |
94 NOTIMPLEMENTED(); | 98 NOTIMPLEMENTED(); |
95 } | 99 } |
96 | 100 |
97 } // namespace cc | 101 } // namespace cc |
OLD | NEW |