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

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

Issue 2401923002: Added dummy definition for CanPartialSwap() in VulkanRenderer class
Patch Set: Created 4 years, 2 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') | no next file » | 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 void VulkanRenderer::SwapBuffers(const CompositorFrameMetadata& metadata) { 11 void VulkanRenderer::SwapBuffers(const CompositorFrameMetadata& metadata) {
12 CompositorFrame* compositor_frame = nullptr; 12 CompositorFrame* compositor_frame = nullptr;
13 output_surface_->SwapBuffers(compositor_frame); 13 output_surface_->SwapBuffers(compositor_frame);
14 } 14 }
15 15
16 void VulkanRenderer::ReceiveSwapBuffersAck(const CompositorFrameAck& ack) { 16 void VulkanRenderer::ReceiveSwapBuffersAck(const CompositorFrameAck& ack) {
17 NOTIMPLEMENTED(); 17 NOTIMPLEMENTED();
18 } 18 }
19 19
20 bool VulkanRenderer::CanPartialSwap() {
21 NOTIMPLEMENTED();
22 return true;
23 }
24
20 VulkanRenderer::VulkanRenderer(const RendererSettings* settings, 25 VulkanRenderer::VulkanRenderer(const RendererSettings* settings,
21 OutputSurface* output_surface, 26 OutputSurface* output_surface,
22 ResourceProvider* resource_provider, 27 ResourceProvider* resource_provider,
23 TextureMailboxDeleter* texture_mailbox_deleter, 28 TextureMailboxDeleter* texture_mailbox_deleter,
24 int highp_threshold_min) 29 int highp_threshold_min)
25 : DirectRenderer(settings, output_surface, resource_provider) {} 30 : DirectRenderer(settings, output_surface, resource_provider) {}
26 31
27 void VulkanRenderer::DidChangeVisibility() { 32 void VulkanRenderer::DidChangeVisibility() {
28 NOTIMPLEMENTED(); 33 NOTIMPLEMENTED();
29 } 34 }
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 NOTIMPLEMENTED(); 93 NOTIMPLEMENTED();
89 } 94 }
90 95
91 void VulkanRenderer::CopyCurrentRenderPassToBitmap( 96 void VulkanRenderer::CopyCurrentRenderPassToBitmap(
92 DrawingFrame* frame, 97 DrawingFrame* frame,
93 std::unique_ptr<CopyOutputRequest> request) { 98 std::unique_ptr<CopyOutputRequest> request) {
94 NOTIMPLEMENTED(); 99 NOTIMPLEMENTED();
95 } 100 }
96 101
97 } // namespace cc 102 } // namespace cc
OLDNEW
« no previous file with comments | « cc/output/vulkan_renderer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698