43324e71fc
Log shader compile "cache miss" and "cache hit" tags. Shader compile tags are logged even if debug.hwui.skia_atrace_enabled is not enabled. "shader_compile" tag measures the total time to prepare the shader (regardless of cache miss or hit). "cache_hit" measures the time to load the binary program from cache (with glProgramBinary). "cache_miss" measures the time to compile from SkSL to GLSL, compile GLSL and link the program. Test: Ran systrace on android Bug: b/146635333 Change-Id: I984b9681cdcf78fc5f4a2e2ef0ad072ebc851ca1 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/264097 Reviewed-by: Brian Osman <brianosman@google.com> Reviewed-by: Derek Sollenberger <djsollen@google.com> Commit-Queue: Stan Iliev <stani@google.com> |
||
---|---|---|
animations | ||
bench | ||
bin | ||
build/fuchsia | ||
build_overrides | ||
dm | ||
docker | ||
docs/examples | ||
example | ||
experimental | ||
fuzz | ||
gm | ||
gn | ||
include | ||
infra | ||
modules | ||
platform_tools | ||
resources | ||
samplecode | ||
site | ||
specs | ||
src | ||
tests | ||
third_party | ||
tools | ||
.clang-format | ||
.clang-tidy | ||
.gitignore | ||
.gn | ||
AUTHORS | ||
BUILD.gn | ||
codereview.settings | ||
CONTRIBUTING | ||
CQ_COMMITTERS | ||
DEPS | ||
go.mod | ||
go.sum | ||
LICENSE | ||
OWNERS | ||
PRESUBMIT.py | ||
public.bzl | ||
README | ||
README.chromium | ||
RELEASE_NOTES.txt | ||
whitespace.txt |
Skia is a complete 2D graphic library for drawing Text, Geometries, and Images. See full details, and build instructions, at https://skia.org.