zarzet
f232ac284e
perf(player): mask only the faded band of the full-screen cover
...
The Material full-screen cover (the default) faded into its blurred
surface through one ShaderMask over the whole cover box. A shader mask
layer renders its children offscreen at the size of their paint bounds,
so every raster of the frame, 30 times a second while playing, drew the
whole cover (about 1.4 MP on a 1080 x 2340 phone) into an offscreen
target and composited it back, although the gradient is pure white over
the top 72% of the box.
The Hero now holds two copies of the same artwork (one provider, one
decode). The rows above the fade are clipped and drawn directly; the
band from one device pixel above the first faded row down goes through
a mask layer whose rect is that band, with the same gradient laid over
the whole box and the copy clipped to the band. Both copies stay inside
the Hero and the lyrics AnimatedOpacity, so the opening flight and the
lyrics fade keep their look and timing.
Measured in the layer tree at 1080 x 2340, 2.625x: the masked rect drops
from 411 x 499 dp to 411 x 140 dp (28.1% of the box, 72% less offscreen
area). Captures against the old tree at four sizes and dprs, three covers
(opaque, noise, translucent noise), through opening, drag, settle,
lyrics fade and both closes stay within one level per channel, except
two levels during the 300 ms lyrics fade, where the opacity now reaches
the upper rows directly instead of through an 8-bit offscreen copy.
2026-10-31 22:16:38 +07:00
..
2026-10-31 00:52:56 +07:00
2026-10-30 03:53:38 +07:00
2026-10-20 12:00:44 +07:00
2026-10-31 07:17:58 +07:00
2026-10-23 23:14:38 +07:00
2026-10-20 12:00:44 +07:00
2026-10-20 03:37:21 +07:00
2026-10-28 00:16:32 +07:00
2026-10-20 12:00:44 +07:00
2026-10-23 23:14:57 +07:00
2026-10-20 12:00:44 +07:00
2026-10-24 00:12:34 +07:00
2026-10-20 12:00:44 +07:00
2026-10-24 00:12:34 +07:00
2026-10-20 12:00:44 +07:00
2026-10-22 01:41:09 +07:00
2026-10-23 23:08:48 +07:00
2026-10-20 12:00:44 +07:00
2026-10-20 12:00:44 +07:00
2026-10-25 15:45:49 +07:00
2026-10-23 19:17:37 +07:00
2026-10-22 01:09:35 +07:00
2026-10-20 12:00:44 +07:00
2026-10-20 12:00:44 +07:00
2026-10-20 12:00:44 +07:00
2026-10-26 01:56:40 +07:00
2026-10-20 12:00:44 +07:00
2026-10-20 12:00:44 +07:00
2026-10-24 00:12:34 +07:00
2026-10-22 01:41:09 +07:00
2026-10-22 01:41:09 +07:00
2026-10-22 15:31:45 +07:00
2026-10-22 15:31:45 +07:00
2026-10-29 23:28:21 +07:00
2026-10-27 14:40:43 +07:00
2026-10-21 14:59:26 +07:00
2026-10-21 22:13:12 +07:00
2026-10-20 12:00:44 +07:00
2026-10-23 23:00:46 +07:00
2026-10-20 12:00:44 +07:00
2026-10-18 03:11:44 +07:00
2026-10-30 14:44:25 +07:00
2026-10-23 22:49:09 +07:00
2026-10-20 17:38:54 +07:00
2026-10-29 02:23:07 +07:00
2026-10-25 12:55:40 +07:00
2026-10-20 12:00:44 +07:00
2026-10-20 12:00:44 +07:00
2026-10-23 23:22:02 +07:00
2026-10-23 22:49:09 +07:00
2026-10-20 12:00:44 +07:00
2026-10-23 22:45:10 +07:00
2026-10-20 16:14:40 +07:00
2026-07-29 14:14:42 +07:00
2026-10-20 12:00:44 +07:00
2026-10-23 22:45:10 +07:00
2026-10-20 12:00:44 +07:00
2026-10-27 17:20:11 +07:00
2026-10-20 12:00:44 +07:00
2026-10-26 01:56:40 +07:00
2026-10-23 19:17:37 +07:00
2026-10-20 12:00:44 +07:00
2026-10-27 14:40:43 +07:00
2026-10-20 12:00:44 +07:00
2026-10-23 19:17:37 +07:00
2026-10-23 23:22:02 +07:00
2026-10-20 12:00:44 +07:00
2026-10-20 12:00:44 +07:00
2026-10-23 23:14:38 +07:00
2026-10-20 12:00:44 +07:00
2026-10-20 12:00:44 +07:00
2026-10-20 12:00:44 +07:00
2026-10-20 12:00:44 +07:00
2026-10-23 19:17:37 +07:00
2026-10-31 00:56:58 +07:00
2026-10-22 02:43:04 +07:00
2026-10-27 01:20:38 +07:00
2026-10-02 13:57:18 +07:00
2026-10-25 15:45:49 +07:00
2026-10-29 23:28:33 +07:00
2026-10-23 23:39:30 +07:00
2026-10-30 03:53:32 +07:00
2026-10-23 22:43:00 +07:00
2026-10-20 12:00:44 +07:00
2026-10-20 00:24:12 +07:00
2026-10-21 14:59:26 +07:00
2026-10-26 04:07:26 +07:00
2026-10-21 12:31:29 +07:00
2026-10-20 12:00:44 +07:00
2026-10-29 23:58:23 +07:00
2026-10-20 12:00:44 +07:00
2026-10-31 22:16:38 +07:00
2026-10-27 02:10:27 +07:00
2026-10-20 12:00:44 +07:00
2026-10-20 12:00:44 +07:00
2026-10-21 14:59:26 +07:00
2026-10-21 14:59:26 +07:00
2026-10-30 03:53:32 +07:00
2026-10-23 19:21:28 +07:00
2026-10-22 02:43:17 +07:00
2026-10-29 23:28:33 +07:00
2026-10-23 22:52:33 +07:00
2026-10-28 00:26:32 +07:00
2026-10-23 19:17:37 +07:00
2026-10-25 16:36:32 +07:00
2026-10-25 16:36:32 +07:00
2026-10-20 12:00:44 +07:00
2026-09-19 12:10:10 +07:00
2026-09-26 03:50:52 +07:00
2026-10-20 12:00:44 +07:00
2026-10-30 03:53:32 +07:00
2026-10-20 12:00:44 +07:00
2026-10-30 03:53:32 +07:00
2026-10-23 22:43:00 +07:00
2026-10-20 12:00:44 +07:00
2026-10-24 23:10:27 +07:00
2026-10-25 23:36:03 +07:00
2026-10-20 18:28:11 +07:00
2026-10-20 12:00:44 +07:00
2026-10-10 17:19:35 +07:00
2026-10-30 00:33:07 +07:00
2026-10-21 22:13:12 +07:00
2026-10-18 22:42:38 +07:00
2026-10-21 12:59:55 +07:00
2026-10-23 23:22:02 +07:00
2026-10-20 12:00:44 +07:00
2026-10-05 19:20:05 +07:00
2026-10-20 03:37:21 +07:00
2026-10-27 17:55:36 +07:00
2026-10-21 22:13:12 +07:00
2026-10-23 22:28:23 +07:00
2026-10-28 20:43:10 +07:00
2026-10-30 14:44:25 +07:00
2026-10-27 02:10:27 +07:00
2026-10-21 22:13:12 +07:00
2026-10-20 12:00:44 +07:00
2026-10-25 15:45:49 +07:00
2026-10-25 00:26:10 +07:00
2026-10-26 01:33:56 +07:00
2026-10-26 00:55:09 +07:00
2026-10-29 23:58:23 +07:00
2026-10-23 23:08:48 +07:00
2026-10-28 20:43:10 +07:00
2026-10-30 14:44:25 +07:00
2026-10-20 12:00:44 +07:00
2026-10-25 23:36:03 +07:00
2026-10-18 00:46:51 +07:00
2026-10-29 02:22:48 +07:00
2026-10-22 01:41:09 +07:00
2026-10-25 15:45:49 +07:00
2026-10-25 12:55:40 +07:00
2026-10-20 12:00:44 +07:00
2026-10-22 01:41:09 +07:00
2026-10-29 01:48:14 +07:00
2026-07-12 18:58:16 +07:00
2026-10-21 11:34:57 +07:00
2026-10-21 23:22:07 +07:00
2026-10-21 20:11:35 +07:00
2026-10-26 01:14:03 +07:00
2026-10-31 07:17:58 +07:00
2026-10-21 22:24:11 +07:00
2026-10-21 22:13:12 +07:00
2026-10-23 19:17:00 +07:00
2026-10-22 02:43:04 +07:00
2026-10-21 14:59:26 +07:00
2026-10-25 00:55:18 +07:00
2026-10-24 00:12:34 +07:00
2026-07-27 14:31:39 +07:00
2026-10-26 01:14:04 +07:00
2026-10-30 18:55:58 +07:00
2026-10-24 03:27:23 +07:00
2026-10-29 23:28:33 +07:00
2026-10-25 16:36:32 +07:00
2026-08-28 19:57:40 +07:00
2026-10-23 22:35:26 +07:00
2026-10-20 12:00:44 +07:00