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

Unified Diff: cc/output/vulkan_renderer.h

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/output/software_renderer_unittest.cc ('k') | cc/output/vulkan_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/vulkan_renderer.h
diff --git a/cc/output/vulkan_renderer.h b/cc/output/vulkan_renderer.h
index 076a7c87414cb558dcec33efb432db1aa4609908..2d78aa15971099a5a256536be1417c4ded2e00d7 100644
--- a/cc/output/vulkan_renderer.h
+++ b/cc/output/vulkan_renderer.h
@@ -15,14 +15,12 @@ class TextureMailboxDeleter;
class CC_EXPORT VulkanRenderer : public DirectRenderer {
public:
- static std::unique_ptr<VulkanRenderer> Create(
- RendererClient* client,
- const RendererSettings* settings,
- OutputSurface* output_surface,
- ResourceProvider* resource_provider,
- TextureMailboxDeleter* texture_mailbox_deleter,
- int highp_threshold_min);
-
+ VulkanRenderer(RendererClient* client,
+ const RendererSettings* settings,
+ OutputSurface* output_surface,
+ ResourceProvider* resource_provider,
+ TextureMailboxDeleter* texture_mailbox_deleter,
+ int highp_threshold_min);
~VulkanRenderer() override;
// Implementation of public Renderer functions.
@@ -32,13 +30,6 @@ class CC_EXPORT VulkanRenderer : public DirectRenderer {
void ReceiveSwapBuffersAck(const CompositorFrameAck& ack) override;
protected:
- VulkanRenderer(RendererClient* client,
- const RendererSettings* settings,
- OutputSurface* output_surface,
- ResourceProvider* resource_provider,
- TextureMailboxDeleter* texture_mailbox_deleter,
- int highp_threshold_min);
-
// Implementations of protected Renderer functions.
void DidChangeVisibility() override;
« no previous file with comments | « cc/output/software_renderer_unittest.cc ('k') | cc/output/vulkan_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698