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

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

Issue 2402173002: cc: Get rid of PostSwapBuffersComplete. (Closed)
Patch Set: postswap: . Created 4 years, 2 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/vulkan_browser_compositor_output_surface.h
diff --git a/content/browser/compositor/vulkan_browser_compositor_output_surface.h b/content/browser/compositor/vulkan_browser_compositor_output_surface.h
index ed53ac0b1b29029a067a13ed7dea8543d012f6c8..18197eafe75b0577c33781fd8beed8ae9ded7062 100644
--- a/content/browser/compositor/vulkan_browser_compositor_output_surface.h
+++ b/content/browser/compositor/vulkan_browser_compositor_output_surface.h
@@ -21,8 +21,8 @@ class VulkanBrowserCompositorOutputSurface
: public BrowserCompositorOutputSurface {
public:
VulkanBrowserCompositorOutputSurface(
- const scoped_refptr<cc::VulkanContextProvider>& context,
- const scoped_refptr<ui::CompositorVSyncManager>& vsync_manager,
+ scoped_refptr<cc::VulkanContextProvider> context,
+ scoped_refptr<ui::CompositorVSyncManager> vsync_manager,
cc::SyntheticBeginFrameSource* begin_frame_source);
~VulkanBrowserCompositorOutputSurface() override;
@@ -41,6 +41,8 @@ class VulkanBrowserCompositorOutputSurface
void SwapBuffers(cc::CompositorFrame* frame) override;
private:
+ void SwapBuffersCallback();
boliu 2016/10/09 22:55:08 not needed?
danakj 2016/10/10 20:28:19 Done.
+
std::unique_ptr<gpu::VulkanSurface> surface_;
DISALLOW_COPY_AND_ASSIGN(VulkanBrowserCompositorOutputSurface);

Powered by Google App Engine
This is Rietveld 408576698