skia2/tools/viewer
Brian Salomon 175f588831 Modify SkEventTracer::SetInstance to fail rather than assert if a tracer has already been installed.
Chromium usually calls SetInstance once per process. However, when run in single process more renderer threads will try to set the instance after the browser process already has done so. This allows them to fail gracefully without asserting.

Bug: skia:6603
Change-Id: Ic8a35422d787335aa67eefc07d0658f0fbe73db4
Reviewed-on: https://skia-review.googlesource.com/16664
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
2017-05-12 16:49:07 +00:00
..
sk_app Add wireframe mode to Viewer. 2017-05-02 20:27:26 +00:00
GMSlide.cpp Add more SampleApp support to viewer. 2017-02-14 21:25:01 +00:00
GMSlide.h Add more SampleApp support to viewer. 2017-02-14 21:25:01 +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
SampleSlide.cpp Add onBackendCreated callback to Viewer 2017-02-24 22:37:34 +00:00
SampleSlide.h Add onBackendCreated callback to Viewer 2017-02-24 22:37:34 +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 Add more SampleApp support to viewer. 2017-02-14 21:25:01 +00:00
Viewer.cpp Modify SkEventTracer::SetInstance to fail rather than assert if a tracer has already been installed. 2017-05-12 16:49:07 +00:00
Viewer.h Add ShadowUtils sample. 2017-05-04 18:37:55 +00:00