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

Unified Diff: cc/output/output_surface.h

Issue 1892303003: Added the Vulkan Context Provider implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
Index: cc/output/output_surface.h
diff --git a/cc/output/output_surface.h b/cc/output/output_surface.h
index da4b647bdbb81e0f54fc54e2b83e91dd698b026f..7da4cc0af8904ab36a2082db2fddd910e502feec 100644
--- a/cc/output/output_surface.h
+++ b/cc/output/output_surface.h
@@ -60,7 +60,8 @@ class CC_EXPORT OutputSurface : public base::trace_event::MemoryDumpProvider {
explicit OutputSurface(scoped_refptr<ContextProvider> context_provider);
#if defined(ENABLE_VULKAN)
explicit OutputSurface(
- scoped_refptr<VulkanContextProvider> vulkan_context_provider);
+ scoped_refptr<VulkanContextProvider> vulkan_context_provider,
+ bool use_vulkan);
piman 2016/04/19 01:36:42 What's the reason for use_vulkan, it's not used ex
David Yen 2016/04/19 22:20:27 This was so I could override the constructor, it c
piman 2016/04/19 23:29:57 I think you're running into a scoped_refptr limita
#endif
explicit OutputSurface(std::unique_ptr<SoftwareOutputDevice> software_device);

Powered by Google App Engine
This is Rietveld 408576698