A screenshot of KCachegrind showing 3.47M cycles for 873 calls of _draw_screen, making it 3980 cycles on average.
https://static.piaille.fr/media_attachments/files/114/106/048/280/172/906/original/219c25527790947b.png
The start screen, integrated. Also just committed a reorganisation/cleanup of the code, splitting it into more functions rather than the previous enormous loop. This allows me to get nice call graphs with KCachegrind, in which I confirm that my whole screen drawing is just under 4000 cycles on average.
It makes it faster than it takes the ray to reach the top-left of the screen during vertical blanking (4550 cycles) and leads to no tearing or flickering!
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.