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_; |