[PD] [gem] gemframebuffer > pix_buffer_write

IOhannes m zmoelnig zmoelnig at iem.at
Wed Jun 20 12:17:35 CEST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2012-06-20 11:53, pierre at 314r.net wrote:
> Hi all, I would like to know if there is a way to record a
> [gemframebuffer] into a [pix_buffer 1000] my goal is to be able to
> record a gemchain animation (5 seconds maybe) and replay it
> (forward, backward, etc) I know that [pix_snap] with [pix_buffer]
> could do the job, but it eat a lot of cpu, so a solution with
> [gemframebuffer] would be better...
> 

no. the problem you have is that you have to transfer whatever is
rendered into a framebuffer (whether this is [gemframebuffer] or
[gemwin] doesn't matter) back to main memory (which is what [pix_snap]
does), and that is usually slow.

you might try to use a shader to transfer data within texture-memory
(rather than between texture-memory and main-memory)

fgmasdr
IOhannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/hoz8ACgkQkX2Xpv6ydvSsEACfegmtwNpVtYtFbx4zuwx7+WL9
IcgAoOJURAb0pbeguXMNUdPnrRWG5CPK
=5GsI
-----END PGP SIGNATURE-----

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2320 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20120620/4908d02e/attachment.bin>


More information about the Pd-list mailing list