skia2/tools
Brian Salomon 5627d65146 Add method to sk_gpu_test::TestContext to automatically restore the previous context.
The motivation for this is to allow a GM to create a GL context, do some some work in it, and then return to the context that was set when it was invoked.

Change-Id: Ie8496072a10f8f3ff36a08889e593a6ca961b61a
Reviewed-on: https://skia-review.googlesource.com/70720
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2017-11-16 16:30:53 +00:00
..
android Reuse more upload_to_android and allow removing flag on Android 2017-10-31 14:37:14 +00:00
bookmaker Bookmaker to work on Linux. 2017-11-08 21:07:27 +00:00
calmbench githash is a string, not an array 2017-11-07 01:46:29 +00:00
copyright
debugger Solidify Model/View split 2017-09-06 20:46:01 +00:00
fiddle Drop support for OSMesa in test tools and remove build bot 2017-11-13 16:20:10 +00:00
flags Drop support for OSMesa in test tools and remove build bot 2017-11-13 16:20:10 +00:00
gdb Add a gdb viewer for skbitmap. 2017-10-23 20:45:09 +00:00
gpu Add method to sk_gpu_test::TestContext to automatically restore the previous context. 2017-11-16 16:30:53 +00:00
gpucts Use GrContextFactories that produce a single GrContext in unit tests. 2017-11-15 22:03:07 +00:00
lua Make iOS main() functions normal. 2017-02-06 18:02:41 +00:00
mdbviz Remove carriage returns. 2017-10-09 20:41:14 +00:00
rebaseline Change add to toggle in the comments 2017-11-10 17:19:07 +00:00
shape Add some font fallback to SkShaper. 2017-09-22 19:57:08 +00:00
skdiff use unique_ptr for codec factories 2017-07-25 15:35:23 +00:00
skiaserve Drop support for OSMesa in test tools and remove build bot 2017-11-13 16:20:10 +00:00
skp Chromium lkgr is no longer updated. Use lkcr 2017-08-03 12:41:36 +00:00
skpbench skpbench: always reboot instead of unlocking clocks 2017-10-24 15:54:31 +00:00
svg Create new set of SVGs 2017-08-16 15:42:55 +00:00
timer Fix MSAN compile error 2017-09-20 19:42:09 +00:00
trace Optimize the size of our JSON 2017-08-17 11:51:26 +00:00
viewer Viewer: backspace jumps directly to the slide picker 2017-11-14 20:55:04 +00:00
__init__.py
add_codereview_message.py Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
AndroidSkDebugToStdOut.cpp
BigPathBench.inc Factor out VisualBench timing code into a helper class 2015-10-05 07:23:30 -07:00
build_command_buffer.py Improvements to build_command_buffer.py 2016-11-04 10:54:54 -07:00
BUILD_simulator.py Fix Google3 fonts. Use fontconfig rather than custom_directory_factory. Add Google3 font caching. 2015-12-01 11:12:05 -08:00
check-headers-self-sufficient header cleanup 2017-07-05 15:18:52 +00:00
chrome_fuzz.cpp Fix SkFILEStream. 2017-03-10 19:58:46 +00:00
colorspaceinfo.cpp Simplify SkColorSpace::MakeICC 2017-10-31 18:13:04 +00:00
compare_codereview.py
CrashHandler.cpp SkLeanWindows.h: #include "Windows.h" fewer places 2016-06-07 17:21:10 -07:00
CrashHandler.h
create_flutter_test_images.cpp Add SkColorSpace_Base::makeColorSpin 2017-11-14 16:33:34 +00:00
create_test_font.cpp Remove internal use of SkTypeface::Style. 2017-07-27 21:30:45 +00:00
doxygen_footer.txt
dump_record.cpp Revert "Revert "Reland: Remove SkLights include from SkCanvas.h"" 2017-05-03 19:17:11 +00:00
DumpRecord.cpp update deferred 2016-10-05 19:25:35 +00:00
DumpRecord.h
embed_resources.py
find_run_binary.py
fix_pythonpath.py
gcov_shim
generate_fir_coeff.py
generate_vk_interface.sh Add vulkan files into skia repo. This is an incomplete backend with only partial functionality at this time. 2016-02-22 09:56:40 -05:00
get_current_monitor_profile.cpp Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
get_images_from_skps.cpp use unique_ptr for codec factories 2017-07-25 15:35:23 +00:00
git-sync-deps tools/git-sync-deps: less verbose when fetch is needed 2017-02-13 19:53:27 +00:00
gpuveto.cpp Make iOS main() functions normal. 2017-02-06 18:02:41 +00:00
gyp GN 2016-06-23 10:29:30 -07:00
imgblur.cpp Make iOS main() functions normal. 2017-02-06 18:02:41 +00:00
imgslice.cpp Make iOS main() functions normal. 2017-02-06 18:02:41 +00:00
install_dependencies.sh Drop support for OSMesa in test tools and remove build bot 2017-11-13 16:20:10 +00:00
ios_utils.h Fix bugs with fence sync API on iOS devices 2017-10-10 19:05:13 +00:00
ios_utils.m iOS: cd into Documents folder at startup 2017-02-06 15:06:45 +00:00
iOSShell.cpp Remove unused functions get_preferred_size 2017-09-26 20:02:16 +00:00
iOSShell.h
jsondiff.py
LsanSuppressions.cpp Build LSAN suppressions into the test binaries. 2016-09-01 07:06:54 -07:00
merge_static_libs.py Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
milestone.py SkPDF: milestone in metadata, also SkMilestone.h 2016-03-29 09:09:29 -07:00
mirror-dev.sh Update mirror-dev for *-dev:amd64 packages. 2017-11-09 22:44:57 +00:00
misc_utils.py
ok_dsts.cpp ok, add a8 dst support 2017-09-29 20:08:34 +00:00
ok_engines.cpp ok, rate limit forking 2017-09-01 15:40:37 +00:00
ok_srcs.cpp Add missing #include <stdlib.h> 2017-08-16 02:19:37 +00:00
ok_test.cpp Use GrContextFactories that produce a single GrContext in unit tests. 2017-11-15 22:03:07 +00:00
ok_vias.cpp DM: hide DM:FontMgr behind a factory 2017-11-14 16:24:44 +00:00
ok.cpp use fcntl() to lock/unlock fds 2017-08-30 18:55:47 +00:00
ok.h factor Engine out of ok core 2017-07-26 21:36:40 +00:00
OverwriteLine.h
parse_llvm_coverage.py Walk through files in parse_llvm_coverage.py instead of using 'git ls-files' 2016-04-18 04:18:56 -07:00
pathops_sorter.htm Remove carriage returns. 2017-10-09 20:41:14 +00:00
pathops_visualizer.htm Remove carriage returns. 2017-10-09 20:41:14 +00:00
picture_utils.cpp convert over to 2d-mode 2017-07-20 19:50:32 +00:00
picture_utils.h Move DM png code to picture_utils, for use by other tools. 2016-04-19 09:18:11 -07:00
pinspect.cpp Make iOS main() functions normal. 2017-02-06 18:02:41 +00:00
ProcStats.cpp Fix getMaxResidentSetSizeMB() on iOS. 2017-02-06 17:06:11 +00:00
ProcStats.h
public_headers_warnings_check.cpp GN: add public headers warnings check. 2016-11-16 19:27:29 +00:00
random_parse_path.cpp Add unit test to feed valid SVG sequences to make sure that 2016-02-09 10:30:22 -08:00
random_parse_path.h Add unit test to feed valid SVG sequences to make sure that 2016-02-09 10:30:22 -08:00
reformat-json.py
Registry.h move SkTRegister.h into tools 2017-01-11 19:53:36 +00:00
Resources.cpp add Make factory to SkMemoryStream (simplify call-sites) 2017-07-26 15:59:49 +00:00
Resources.h have resources return unique_ptr for stream 2017-07-23 18:24:24 +00:00
retrieve_from_googlesource.py
sanitize_source_files.py Clean up more references to GYP. 2017-02-06 17:55:35 +00:00
sk_tool_utils_font.cpp clean up debug diagnostics in SkTestFont 2017-11-10 21:47:45 +00:00
sk_tool_utils.cpp slice GMs by native font platform, not by emoji format 2017-11-15 16:52:56 +00:00
sk_tool_utils.h slice GMs by native font platform, not by emoji format 2017-11-15 16:52:56 +00:00
skhello.cpp Make iOS main() functions normal. 2017-02-06 18:02:41 +00:00
SkJSONCPP.h Move SkJSONCPP.h to tools. It tool-only. 2016-07-26 12:41:27 -07:00
skp_parser.cpp tools/skp_parser: add some explanitory comments 2017-10-25 19:27:13 +00:00
skpinfo.cpp Make iOS main() functions normal. 2017-02-06 18:02:41 +00:00
skpmaker.cpp Make iOS main() functions normal. 2017-02-06 18:02:41 +00:00
SkRandomScalerContext.cpp move Sk{Test,Random}ScalerContext to tools 2017-11-10 17:02:20 +00:00
SkRandomScalerContext.h move Sk{Test,Random}ScalerContext to tools 2017-11-10 17:02:20 +00:00
SkTestScalerContext.cpp clean up debug diagnostics in SkTestFont 2017-11-10 21:47:45 +00:00
SkTestScalerContext.h clean up debug diagnostics in SkTestFont 2017-11-10 21:47:45 +00:00
Stats.h Consolidate SK_CRASH and sk_throw into SK_ABORT 2016-01-29 08:51:04 -08:00
test_all.py
test_font_index.inc Add strikeout font metrics. 2017-07-21 18:59:05 +00:00
test_font_monospace.inc Add strikeout font metrics. 2017-07-21 18:59:05 +00:00
test_font_sans_serif.inc Add strikeout font metrics. 2017-07-21 18:59:05 +00:00
test_font_serif.inc Add strikeout font metrics. 2017-07-21 18:59:05 +00:00
test_gpuveto.py Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
test_pdfs.py
ThermalManager.cpp Is it just me or is this logging just noise? 2016-09-16 11:50:13 -07:00
ThermalManager.h Move SkTArray to include/private. 2016-02-17 13:13:44 -08:00
UrlDataManager.cpp Create image cache for use by json canvas 2016-02-08 07:08:21 -08:00
UrlDataManager.h Use sse4.2 CRC32 instructions to hash when available. 2016-08-08 09:06:28 -07:00
valgrind.supp update valgrind suppressions for revised keepalive thread 2017-10-31 15:34:43 +00:00
whitelist_typefaces.cpp Make iOS main() functions normal. 2017-02-06 18:02:41 +00:00
win_dbghelp.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
win_dbghelp.h
win_lcid.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
xsan.blacklist GN: add sanitize arg 2016-09-08 08:39:34 -07:00