rendernodeparser: Detect duplicates and print them by name
authorBenjamin Otte <otte@redhat.com>
Tue, 28 Mar 2023 21:47:49 +0000 (23:47 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 29 Mar 2023 01:53:52 +0000 (03:53 +0200)
commit0d6a6a5997ddc5c0b674c1c2c3414093ad57cc42
treec0e79d3416165fb31d5e5b247f75611b528a6b8a
parent5a0c4de07f75d89e5b84f9dcade7b17c019433d8
rendernodeparser: Detect duplicates and print them by name

If we encounter a node or texture the 1st time and they are going
to be used again, give them a name.

Then, when encountering them again, print them by name instead
of duplicating them.
gsk/gskrendernodeparser.c