Go to file
Jim Van Verth d44c0de0b5 Revert "Use shared mode for Metal texture upload buffers."
This reverts commit 1dfb4d25d1.

Reason for revert: This appears to have poorer performance on integrated GPUs.

Original change's description:
> Use shared mode for Metal texture upload buffers.
> 
> On Mac, originally the temporary upload buffer was stored in managed
> memory, which will generate two copy actions, one from the CPU side to
> the GPU side of the managed buffer, then another from the GPU side of
> the buffer to the GPU texure. Shared mode buffers are in PCI-accessible
> system memory, so by storing the temporary texture data there, we should
> be copying from the CPU buffer directly to the GPU texture. This gives
> us another 10-15% perf improvement over the old upload code.
> 
> Change-Id: Ia675e7130e0ae7d0c5f16c8170eeef60a69bfbbd
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/230299
> Reviewed-by: Brian Osman <brianosman@google.com>
> Commit-Queue: Jim Van Verth <jvanverth@google.com>

TBR=egdaniel@google.com,jvanverth@google.com,brianosman@google.com

# Not skipping CQ checks because original CL landed > 1 day ago.

Change-Id: Ib89b014586b7bbd899fed5d8e5807e083368a825
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/230882
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
2019-07-30 19:12:10 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench remove code now that loopers are dead (w.r.t. canvas and paint) 2019-07-30 12:49:28 +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 Add GrProtected parameter to all createBackendTexture variants 2019-07-01 19:46:18 +00:00
docker fix Dockerfile? 2019-06-24 16:34:59 +00:00
docs/examples Reland "hide drawlooper from paint" 2019-07-22 20:03:36 +00:00
example ModifierKey unifies sk_app::Window::ModifierKey & Sample::Click::ModifierKey 2019-07-09 16:16:41 +00:00
experimental editor: try to fix moltenvk bots 2019-07-30 17:11:03 +00:00
fuzz Make fuzzing use embedded test font 2019-06-03 16:29:21 +00:00
gm Propagate GrRenderable flag to GrCaps::getBackendFormatFromColorType 2019-07-30 17:45:45 +00:00
gn First implementation of GrDawnUniformHandler. 2019-07-30 14:40:38 +00:00
include Hide SkImageFilter subclasses in CPP files 2019-07-30 18:39:22 +00:00
infra remove drawlooper bots, as that code is now gone 2019-07-30 13:26:29 +00:00
modules [skottie] Fix property observer scoping for effects 2019-07-30 13:57:28 +00:00
platform_tools SkQP: Refactor Java method SkQP.runTests() 2019-07-24 13:54:15 +00:00
resources flesh out SkVM ops a bit more 2019-07-29 20:43:10 +00:00
samplecode remove code now that loopers are dead (w.r.t. canvas and paint) 2019-07-30 12:49:28 +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 Revert "Use shared mode for Metal texture upload buffers." 2019-07-30 19:12:10 +00:00
tests add vmovdqa(ymm,ymm) 2019-07-30 18:43:35 +00:00
third_party rewrite *.gn and #includes on CheckGeneratedFiles bot 2019-07-25 20:48:33 +00:00
tools Propagate GrRenderable flag to GrCaps::getBackendFormatFromColorType 2019-07-30 17:45: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 Fix Metal includes breaking macOS local builds 2019-07-08 14:02:47 +00:00
BUILD.gn experimental/editor: clean up BUILD.gn 2019-07-30 14:28:58 +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 a96b79f90940..cbabea734cbd (6 commits) 2019-07-30 05:04:37 +00:00
go.mod Update Go deps 2019-07-30 05:32:17 +00:00
go.sum Update Go deps 2019-07-30 05:32:17 +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 don't try to format includes on windows 2019-07-29 22:23:49 +00:00
public.bzl First draft of Dawn backend: clears are working. 2019-07-18 18:09:12 +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 Hide SkImageFilter subclasses in CPP files 2019-07-30 18:39:22 +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.