skia2/tools
Brian Salomon 72c7b98ae3 Start removal of tool usage of SkSurface::MakeFromBackendTextureAsRenderTarget.
Adds a new helper that creates a GrBackendRenderTarget using
GrGpu and then wraps it in a SkSurface. Uses the SkSurface
release proc to delete the BERT using GrGpu.

Upgrades GrGpu::createTestingOnlyBackendRenderTarget to create MSAA
buffers.

Updates many tests/tool to call sites to use the helper instead of
SkSurface::MakeFromBackendTextureAsRenderTarget.

Adds syncToCpu bool to SkSurface:: and GrContext::flushAndSubmit.

Bug: skia:9832

Change-Id: I73a8f0ce09dc6523729af0814464c6b6657fda06
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/293683
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2020-10-06 16:32:11 +00:00
..
android
calmbench
copyright
debugger Use SkClipOp::kIntersect instead of kReplace_ClipOp 2020-09-16 18:37:37 +00:00
doxygen Remove more references to "master" 2020-07-28 13:06:07 +00:00
fiddle Revert "Reland "Take GrContext private, GrDDLContext inherit from GrRecordingContext"" 2020-09-24 11:44:49 +00:00
flags Add an "allPathsVolatile" option for testing 2020-09-23 19:02:27 +00:00
fm Start removal of tool usage of SkSurface::MakeFromBackendTextureAsRenderTarget. 2020-10-06 16:32:11 +00:00
fonts Add SkTypeface::getPostScriptName. 2020-10-06 15:35:06 +00:00
gdb
gpu Start removal of tool usage of SkSurface::MakeFromBackendTextureAsRenderTarget. 2020-10-06 16:32:11 +00:00
infra
lottie-web-perf
lottiecap
malisc
mdbviz
perf-canvaskit-puppeteer [canvaskit] Add drawRect4f as example 'fast path' API 2020-09-03 14:53:42 +00:00
rebaseline
sk_app Reland "Remove use of legacy display globals." 2020-10-05 19:13:58 +00:00
skdiff Revert "Remove custom SkSort algorithms." 2020-07-14 00:25:05 +00:00
skiaserve Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
skottie_ios_app Reland "Remove use of legacy display globals." 2020-10-05 19:13:58 +00:00
skottie-wasm-perf Reland "[canvaskit] Change SkRects to be arrays, not objects." 2020-09-03 14:31:38 +00:00
skp Add digital micrography svg to the RecreateSKPs bot 2020-09-24 17:20:42 +00:00
skpbench Reland "Remove use of legacy display globals." 2020-10-05 19:13:58 +00:00
skqp Reland "Remove use of legacy display globals." 2020-10-05 19:13:58 +00:00
skui Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
svg
timer
trace
viewer Reland "Remove use of legacy display globals." 2020-10-05 19:13:58 +00:00
__init__.py
abandon_gerrit_cls.py
add_codereview_message.py
AndroidSkDebugToStdOut.cpp
AutoreleasePool.h
AutoreleasePool.mm
bazel_test.cc bazel baby steps 2020-09-14 15:18:32 +00:00
BigPathBench.inc
blob_cache_sim.cpp
build_command_buffer.py
BUILD_simulator.py
build_workaround_header.py
check-headers-self-sufficient
chrome_fuzz.cpp
chrome_release_branch
chrome_release_branch.bat
chrome_release_branch.py
clang-tidy.sh
compare_codereview.py
convert-to-nia.cpp
cpu_modules.cpp
CrashHandler.cpp
CrashHandler.h
DDLPromiseImageHelper.cpp Reland "Add idea of DataType to SkYUVAPixmapInfo." 2020-09-03 18:05:17 +00:00
DDLPromiseImageHelper.h Reland "Add idea of DataType to SkYUVAPixmapInfo." 2020-09-03 18:05:17 +00:00
DDLTileHelper.cpp Downgrade SkImage to GrImageContext 2020-09-14 17:01:07 +00:00
DDLTileHelper.h Retract GrContext.h from headers 2020-07-13 20:03:58 +00:00
doxygen_footer.txt
dump_record.cpp densify dump_record 2020-08-19 13:35:09 +00:00
embed_resources.py
find_run_binary.py
fix_pythonpath.py
force_older_glibc_math.h
gcov_shim
get_current_monitor_profile.cpp
get_images_from_skps.cpp
git-sync-deps
HashAndEncode.cpp support 16161616 in fm 2020-07-17 20:35:33 +00:00
HashAndEncode.h
hello-opencl.cpp
image_diff_metric.cpp
imgcvt.cpp
install_dependencies.sh
ios_utils.h
ios_utils.m
jsondiff.py
list_gms.cpp
list_gpu_unit_tests.cpp
LsanSuppressions.cpp
merge_static_libs.py
milestone.py
mirror-dev.sh
misc_utils.py
OverwriteLine.h
parse_llvm_coverage.py
pathops_sorter.htm
pathops_visualizer.htm
ProcStats.cpp Add heap usage of SkSL::Compiler to nanobench output 2020-07-09 00:05:28 +00:00
ProcStats.h Add heap usage of SkSL::Compiler to nanobench output 2020-07-09 00:05:28 +00:00
public_headers_warnings_check.cpp
random_parse_path.cpp
random_parse_path.h
reformat-json.py
Registry.h
remote_demo.cpp Reland "Remove use of legacy display globals." 2020-10-05 19:13:58 +00:00
ResourceFactory.h
Resources.cpp
Resources.h
retrieve_from_googlesource.py
rewrite_includes.py Generate SkSL golden output files from test inputs during the build. 2020-09-14 14:54:12 +00:00
sanitize_source_files.py
skhello.cpp
SkMetaData.cpp Move fontmgr_bounds labels to tight bounds 2020-08-24 15:02:44 +00:00
SkMetaData.h Move fontmgr_bounds labels to tight bounds 2020-08-24 15:02:44 +00:00
skottie2movie.cpp Fix skia_use_ffmpeg builds 2020-09-22 14:25:10 +00:00
skp_parser.cpp
skpinfo.cpp
SkSharingProc.cpp
SkSharingProc.h
SkVMBuilders.cpp
SkVMBuilders.h
Stats.h Update SkTQSort to use half-open ranges. 2020-07-14 22:13:59 +00:00
test_all.py
test_pdfs.py
ToolUtils.cpp use pathbuilder 2020-08-25 16:29:48 +00:00
ToolUtils.h use pathbuilder 2020-08-25 16:29:48 +00:00
UrlDataManager.cpp
UrlDataManager.h Enable ClangTidy check readability-redundant-smartptr-get. 2020-08-16 15:56:48 +00:00
using_skia_and_harfbuzz.cpp Fix clang 12 Wsuggest-override and Wsuggest-destructor-override 2020-07-22 01:11:36 +00:00
valgrind.supp
win_dbghelp.cpp Remove "dummy" to comply with Android's inclusive language guidance 2020-07-31 19:11:23 +00:00
win_dbghelp.h
win_lcid.cpp
xsan.supp rename tools/xsan.blacklist 2020-07-24 18:12:31 +00:00