Go to file
mtklein 91359bed48 Revert of Clean up Test's resourcePath code. (https://codereview.chromium.org/319473003/)
Reason for revert:
Some benchmarks are written in a way that makes this change unsafe (e.g. const char* resPath = GetResourcePath().c_str(); in SkipZeroesBench) and Valgrind and ASAN caught that.  We can try again after a more careful cleanup of GetResourcePath().

Original issue's description:
> Clean up resourcePath code.
>
> 1) Make the implementation of SetResourcePath/GetResourcePath of GM and SkBenchmark match with the one in Test.
> 2) Make gResourcePath a static pointer to const char and move it inside the classes.
>
> BUG=None
> TEST=make tests && out/Debug/tests
>      make gm && out/Debug/gm
>      make bench && out/Debug/bench
> R=mtklein@google.com
>
> Committed: https://skia.googlesource.com/skia/+/52e4f413ffe2d281f9e90ff2147db08083ffcba7

R=tfarina@chromium.org
TBR=tfarina@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=None

Author: mtklein@google.com

Review URL: https://codereview.chromium.org/320733002
2014-06-08 07:02:47 -07:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Revert of Clean up Test's resourcePath code. (https://codereview.chromium.org/319473003/) 2014-06-08 07:02:47 -07:00
debugger Sanitizing source files in Housekeeper-Nightly 2014-05-20 03:05:34 +00:00
dm DM: SKP source / PDF backend 2014-06-06 09:28:43 -07:00
docs warn that docs/quickstart.md is out of sync with official docs 2014-04-21 19:18:46 +00:00
expectations Rollback of fe689c46 and all subsequent changes 2014-06-06 13:40:36 -07:00
experimental Add metrics reporting to SkFiddle. 2014-06-06 06:30:31 -07:00
forth Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
gm Revert of Clean up Test's resourcePath code. (https://codereview.chromium.org/319473003/) 2014-06-08 07:02:47 -07:00
gyp MIPS: modified gypi files to support build 2014-06-06 14:09:12 -07:00
include First pass at splitting out SkPictureRecord from SkPicture 2014-06-08 05:55:05 -07:00
platform_tools Fix android_run_skia script running with command line options 2014-06-06 06:43:46 -07:00
resources Adding resource files 2014-06-02 15:18:27 -04:00
samplecode Alter SkCanvas::drawPicture (devirtualize, take const SkPicture, take pointer) 2014-06-04 05:40:44 -07:00
src First pass at splitting out SkPictureRecord from SkPicture 2014-06-08 05:55:05 -07:00
tests Revert of Clean up Test's resourcePath code. (https://codereview.chromium.org/319473003/) 2014-06-08 07:02:47 -07:00
third_party Initial KTX encoder 2014-06-06 06:16:28 -07:00
tools Add SkBarriers_tsan.h. 2014-06-06 06:21:49 -07:00
trybots_to_run/chrome Deleting the hardcoded list of compile bots in trybots_to_run. 2013-04-09 11:59:42 +00:00
.gitignore BugChomper: Get the oauth_client_secret from GS 2014-05-13 19:18:55 +00:00
AUTHORS MIPS: modified gypi files to support build 2014-06-06 14:09:12 -07:00
codereview.settings Use googlesource VIEW_VC in codereview.settings 2014-06-02 05:20:32 -07:00
CONTRIBUTING Add CONTRIBUTING file 2014-01-13 15:06:26 +00:00
CQ_COMMITTERS Adds kelvinly@google.com to CQ_COMMITTERS 2014-05-13 17:33:56 +00:00
DEPS Pull in GYP_LINK_CONCURRENCY=N support. 2014-06-06 07:37:46 -07:00
Doxyfile delete no-longer-used update-doxygen.sh 2014-05-15 14:41:00 +00:00
gyp_skia Effectively unlimited linking. 2014-06-06 08:27:07 -07:00
gyp_skia.py Roll gyp deps from 1765 to 1796. 2013-11-21 18:11:14 +00:00
LICENSE Manually update copyright notices in files that defied the automated process 2011-07-28 14:24:55 +00:00
make.bat Make make.bat and gyp_skia work with VS 2012. 2013-05-07 19:31:20 +00:00
make.py Don't try to remove xcodebuild directory on Windows. 2014-05-22 15:54:05 +00:00
Makefile simplify tools/xsan_build now that make runs ninja 2014-04-24 18:16:13 +00:00
OWNERS add root files from chrome 2013-08-13 19:11:15 +00:00
PRESUBMIT.py Check if the issue owner is in the AUTHORS file in PRESUBMIT.py 2014-02-03 14:18:32 +00:00
README Point to skiadocs in our README. 2014-05-09 04:30:09 +00:00
README.chromium add root files from chrome 2013-08-13 19:11:15 +00:00
skia.gyp Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
SKP_VERSION Update SKP version to 17 2014-06-03 23:13:08 -07:00
whitespace.txt whitespace to trigger builds 2014-06-07 20:27:45 -07:00

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

See full details, and build instructions, at https://sites.google.com/site/skiadocs/home