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

Unified Diff: content/browser/compositor/browser_compositor_output_surface.h

Issue 1892303003: Added the Vulkan Context Provider implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed gyp file 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: content/browser/compositor/browser_compositor_output_surface.h
diff --git a/content/browser/compositor/browser_compositor_output_surface.h b/content/browser/compositor/browser_compositor_output_surface.h
index 02f284c18339d80b6a812d6fa0806f774bd4d25c..db0993f97cd4518c2b22e17cd85125451f4dc3bb 100644
--- a/content/browser/compositor/browser_compositor_output_surface.h
+++ b/content/browser/compositor/browser_compositor_output_surface.h
@@ -12,6 +12,7 @@
#include "cc/scheduler/begin_frame_source.h"
#include "content/common/content_export.h"
#include "ui/compositor/compositor_vsync_manager.h"
+#include "ui/gfx/native_widget_types.h"
namespace cc {
class SoftwareOutputDevice;
@@ -79,6 +80,13 @@ class CONTENT_EXPORT BrowserCompositorOutputSurface
const scoped_refptr<ui::CompositorVSyncManager>& vsync_manager,
base::SingleThreadTaskRunner* task_runner);
+#if defined(ENABLE_VULKAN)
piman 2016/04/19 23:42:02 ditto, works without ifdef?
+ // Constructor used by the Vulkan implementation.
+ BrowserCompositorOutputSurface(
+ const scoped_refptr<cc::VulkanContextProvider>& vulkan_context_provider,
+ const scoped_refptr<ui::CompositorVSyncManager>& vsync_manager);
+#endif
+
scoped_refptr<ui::CompositorVSyncManager> vsync_manager_;
std::unique_ptr<cc::SyntheticBeginFrameSource> synthetic_begin_frame_source_;
ReflectorImpl* reflector_;

Powered by Google App Engine
This is Rietveld 408576698