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

Unified Diff: cc/output/vulkan_renderer.h

Issue 2423333002: Fixed compilation errors in vulkan_renderer.h with enable_vulkan Flag. (Closed)
Patch Set: Fixed compilation errors in vulkan_renderer.h with enable_vulkan Flag. 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
« no previous file with comments | « AUTHORS ('k') | cc/output/vulkan_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/vulkan_renderer.h
diff --git a/cc/output/vulkan_renderer.h b/cc/output/vulkan_renderer.h
index 513e4757c12204bc3e91daffe622dbe619649ea7..45b34a847be076e882f1e42e58d1fdbc6911ee38 100644
--- a/cc/output/vulkan_renderer.h
+++ b/cc/output/vulkan_renderer.h
@@ -7,6 +7,7 @@
#include "cc/base/cc_export.h"
#include "cc/output/direct_renderer.h"
+#include "ui/events/latency_info.h"
namespace cc {
@@ -22,8 +23,7 @@ class CC_EXPORT VulkanRenderer : public DirectRenderer {
~VulkanRenderer() override;
// Implementation of public DirectRenderer functions.
- void SwapBuffers(const CompositorFrameMetadata& metadata) override;
- void ReceiveSwapBuffersAck(const CompositorFrameAck& ack) override;
+ void SwapBuffers(std::vector<ui::LatencyInfo> latency_info) override;
protected:
// Implementations of protected Renderer functions.
@@ -46,11 +46,10 @@ class CC_EXPORT VulkanRenderer : public DirectRenderer {
bool FlippedFramebuffer(const DrawingFrame* frame) const override;
void EnsureScissorTestEnabled() override;
void EnsureScissorTestDisabled() override;
- void DiscardBackbuffer() override;
- void EnsureBackbuffer() override;
void CopyCurrentRenderPassToBitmap(
DrawingFrame* frame,
std::unique_ptr<CopyOutputRequest> request) override;
+ bool CanPartialSwap() override;
private:
DISALLOW_COPY_AND_ASSIGN(VulkanRenderer);
« no previous file with comments | « AUTHORS ('k') | cc/output/vulkan_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698