0b002e2866
This change makes sure that all inputs to GrGpuRenderTargetCommandBuffer::draw to live and are valid throughout the entire execution of a given op list. This is achieved by either having the objects live on the Op itself or allocated on the flush states arena. This is needed for a future change to easily allow us to switch between using vulkan secondary and primary command buffer for executing draws. We will land this change now to see if there are any significant perf hits for not using the stack for these objects anymore. This change does not handle CCPR allocations, but those will need to be handled if this doesn't cause any problems and we move forward. Change-Id: I7ae94a8c645f21771342bea5d03850d2a0a1fcf5 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/233982 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com> |
||
---|---|---|
animations | ||
bench | ||
bin | ||
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.