Go to file
Greg Daniel 0b002e2866 For non-ccpr draws make sure all inputs to GrGPUCommandBuffer are long lived.
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>
2019-08-12 19:06:10 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench gm: GMFactory returns a unique_ptr<> 2019-08-12 19:02:40 +00:00
bin Add bin/try-clients to trigger client tryjobs 2019-06-11 16:55:53 +00:00
build_overrides Update to Dawn ToT. 2019-07-22 16:20:36 +00:00
dm gm: GMFactory returns a unique_ptr<> 2019-08-12 19:02:40 +00:00
docker fix Dockerfile? 2019-06-24 16:34:59 +00:00
docs/examples Update docs and samplecode to use new image filter factories 2019-08-02 14:47:35 +00:00
example ModifierKey unifies sk_app::Window::ModifierKey & Sample::Click::ModifierKey 2019-07-09 16:16:41 +00:00
experimental experimental/editor/README.md fix 2019-08-12 14:36:01 +00:00
fuzz Move SkImageFilter functionality into private SkImageFilter_Base 2019-08-02 18:56:39 +00:00
gm gm: GMFactory returns a unique_ptr<> 2019-08-12 19:02:40 +00:00
gn Reland: Enable YCbCr sampler support on platforms other than Android 2019-08-12 14:21:01 +00:00
include Reland: Enable YCbCr sampler support on platforms other than Android 2019-08-12 14:21:01 +00:00
infra Roll recipe dependencies (trivial). 2019-08-12 18:32:10 +00:00
modules Build fix 2019-08-09 19:49:13 +00:00
platform_tools SkQP: Refactor Java method SkQP.runTests() 2019-07-24 13:54:15 +00:00
resources [skottie] Initial Hue/Saturate effect support 2019-08-02 18:04:14 +00:00
samplecode Move initilization of Lighting sample. 2019-08-09 20:42:39 +00:00
site documentation/build, BUILDCONFIG: Visual Studio Build Tools 2019 2019-07-12 14:17:16 +00:00
specs [img-decode] Start on proposed new spec 2019-05-06 17:39:19 +00:00
src For non-ccpr draws make sure all inputs to GrGPUCommandBuffer are long lived. 2019-08-12 19:06:10 +00:00
tests Reland: Enable YCbCr sampler support on platforms other than Android 2019-08-12 14:21:01 +00:00
third_party Roll third_party/externals/angle2 1ebe6014389e..1dbbc7b3e232 (5 commits) 2019-08-02 01:12:49 +00:00
tools gm: GMFactory returns a unique_ptr<> 2019-08-12 19:02:40 +00:00
.clang-format restore .clang-format 2019-03-21 15:52:32 +00:00
.clang-tidy add google-build-namespaces to clang-tidy checks 2018-12-12 16:33:59 +00:00
.gitignore clean up some .gitignores 2019-05-15 19:55:45 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Fix Metal includes breaking macOS local builds 2019-07-08 14:02:47 +00:00
BUILD.gn Reland "add a stub for running fiddles as GMs" 2019-08-09 16:22:51 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS Roll third_party/externals/angle2 eb0479e245f0..b90755ba7793 (12 commits) 2019-08-12 05:28:10 +00:00
go.mod Update Go deps 2019-08-12 05:25:10 +00:00
go.sum Update Go deps 2019-08-12 05:25:10 +00:00
LICENSE BUG=skia:5602 2016-09-02 11:19:34 -07:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py rewrite_includes.py: make it work on windows 2019-08-05 16:14:35 +00:00
public.bzl Reland "add a stub for running fiddles as GMs" 2019-08-09 16:22:51 +00:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
RELEASE_NOTES.txt Reland: Enable YCbCr sampler support on platforms other than Android 2019-08-12 14:21:01 +00:00
whitespace.txt Whitespace test 2019-05-18 13:05: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.