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

Unified Diff: content/common/gpu/gpu_command_buffer_stub.h

Issue 1776453003: Added initial implementation of Vulkan Render Passes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn_vulkan
Patch Set: Ensure vulkan handles all initialized to null, check destruction in destructor Created 4 years, 9 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/common/gpu/gpu_command_buffer_stub.h
diff --git a/content/common/gpu/gpu_command_buffer_stub.h b/content/common/gpu/gpu_command_buffer_stub.h
index e20388717304d1dbd9fa84780a07431e22a5661a..4d3437ab7677126f8f52e3ef2b0a4326ff07d61d 100644
--- a/content/common/gpu/gpu_command_buffer_stub.h
+++ b/content/common/gpu/gpu_command_buffer_stub.h
@@ -36,6 +36,12 @@
#include "ui/gl/gpu_preference.h"
#include "url/gurl.h"
+namespace gfx {
+#if defined(ENABLE_VULKAN)
+class VulkanSurface;
+#endif
+}
+
namespace gpu {
struct Mailbox;
struct SyncToken;
@@ -259,6 +265,9 @@ class GpuCommandBufferStub
scoped_ptr<gpu::GpuScheduler> scheduler_;
scoped_ptr<gpu::SyncPointClient> sync_point_client_;
scoped_refptr<gfx::GLSurface> surface_;
+#if defined(ENABLE_VULKAN)
+ scoped_ptr<gfx::VulkanSurface> vk_surface_;
+#endif
piman 2016/03/09 01:25:33 I don't think we should be touching GpuCommandBuff
David Yen 2016/03/10 01:39:48 Still working on this, just fixed everything else
David Yen 2016/03/11 01:01:16 This has been reverted and tested through the vulk
gfx::GLSurface::Format surface_format_;
GpuWatchdog* watchdog_;

Powered by Google App Engine
This is Rietveld 408576698