skia2/tools/viewer
Mike Klein 4429a4f82c re-precate SkMatrix44::SkMatrix44()
It's been driving me nuts that I can't just write `SkMatrix44 m;`,
and I often don't care whether it's initialized or not.  The default
identity constructor would be nice to use, but it's deprecated.

By tagging this constructor deprecated, we're only hurting ourselves;
our big clients disable warnings about deprecated routines and use it
freely.

A quick tally in Skia shows we mostly use the uninitialized constructor,
but sometimes the identity constructor, and there is a spread of all
three in Chromium.  So I've left the two explicit calls available.

I switched a bunch of calls in Skia to use the less verbose constructor
where it was clear that it didn't matter if the matrix was initialized.
Literally zero of the kUninitialized constructor calls looked important
for performance, so the only place I've kept is its lone unit test.

A few places read clearer with an explicit "identity" to read.

Change-Id: I0573cb6201f5a36f3b43070fb111f7d9af92736f
Reviewed-on: https://skia-review.googlesource.com/c/159480
Reviewed-by: Brian Osman <brianosman@google.com>
2018-10-04 14:01:11 +00:00
..
BisectSlide.cpp Stop using SkTSwap. 2018-06-19 02:06:31 +00:00
BisectSlide.h test,tools: whitespace changes for clang-format 2018-09-19 17:50:51 +00:00
GMSlide.cpp Allow slides/gms to extend the UI 2018-05-15 14:29:43 +00:00
GMSlide.h Allow slides/gms to extend the UI 2018-05-15 14:29:43 +00:00
ImageSlide.cpp Add onBackendCreated callback to Viewer 2017-02-24 22:37:34 +00:00
ImageSlide.h Simplify viewer's handling of backbuffer surface and color space 2017-02-08 17:34:05 +00:00
ImGuiLayer.cpp migrating SkTDArray towards std::vector api 2018-08-08 15:51:44 +00:00
ImGuiLayer.h test,tools: whitespace changes for clang-format 2018-09-19 17:50:51 +00:00
NIMASlide.cpp Make Slide::getDimensions pure virtual. 2018-09-05 15:05:14 +00:00
NIMASlide.h Make Slide::getDimensions pure virtual. 2018-09-05 15:05:14 +00:00
SampleSlide.cpp Make Slide::getDimensions pure virtual. 2018-09-05 15:05:14 +00:00
SampleSlide.h Make Slide::getDimensions pure virtual. 2018-09-05 15:05:14 +00:00
SkottieSlide.cpp [skottie] External logger support 2018-10-02 18:17:35 +00:00
SkottieSlide.h [skottie] Plumb external SkFontMgr 2018-08-23 13:13:30 +00:00
SKPSlide.cpp SkFontData to use smart pointers. 2016-09-16 06:24:20 -07:00
SKPSlide.h Add samples to Viewer. 2016-06-16 09:52:35 -07:00
Slide.h Make Slide::getDimensions pure virtual. 2018-09-05 15:05:14 +00:00
SlideDir.cpp Don't use MEM_MOVE=true with SkTArrays of sk_sp 2018-09-05 20:11:07 +00:00
SlideDir.h Don't use MEM_MOVE=true with SkTArrays of sk_sp 2018-09-05 20:11:07 +00:00
StatsLayer.cpp Add 'u' to zoom stats display on high DPI devices 2018-07-30 15:00:25 +00:00
StatsLayer.h Add 'u' to zoom stats display on high DPI devices 2018-07-30 15:00:25 +00:00
SvgSlide.cpp Fix !defined(SK_XML) builds 2018-08-01 14:28:56 +00:00
SvgSlide.h Viewer SVG support 2018-04-05 16:34:22 +00:00
TouchGesture.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
TouchGesture.h Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
Viewer.cpp re-precate SkMatrix44::SkMatrix44() 2018-10-04 14:01:11 +00:00
Viewer.h Viewer to resize Samples with window resize. 2018-08-09 21:03:11 +00:00