Go to file
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
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Revert "Revert "Reland: Remove SkLights include from SkCanvas.h"" 2017-05-03 19:17:11 +00:00
bin bin/fetch-clang-format 2017-03-08 16:43:49 +00:00
debugger Get Debugger app compiling again 2017-01-06 16:18:27 +00:00
dm Add new SkImageGenerator::getPixels() API, deprecate the old 2017-05-12 16:48:17 +00:00
example Revert "Revert "Plumb the use of GrBackendRenderTarget throughout Skia"" 2017-05-01 14:14:50 +00:00
experimental Experimental Go bindings for Skia 2017-05-10 15:32:19 +00:00
fuzz add drawString helper to canvas 2017-04-28 20:41:04 +00:00
gm Add new SkImageGenerator::getPixels() API, deprecate the old 2017-05-12 16:48:17 +00:00
gn Remove SkCrossContextImageData and all support code 2017-05-11 18:07:20 +00:00
include Modify SkEventTracer::SetInstance to fail rather than assert if a tracer has already been installed. 2017-05-12 16:49:07 +00:00
infra Roll recipe dependencies (trivial). 2017-05-12 10:20:57 +00:00
platform_tools Enable ios on Raspberry Pi 2017-04-25 16:56:41 +00:00
resources Add jpeg encoder alpha handling option 2017-05-09 18:32:04 +00:00
samplecode Unify ShadowUtils interface 2017-05-10 19:27:39 +00:00
site add a guide to contributing to SkJumper 2017-05-08 23:40:14 +00:00
src Modify SkEventTracer::SetInstance to fail rather than assert if a tracer has already been installed. 2017-05-12 16:49:07 +00:00
tests Add new SkImageGenerator::getPixels() API, deprecate the old 2017-05-12 16:48:17 +00:00
third_party Use system Vulkan headers except when no building with vulkan support 2017-04-25 18:30:37 +00:00
tools Modify SkEventTracer::SetInstance to fail rather than assert if a tracer has already been installed. 2017-05-12 16:49:07 +00:00
.clang-format Mark flatennable macros as block beginning/ending in .clang-format 2017-01-09 15:31:36 +00:00
.gitignore Refactor Vulkan support to support Fuchsia 2017-04-05 17:32:09 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Added support for building for tvOS 2017-03-14 22:55:04 +00:00
BUILD.gn ok, add timer via 2017-05-09 22:00:39 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS Update build tools to newer gn. 2017-03-17 17:38:58 +00:00
Doxyfile Make the housekeeper upload doxygen to a newer bucket 2016-10-04 13:23:57 -07:00
LICENSE BUG=skia:5602 2016-09-02 11:19:34 -07:00
PRESUBMIT.py Separate lines added via post upload from original description 2017-05-08 17:05:11 +00:00
public.bzl Add new SkImageGenerator::getPixels() API, deprecate the old 2017-05-12 16:48:17 +00:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
whitespace.txt Marker for Windows NVIDIA driver update. 2017-05-04 18:35:05 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.