aboutsummaryrefslogtreecommitdiff
path: root/Gem/examples/14.multiple_windows/03.texture_sharing.pd
blob: 62f80cd299ad02c06c1754be6bc5735cd32eaacb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#N canvas 224 736 1147 233 10;
#X declare -lib Gem;
#X obj 33 169 gemwin 20 a;
#X obj 396 181 square;
#X obj 141 26 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 396 37 gemhead a;
#X text 158 24 1 create windows;
#X obj 396 104 pix_texture;
#X obj 596 181 square;
#X obj 596 155 pix_texture;
#X obj 396 72 pix_image ../data/fractal.JPG;
#X obj 596 59 translateXYZ 2 0 0;
#X obj 596 37 gemhead b;
#X obj 168 169 gemwin 20 b;
#X msg 596 4 context a;
#X msg 669 4 context b;
#X msg 80 118 destroy;
#X text 731 150 on Linux \, this is only supported by [gemglutwindow].
;
#X text 730 98 support for texture sharing is limited by Operating
System \, ggraphics hardware \, openGL implementation and the windowing
backend.;
#X msg 33 87 title a \, create \, 1;
#X msg 168 117 title b \, create \, 1;
#X obj 1030 16 declare -lib Gem;
#X obj 141 46 t b b;
#X obj 80 141 t a a;
#X connect 2 0 20 0;
#X connect 3 0 8 0;
#X connect 5 0 1 0;
#X connect 5 1 7 1;
#X connect 7 0 6 0;
#X connect 8 0 5 0;
#X connect 9 0 7 0;
#X connect 10 0 9 0;
#X connect 12 0 10 0;
#X connect 13 0 10 0;
#X connect 14 0 21 0;
#X connect 17 0 0 0;
#X connect 18 0 11 0;
#X connect 20 0 17 0;
#X connect 20 1 18 0;
#X connect 21 0 0 0;
#X connect 21 1 11 0;