But what if the write took longer than a frame interval? she thought. What if the read was waiting while the write was happening?
“The shared buffer. We’re treating it like a single mailbox. The web postman drops off a letter, but he has to wait until the native postman picks it up before he can leave. By the time he drops off the next letter, the car’s wheels have already turned twice.”
“Or,” Elara said, a dangerous smile playing on her lips, “we stop asking CEF to render at all. We make CEF give us the raw pixels on a separate high-priority thread. We become the compositor.”