rendernode: Don't do unnecessary stuff
authorBenjamin Otte <otte@redhat.com>
Mon, 13 Feb 2023 00:23:28 +0000 (01:23 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 3 Mar 2023 17:24:46 +0000 (11:24 -0600)
commit88dd64551cbb82983f780c3e8c9b6b6ebcb1ae7d
treedafe8af70a5ed3b91e501020c24d1bd93db071c0
parent98eac8ac830d6c98d3cb187831555b007aaa932b
rendernode: Don't do unnecessary stuff

Cairo surfaces are created transparent.

And even if they weren't, overdrawing with transparency wouldn't erase
what's in the surface because it's a no-op.

It would require CAIRO_OPERATOR_CLEAR or CAIRO_OPERATOR_SOURCE.
gsk/gskrendernodeimpl.c