You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jianglk.darker 7ee447c011
v811_spc009_project
4 months ago
..
README.md v811_spc009_project 4 months ago
VERSION v811_spc009_project 4 months ago

README.md

Text Blob Traces

Create

Download and build Chromium as usual, but add the line

#define SK_CAPTURE_DRAW_TEXT_BLOB

to the top of third_party/skia/src/core/SkRemoteGlyphCache.h. Run chrome --no-sandbox URL Trace files will be written to the current working directory. Use blob_cache_sim to check the contents of the trace.

Upload

To upload a new version of the assets, first place the new version in the directory text_blob_traces, then execute:

infra/bots/assets/assets.py upload -t text_blob_traces text_blob_traces

Then commit the file infra/bots/assets/text_blob_traces/VERSION

Download

Execute:

infra/bots/assets/assets.py download -t text_blob_traces text_blob_traces

Run Bench and Simulator

tools/git-sync-deps
bin/gn gen out/release --args='is_debug=false'
ninja -C out/release nanobench blob_cache_sim

out/release/nanobench -m SkDiffBench --texttraces text_blob_traces -q

out/release/blob_cache_sim text_blob_traces/*