skia2/tools/gpu
John Stiles fbd050bd0b Enable ClangTidy check modernize-make-unique.
The majority of existing call sites were automatically updated using
clang-tidy -fix. A small handful required a manual update,
e.g. CppCodeGen.

This check is a bit lenient, and in particular will not flag cases like
`std::unique_ptr<Base>(new Derived())` which is still pretty common
throughout our codebase. This CL does not attempt to replace all the
cases that ClangTidy does not flag.

Change-Id: I5eba48ef880e25d22de80f321a68c389ba769e36
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/307459
Commit-Queue: John Stiles <johnstiles@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
2020-08-03 17:53:52 +00:00
..
d3d Add Context factories to GrDirectContext 2020-07-14 12:40:46 +00:00
dawn Add Context factories to GrDirectContext 2020-07-14 12:40:46 +00:00
gl Enable ClangTidy check modernize-make-unique. 2020-08-03 17:53:52 +00:00
mock Add Context factories to GrDirectContext 2020-07-14 12:40:46 +00:00
mtl Add Context factories to GrDirectContext 2020-07-14 12:40:46 +00:00
vk Add missing #includes. 2020-07-28 20:12:07 +00:00
BackendTextureImageFactory.cpp Reland "Remove more GrContext imports & usage" 2020-07-21 11:36:05 +00:00
BackendTextureImageFactory.h Reland "Remove more GrContext imports & usage" 2020-07-21 11:36:05 +00:00
FenceSync.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
FlushFinishTracker.cpp Update additional tools to take a GrDirectContext 2020-07-01 20:42:25 +00:00
FlushFinishTracker.h Update additional tools to take a GrDirectContext 2020-07-01 20:42:25 +00:00
GpuTimer.h Replace skstd::exchange with std::exchange 2020-04-30 11:14:20 +00:00
GrContextFactory.cpp Rename "master context" to "primary context" 2020-07-30 20:42:20 +00:00
GrContextFactory.h Update unit tests to accept GrDirectContext 2020-07-06 15:45:12 +00:00
GrTest.cpp move GrAtlasTextOp creation to GrRenderTargetContext 2020-07-10 20:01:29 +00:00
MemoryCache.cpp Reland "Switch persistent cache to use SkReadBuffer/SkWriteBuffer" 2020-06-10 14:55:37 +00:00
MemoryCache.h Fix caching of GL program binaries 2020-06-05 15:54:19 +00:00
ProxyUtils.cpp Rename GrMipMapped GrMipmapped 2020-07-21 14:06:35 +00:00
ProxyUtils.h Update additional tools to take a GrDirectContext 2020-07-01 20:42:25 +00:00
TestContext.cpp Add Context factories to GrDirectContext 2020-07-14 12:40:46 +00:00
TestContext.h Add Context factories to GrDirectContext 2020-07-14 12:40:46 +00:00
TestOps.cpp Update GrPaint APIs to reflect lack of multiple color processors. 2020-07-21 17:09:58 +00:00
TestOps.h Move GrRecordingContext.h and GrDirectContext.h into include/gpu 2020-07-01 17:32:14 +00:00
YUVUtils.cpp Add option to LazyYUVImage to build mip maps 2020-07-31 13:33:25 +00:00
YUVUtils.h Add option to LazyYUVImage to build mip maps 2020-07-31 13:33:25 +00:00