Go to file
Michael Ludwig fcdd0612f3 Use just GrSurfaceProxy in pipeline management.
Replaces VisitSurfaceProxyFunc with GrOp::VisitProxyFunc since they are
now the same.

Records sampled textures as GrSurfaceProxies, but asserts they are in fact
texturable. Updates all backends to process the pipelines with surface
proxies (which always have had to do a surface->asTexture() virtual call
that is unchanged, this just avoids the unnecessary proxy virtual).

Also updates the GrTextureOp to not call asTextureProxy() anymore, to
take advantage of the relaxed pipeline types.

A number of instances of asTextureProxy() remain. It is still the primary
method of determining if a proxy is texturable, so code paths that branch
on that still use it. Some resource management code still requires mipmap
functionality specific to the GrTextureProxy API, so they still use it.

To keep this CL sane, the GrFP::TextureSampler and all generated FPs have
not been updated to use GrSurfaceProxy, although that will be in a follow
up since it should be technically possible.

Bug: skia:9556
Change-Id: I1e917aff9e70b08915e98ccc17c6b8f3be29c4f6
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/255830
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2019-11-25 14:00:45 +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 "Make FP optimizations helpers use SkAlphaType not GrColorType"" 2019-11-23 15:21:08 +00:00
gn Revert "Reland "Revert "Use flat version of path-direction enum""" 2019-11-22 19:09:54 +00:00
include Test texture domain effect with local matrix. 2019-11-22 22:37:33 +00:00
infra Remove Debian9 GCC jobs and related code 2019-11-24 23:51:04 +00:00
modules Revert "Reland "Revert "Use flat version of path-direction enum""" 2019-11-22 19:09:54 +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 Reland "Revert "Make FP optimizations helpers use SkAlphaType not GrColorType"" 2019-11-23 15:21:08 +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 Use just GrSurfaceProxy in pipeline management. 2019-11-25 14:00:45 +00:00
tests Reland "Revert "Make FP optimizations helpers use SkAlphaType not GrColorType"" 2019-11-23 15:21:08 +00:00
third_party Replace third_party/gif with new DEPS entry. 2019-11-21 16:57:57 +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.