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

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

Issue 2034583002: Initialize the Display's renderer when the Display is initialized. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@displaytest
Patch Set: displayinit: . Created 4 years, 4 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/surfaces/display.cc » ('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 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
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
OLDNEW
« no previous file with comments | « cc/output/vulkan_renderer.h ('k') | cc/surfaces/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698