Re: implems double buffering in Cairo
LRN <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
On 09.02.2016 23:37, Alex Vazquez wrote: > Hi! > i have some tearing in my app. And I think implement a double buffering. > My first idea is have two buffers and 1 cairo_surface but i don know if > it's possible swap the buffer once the cairo_surface has been created. I don't know much about cairo internals, but i think that double-buffering usually involves some kind of output device, on which stuff can be drawn from different sources. Usually that kind of stuff is buried deep in the very output device interface, which would, at best, expose it to you on its own terms, and at worst not have it at all. I think that maybe explaining what kind of surface you're actually using would at least bring some certainty about your situation and prompt people to tell you exactly how double-buffering is [not] done for these kinds of surfaces. -- O< ascii ribbon - stop html email! - www.asciiribbon.org -- cairo mailing list [email protected] https://lists.cairographics.org/mailman/listinfo/cairo
signature.asc
(application/pgp-signature, 473 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWu3R7AAoJEOs4Jb6SI2CwYt4IAM/VO6iWWrnlHnIRUlcnyyrL Oj+rEv8NFJZEJZh1ask2W3O+Ld5FB2wTf6rr/PjZ0ArL+vl9NSnThzhZcENfVqni Sml5/REaH4bsDtOIMKOlj0Zf4GQbMnF8EDgFkeYNaPCmJI4Gqt2cIpYHe3lwvtSt Gt2WaccAZbVgXw8m697yB7MycYu9qVqCTMkO0c2JCK7MbiiLzRy0StAWSfUAepOi fOMZUGeErbHouUXnLns93PwxDuOPpOcCMBsHrHhQn/1eg9u9KE3uYXWGpi5L0I5q 0MQHsW9d+CJM7BcM49UxICPEZT4+jX3diQNRfb3Zp3eW7OEXn94sP/7wd84yqfw= =hrIn -----END PGP SIGNATURE-----