go.*,widget: add initial emoji rendering benchmarks

This commit upgrades our version of eliasnaur.com/font to include a color
emoji font and uses that to benchmark displaying large quantities of emoji.
As expected, this is very slow when the strings change frequently, and uses
silly amounts of memory. Future commits will work to improve this.

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
This commit is contained in:
Chris Waldon
2023-03-08 12:25:55 -05:00
committed by Elias Naur
parent 6ab3ff40a6
commit 3bdbcab874
3 changed files with 26 additions and 5 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ module gioui.org
go 1.18
require (
eliasnaur.com/font v0.0.0-20220124212145-832bb8fc08c3
eliasnaur.com/font v0.0.0-20230308162249-dd43949cb42d
gioui.org/cpu v0.0.0-20210817075930-8d6a761490d2
gioui.org/shader v1.0.6
github.com/go-text/typesetting v0.0.0-20230327140021-5bac583ebb4f