Go to file
Leon Scroggins III 1e43dce386 Android: Turn on select Skia tracepoints
In b/224677119, we found that turning on *all* of Skia tracing caused
regressions. We are separately turning it off, but we do find some value
in select tracepoints. Add back in the ones we care about. The remaining
tracepoints can still be turned on manually with the sysprop.

All of these tracepoints are already traced on other platforms (e.g.
Chrome, Flutter). Convert them to TRACE_EVENT0_ALWAYS, introduced in
I13fd77445e0d2a05e46b75629b37bab5f571b02e. (A better long term solution
will be to use categories, as tracked in b/232405757.)

For GrOps, we had an Android-specific tracepoint, added in
I18ac03676da058ba4af5bd6a0c375b3f17c3c399, as well as separate
TRACE_EVENT0 tracepoints with basically the same timing and label.
Remove the Android-specific version, and make the other one
TRACE_EVENT0_ALWAYS. This removes redundant child-parent pairs.

Bug: b/231627558
Bug: b/224677119
Bug: b/232226246
Test: perfetto
Change-Id: I03ce62062a0bde723d3b6ac026bd978b249ad9a4
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/540156
Commit-Queue: Leon Scroggins <scroggo@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2022-05-13 13:18:54 +00:00
bazel [infra] Add BazelBuild task to build CanvasKit on the CI with Bazel 2022-05-06 17:54:08 +00:00
bench Simplify CalcNumRadialSegmentsPerRadian signature 2022-05-11 17:44:05 +00:00
bin Revert "[infra] Remove old python scripts and urllib2 references" 2022-05-10 22:48:08 +00:00
build/fuchsia
build_overrides Set dawn_vulkan_tools_dir in Dawn's GN overrides 2022-04-14 17:05:33 +00:00
client_utils/android Revert "Move SkCamera.h to client_utils/android" 2022-04-25 12:33:01 +00:00
demos.skia.org [canvaskit] Add in fillText to spreadsheet demo for comparison 2022-02-15 15:35:43 +00:00
dm Allow use of ASAN with msvc. 2022-05-05 19:04:23 +00:00
docker [infra] Avoid timeouts in CreateDockerImage_Skia_WASM_Release 2022-04-08 12:26:54 +00:00
docs/examples Reland "Add kR8_unorm_SkColorType" 2022-02-10 18:00:19 +00:00
example [bazel] Put licenses() after legacy_exports 2022-05-02 15:04:33 +00:00
experimental Update SkVideoEncode/Decoder for latest libavcodec 2022-05-11 12:57:30 +00:00
fuzz Run SkSL unit tests with optimizations disabled. 2022-05-11 14:38:07 +00:00
gm Make runtimefunctions slide much cooler. 2022-05-11 21:18:53 +00:00
gn Prevent comma operator constant-folding or constant-expression-usage. 2022-05-11 22:52:24 +00:00
include Run SkSL unit tests with optimizations disabled. 2022-05-11 14:38:07 +00:00
infra Disable EmptyBlocksES3 test on Pixel 2XL/3. 2022-05-11 19:46:59 +00:00
modules [skottie] Fix Sphere effect lighting for transparency 2022-05-12 18:45:11 +00:00
platform_tools Fix bug where SkQP test that are always to be excluded are not. 2022-04-29 20:26:54 +00:00
resources [skottie] Fix Sphere effect lighting for transparency 2022-05-12 18:45:11 +00:00
samplecode Move src/gpu/tessellate/ types into skgpu::tess namespace 2022-05-06 19:57:42 +00:00
site Update docs to reference python3 2022-05-09 15:07:22 +00:00
specs [infra] Port serve.py from Python2 to 3 2021-08-31 15:28:19 +00:00
src Android: Turn on select Skia tracepoints 2022-05-13 13:18:54 +00:00
tests Prevent comma operator constant-folding or constant-expression-usage. 2022-05-11 22:52:24 +00:00
third_party Manual roll Dawn DEPS with updated bazel build 2022-05-12 18:27:19 +00:00
toolchain set up tools for building Skia on Mac semi hermetically 2022-05-04 16:56:46 +00:00
tools Revert "create ParticleDrawable for animated Skotties" 2022-05-11 23:35:08 +00:00
.bazelrc [infra] Add BazelBuild task to build CanvasKit on the CI with Bazel 2022-05-06 17:54:08 +00:00
.bazelversion [canvaskit] Add skottie to Bazel build 2022-02-04 19:18:27 +00:00
.clang-format no more bin packing in .clang-format 2021-03-04 17:22:50 +00:00
.clang-tidy
.gitignore [infra] Add BazelBuild task to build CanvasKit on the CI with Bazel 2022-05-06 17:54:08 +00:00
.gn Add support for ANGLE's Metal backend 2022-04-28 19:53:18 +00:00
.vpython [python3] Reland recipes -> python3 changes 2021-12-01 13:04:03 +00:00
AUTHORS Add missing include for std::begin and std::end in SkParseColor.cpp 2022-04-26 17:39:59 +00:00
BUILD.bazel [bazel] Put licenses() after legacy_exports 2022-05-02 15:04:33 +00:00
BUILD.gn Revert "create ParticleDrawable for animated Skotties" 2022-05-11 23:35:08 +00:00
codereview.settings
CONTRIBUTING
CQ_COMMITTERS
DEPS Roll vulkan-deps from edbeecb39d80 to 0ff867fa3164 (1 revision) 2022-05-13 08:34:45 +00:00
DIR_METADATA
go_repositories.bzl [infra] Update dep of infra repo 2022-04-28 13:20:10 +00:00
go.mod [infra] Update dep of infra repo 2022-04-28 13:20:10 +00:00
go.sum [infra] Fix go.sum 2022-04-28 18:01:34 +00:00
LICENSE
OWNERS [infra] Add wildcard OWNERS 2021-08-30 19:19:34 +00:00
OWNERS.android Update OWNERS.android with more details 2022-03-16 18:13:33 +00:00
package-lock.json [bazel] Make custom karma_test rule 2022-02-23 14:53:01 +00:00
package.json [bazel] Make custom karma_test rule 2022-02-23 14:53:01 +00:00
PRESUBMIT.py Fix presubmits for Python 3 2022-05-06 18:48:47 +00:00
public.bzl Rename SkCustomMesh to SkMesh 2022-05-09 13:36:21 +00:00
README
README.chromium
RELEASE_NOTES.txt Reland "Reland "Add anisotropic option to SkSamplingOptions."" 2022-04-29 19:28:52 +00:00
requirements.txt add Mac hash for MarkupSafe requirements 2022-04-13 15:39:27 +00:00
whitespace.txt Push shaders.skia.org. 2022-01-19 21:46:16 +00:00
WORKSPACE.bazel Roll emsdk to 3.1.9 2022-04-29 22:31:29 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.