Default: avoid use of opacity for overlay scrollbars
authorChristian Hergert <chergert@redhat.com>
Tue, 22 Mar 2022 01:54:09 +0000 (18:54 -0700)
committerChristian Hergert <chergert@redhat.com>
Tue, 22 Mar 2022 05:10:23 +0000 (22:10 -0700)
commitb726a2d902c9ee080af21175fd09d704d9fd5030
treecc0ee2656af1f93b381319ebd6abaafe7e241b1f
parent654ae5928ab621247bcc43816887c90178990d16
Default: avoid use of opacity for overlay scrollbars

If using the opacity CSS property the renderer cannot optimize these
handles without the use of offscreens due to the use of both a border
and rgb render node.

Instead, we can apply the alpha to the color values and get the same
effect in a way that the GL renderer can optimize without the use of
offscreen textures for a sizeable reduction in runtime overhead.
gtk/theme/Default/_common.scss