Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(442)

Side by Side Diff: cc/output/vulkan_renderer.cc

Issue 2282433002: Revert of cc: Delete all the RendererCapabilities. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-prepare-mailbox-param
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/output/vulkan_renderer.h ('k') | cc/test/fake_channel_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « cc/output/vulkan_renderer.h ('k') | cc/test/fake_channel_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698