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

Unified Diff: components/mus/gles2/command_buffer_local_client.h

Issue 1854953002: Plumb GpuSwapBuffers completion from Mus GPU thread to WS thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review nits 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: components/mus/gles2/command_buffer_local_client.h
diff --git a/components/mus/gles2/command_buffer_local_client.h b/components/mus/gles2/command_buffer_local_client.h
index f4b3cb43814c7b46647c5bda6131308615a7c0bf..4999f7e4b3438a4e7d2e0cf4fb35f7c4408dff2d 100644
--- a/components/mus/gles2/command_buffer_local_client.h
+++ b/components/mus/gles2/command_buffer_local_client.h
@@ -7,12 +7,15 @@
#include <stdint.h>
+#include "ui/gfx/swap_result.h"
+
namespace mus {
class CommandBufferLocalClient {
public:
virtual void UpdateVSyncParameters(int64_t timebase, int64_t interval) = 0;
virtual void DidLoseContext() = 0;
+ virtual void GpuCompletedSwapBuffers(gfx::SwapResult result) = 0;
protected:
virtual ~CommandBufferLocalClient() {}

Powered by Google App Engine
This is Rietveld 408576698