72c7b98ae3
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> |
||
---|---|---|
.. | ||
android | ||
calmbench | ||
copyright | ||
debugger | ||
doxygen | ||
fiddle | ||
flags | ||
fm | ||
fonts | ||
gdb | ||
gpu | ||
infra | ||
lottie-web-perf | ||
lottiecap | ||
malisc | ||
mdbviz | ||
perf-canvaskit-puppeteer | ||
rebaseline | ||
sk_app | ||
skdiff | ||
skiaserve | ||
skottie_ios_app | ||
skottie-wasm-perf | ||
skp | ||
skpbench | ||
skqp | ||
skui | ||
svg | ||
timer | ||
trace | ||
viewer | ||
__init__.py | ||
abandon_gerrit_cls.py | ||
add_codereview_message.py | ||
AndroidSkDebugToStdOut.cpp | ||
AutoreleasePool.h | ||
AutoreleasePool.mm | ||
bazel_test.cc | ||
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 | ||
DDLPromiseImageHelper.h | ||
DDLTileHelper.cpp | ||
DDLTileHelper.h | ||
doxygen_footer.txt | ||
dump_record.cpp | ||
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 | ||
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 | ||
ProcStats.h | ||
public_headers_warnings_check.cpp | ||
random_parse_path.cpp | ||
random_parse_path.h | ||
reformat-json.py | ||
Registry.h | ||
remote_demo.cpp | ||
ResourceFactory.h | ||
Resources.cpp | ||
Resources.h | ||
retrieve_from_googlesource.py | ||
rewrite_includes.py | ||
sanitize_source_files.py | ||
skhello.cpp | ||
SkMetaData.cpp | ||
SkMetaData.h | ||
skottie2movie.cpp | ||
skp_parser.cpp | ||
skpinfo.cpp | ||
SkSharingProc.cpp | ||
SkSharingProc.h | ||
SkVMBuilders.cpp | ||
SkVMBuilders.h | ||
Stats.h | ||
test_all.py | ||
test_pdfs.py | ||
ToolUtils.cpp | ||
ToolUtils.h | ||
UrlDataManager.cpp | ||
UrlDataManager.h | ||
using_skia_and_harfbuzz.cpp | ||
valgrind.supp | ||
win_dbghelp.cpp | ||
win_dbghelp.h | ||
win_lcid.cpp | ||
xsan.supp |