| 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 std::unique_ptr<VulkanRenderer> VulkanRenderer::Create( | |
| 10 RendererClient* client, | |
| 11 const RendererSettings* settings, | |
| 12 OutputSurface* output_surface, | |
| 13 ResourceProvider* resource_provider, | |
| 14 TextureMailboxDeleter* texture_mailbox_deleter, | |
| 15 int highp_threshold_min) { | |
| 16 return std::unique_ptr<VulkanRenderer>( | |
| 17 new VulkanRenderer(client, settings, output_surface, resource_provider, | |
| 18 texture_mailbox_deleter, highp_threshold_min)); | |
| 19 } | |
| 20 | |
| 21 VulkanRenderer::~VulkanRenderer() {} | 9 VulkanRenderer::~VulkanRenderer() {} |
| 22 | 10 |
| 23 const RendererCapabilitiesImpl& VulkanRenderer::Capabilities() const { | 11 const RendererCapabilitiesImpl& VulkanRenderer::Capabilities() const { |
| 24 return capabilities_; | 12 return capabilities_; |
| 25 } | 13 } |
| 26 | 14 |
| 27 void VulkanRenderer::Finish() { | 15 void VulkanRenderer::Finish() { |
| 28 NOTIMPLEMENTED(); | 16 NOTIMPLEMENTED(); |
| 29 } | 17 } |
| 30 | 18 |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 NOTIMPLEMENTED(); | 97 NOTIMPLEMENTED(); |
| 110 } | 98 } |
| 111 | 99 |
| 112 void VulkanRenderer::CopyCurrentRenderPassToBitmap( | 100 void VulkanRenderer::CopyCurrentRenderPassToBitmap( |
| 113 DrawingFrame* frame, | 101 DrawingFrame* frame, |
| 114 std::unique_ptr<CopyOutputRequest> request) { | 102 std::unique_ptr<CopyOutputRequest> request) { |
| 115 NOTIMPLEMENTED(); | 103 NOTIMPLEMENTED(); |
| 116 } | 104 } |
| 117 | 105 |
| 118 } // namespace cc | 106 } // namespace cc |
| OLD | NEW |