From c8cdbf18de9b4399562a41f6e8fb92035183ae72 Mon Sep 17 00:00:00 2001
From: Micah Elizabeth Scott <micah@scanlime.org>
Date: Wed, 24 Jul 2013 16:31:22 -0700
Subject: [PATCH] To-do note, flow control

---
 server/fcdevice.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/server/fcdevice.cpp b/server/fcdevice.cpp
index 173358a..b96e813 100644
--- a/server/fcdevice.cpp
+++ b/server/fcdevice.cpp
@@ -266,6 +266,9 @@ void FCDevice::writeFramebuffer()
 	/*
 	 * Asynchronously write the current framebuffer.
 	 * Note that the OS will copy our framebuffer at submit-time.
+	 *
+	 * XXX: To-do, flow control. If more than one frame is pending, we need to be able to
+	 *      tell clients that we're going too fast, *or* we need to drop frames.
 	 */
 
 	submitTransfer(new Transfer(this, &mFramebuffer, sizeof mFramebuffer));
-- 
GitLab