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