Go to file
Greg Daniel 32d6c8d024 When wrapped, store ref to GrVkSecondaryCommandBuffer on GrVkRenderTarget.
We need the wrapped GrVkSeocndaryCommandBuffer to live, holding refs to
GrVkResources until the GPU is done with the work. However, we don't know
ourselves when the command buffer gets submitted or when the GPU is done
since the client handles on that in the wrapped case. Our spec for wrapped
secondary command buffers requires to the client to keep the
GrSecondaryCommandBufferContext alive till the GPU is done the work so we
can use that to manage our needed lifetime as well. By putting the
GrVkSecondaryCommandBuffer on the GrVkRenderTarget, which is owned by the
SkGpuDevice in the above GrSCBContext, or lifetime should match what we need.

Change-Id: I7cdd92089bed390548ebf33f9d5c7e714bacc9c5
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/256361
Commit-Queue: Greg Daniel <egdaniel@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2019-11-25 21:50:06 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Revert "Reland "Revert "Use flat version of path-direction enum""" 2019-11-22 19:09:54 +00:00
bin [infra] Fix bin/try 2019-11-15 19:44:04 +00:00
build/fuchsia Slim down .far by ~45 MB. 2019-11-21 22:29:42 +00:00
build_overrides Update Dawn backend to ToT. This is about 3 months of changes. 2019-10-15 22:26:38 +00:00
dm remove unused (by clients) SkMultiPictureDraw 2019-11-15 18:18:36 +00:00
docker Fix usage of depot_tools in containers. 2019-10-14 19:38:40 +00:00
docs/examples Revert "Reland "Revert "Use flat version of path-direction enum""" 2019-11-22 19:09:54 +00:00
example Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
experimental Reland "Minimal iOS app: Perform present subsequent to flush" 2019-10-14 18:32:37 +00:00
fuzz Revert "Reland "Revert "Use flat version of path-direction enum""" 2019-11-22 19:09:54 +00:00
gm Reland "Revert "Revert "Make FP optimizations helpers use SkAlphaType not GrColorType""" 2019-11-25 15:46:35 +00:00
gn Revert "Reland "Revert "Use flat version of path-direction enum""" 2019-11-22 19:09:54 +00:00
include Revert "Rename GLRTFBOIDIs0 to WrapsSwapchainSurface and use for Metal." 2019-11-25 21:49:46 +00:00
infra Roll recipe dependencies (trivial). 2019-11-25 19:31:46 +00:00
modules Ellipsis again 2019-11-25 19:57:15 +00:00
platform_tools [minor] mark scripts as executable 2019-11-21 17:06:27 +00:00
resources all-constant peepholes 2019-11-21 22:00:11 +00:00
samplecode Ellipsis again 2019-11-25 19:57:15 +00:00
site Documentation: Cq-Include-Trybots 2019-11-22 14:36:13 +00:00
specs [img-decode] Start on proposed new spec 2019-05-06 17:39:19 +00:00
src When wrapped, store ref to GrVkSecondaryCommandBuffer on GrVkRenderTarget. 2019-11-25 21:50:06 +00:00
tests Ellipsis again 2019-11-25 19:57:15 +00:00
third_party Roll skia/third_party/skcms 68d3f3a95f1b..ef3043bd8110 (1 commits) 2019-11-25 14:52:45 +00:00
tools [skottie] Use seekFrame in skottie2movie 2019-11-25 13:35:45 +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 Issue- >Skia tiled bitmap rendering is too slow when tildmodeX is not same as tileModeY. 2019-11-14 20:52:18 +00:00
BUILD.gn Test texture domain effect with local matrix. 2019-11-22 22:37:33 +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 4c7db77e0185..e9b68f332a30 (5 commits) 2019-11-25 06:20:15 +00:00
go.mod [infra] Use CIPD packages from infra repo 2019-11-20 14:02:48 +00:00
go.sum [infra] Use CIPD packages from infra repo 2019-11-20 14:02:48 +00:00
LICENSE LICENSE file: clean up 2019-11-22 21:59:03 +00:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py Use urllib_request instead of urllib2 in PRESUBMIT. 2019-10-22 20:30:56 +00:00
public.bzl [reland] public.bzl: update to replace Gif with Wuffs 2019-11-21 22:05:01 +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 Test texture domain effect with local matrix. 2019-11-22 22:37:33 +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.