Files
frameworks_base/libs/hwui
Arun 06e9f324ef Optimised hwui rounded corners shader
This is a ~2x performance increase for the rounded corners shader which
was previously shader limited even on many high-end GPUs. It simplifies
the calculations by pre-dividing by the radius, which also allows to
maintain mediump/FP16 precision (this improves performance and might
improve image quality on GPUs that don't support highp e.g. Mali-400).
It also uses a conditional in the shader to save much of the work on
the vast majority of pixels which are not close to the corners.

Test: manual - visual inspection on fugu (nexus player)

Change-Id: I38f491cfb006e2991ef0b9d6b3d67d2c4d328d44
2017-06-01 13:42:12 -07:00
..
2017-02-28 14:19:44 -08:00
2017-05-08 10:24:22 -07:00
2017-05-04 10:11:54 -07:00
2016-01-06 14:04:22 -08:00
2016-04-05 20:42:37 +00:00
2016-07-14 14:37:08 -07:00
2016-01-25 16:15:14 -08:00
2016-01-20 13:16:24 -08:00
2016-03-11 14:33:26 -08:00
2016-08-02 09:38:26 -07:00
2016-02-11 14:35:08 -08:00
…
2016-08-10 23:26:59 +00:00
2017-04-30 23:54:08 -07:00
2016-03-17 11:02:07 -07:00
2016-03-23 07:59:10 -07:00
2016-01-14 13:42:12 -08:00
2016-03-23 07:59:10 -07:00
…
…
…
…
…
2016-09-01 14:10:20 -07:00
2016-01-14 13:42:12 -08:00
2016-04-07 15:02:39 -07:00
2016-08-01 16:36:14 -07:00
2016-08-01 16:36:14 -07:00
2016-04-18 14:34:18 -07:00
…
…