426274b880
Mostly this is a lot of plumbing of sk_sp around instead of const*. This does allow the d3d and vk backends to hold refs to the GrBuffers that are bound on a command buffer. This means that our buffer alloc pools will not try to reuse this buffers until the gpu is done with them. Previously vk and d3d will sniff out if one of these buffers was being used again while still active on the gpu and rip out the internal backend buffer and allocate a new one which is not cheap. We see a lot of perf wins from not doing this. Change-Id: I9ffe649151ee43066dce620bd3e2763b029a9811 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/303583 Reviewed-by: Jim Van Verth <jvanverth@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com> |
||
---|---|---|
animations | ||
bench | ||
bin | ||
build/fuchsia | ||
build_overrides | ||
client_utils/android | ||
demos.skia.org | ||
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.