mirror of
https://github.com/burakgon/OpenScreens.git
synced 2026-12-06 09:51:49 +08:00
The canvases drew a Standard session, and every session with a computer that is not a Mac, by putting each picture the engine published into a layer of their own. A picture was an image of the whole screen, made for every change to it, and cut down again when one display of several was shown. They now host the layer the engine draws on, beside the ones it draws High Performance video on, and the session asks the engine to draw there. The engine copies what changed and nothing else, and shows a Mac's screen a whole frame at a time. What that does is measured in the engine's change: on a still desktop of 3440 by 1440 the app took 73% of a processor core and takes 29 to 30%, and 96 to 99% of the Mac's frames reach the glass whole where 59 to 61% did. Nothing in the app read the engine's image but the canvases. A picture of a session, for its card in the library or a screenshot, is made from what is on the layer. Two tests hold it there. On the Mac, a session to the test server has its picture on the engine's layer, the layer follows the server's screen, no image is published, and nothing is left on the layer when the session ends. On an iPhone in the Simulator, what is on the glass is compared with what the server shows at 243 places; with the layer left out of the canvas, none of the 243 was alike.