platform/upstream/libSkiaSharp.git
11 years agoSkip the TIMESTAMP file.
scroggo@google.com [Fri, 28 Jun 2013 20:04:42 +0000 (20:04 +0000)]
Skip the TIMESTAMP file.

Allows run_decoding_tests.py to pass the name of the folder, so
Android will not fail on account of the long adb command.

R=borenet@google.com

Review URL: https://codereview.chromium.org/18175008

git-svn-id: http://skia.googlecode.com/svn/trunk@9817 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agouse width() instead of fWidth to get int value
reed@google.com [Fri, 28 Jun 2013 19:47:43 +0000 (19:47 +0000)]
use width() instead of fWidth to get int value

git-svn-id: http://skia.googlecode.com/svn/trunk@9816 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoadd bitmap::eraseArea
reed@google.com [Fri, 28 Jun 2013 19:40:50 +0000 (19:40 +0000)]
add bitmap::eraseArea

BUG=
R=scroggo@google.com

Review URL: https://codereview.chromium.org/18029021

git-svn-id: http://skia.googlecode.com/svn/trunk@9815 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoAdd flag bits for partial GrContext reset
bsalomon@google.com [Fri, 28 Jun 2013 18:57:35 +0000 (18:57 +0000)]
Add flag bits for partial GrContext reset

BUG=248728
R=bsalomon@google.com

Committed: https://code.google.com/p/skia/source/detail?r=9802

Review URL: https://codereview.chromium.org/17027003

git-svn-id: http://skia.googlecode.com/svn/trunk@9814 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agomore work on pdf fonts, more to come
edisonn@google.com [Fri, 28 Jun 2013 18:51:20 +0000 (18:51 +0000)]
more work on pdf fonts, more to come

Review URL: https://codereview.chromium.org/18117005

git-svn-id: http://skia.googlecode.com/svn/trunk@9813 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoGPU "fix" for thin stroked rects
robertphillips@google.com [Fri, 28 Jun 2013 17:57:06 +0000 (17:57 +0000)]
GPU "fix" for thin stroked rects

https://codereview.chromium.org/17845003/

git-svn-id: http://skia.googlecode.com/svn/trunk@9812 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoPrint the file being deserialized before deserializing.
scroggo@google.com [Fri, 28 Jun 2013 17:52:53 +0000 (17:52 +0000)]
Print the file being deserialized before deserializing.

That way it is easier to tell which file failed.

R=edisonn@google.com

Review URL: https://codereview.chromium.org/18219002

git-svn-id: http://skia.googlecode.com/svn/trunk@9811 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoMake implicit cast explicit to fix r9807 on gcc.
bungeman@google.com [Fri, 28 Jun 2013 17:21:35 +0000 (17:21 +0000)]
Make implicit cast explicit to fix r9807 on gcc.

git-svn-id: http://skia.googlecode.com/svn/trunk@9809 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoMinimal changes for SampleApp to eb HiDPI aware on Mac.
bungeman@google.com [Fri, 28 Jun 2013 16:44:55 +0000 (16:44 +0000)]
Minimal changes for SampleApp to eb HiDPI aware on Mac.

R=caryclark@google.com

Review URL: https://codereview.chromium.org/18055009

git-svn-id: http://skia.googlecode.com/svn/trunk@9807 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoadd point of interest API
zachr@google.com [Fri, 28 Jun 2013 16:27:33 +0000 (16:27 +0000)]
add point of interest API

R=bsalomon@google.com

Review URL: https://codereview.chromium.org/18176005

git-svn-id: http://skia.googlecode.com/svn/trunk@9806 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agorevert 9802 breacking tests on some configs
edisonn@google.com [Fri, 28 Jun 2013 16:03:21 +0000 (16:03 +0000)]
revert 9802 breacking tests on some configs

git-svn-id: http://skia.googlecode.com/svn/trunk@9805 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agofix OpenCL memory leak
zachr@google.com [Fri, 28 Jun 2013 15:37:15 +0000 (15:37 +0000)]
fix OpenCL memory leak

R=djsollen@google.com

Review URL: https://codereview.chromium.org/18051004

git-svn-id: http://skia.googlecode.com/svn/trunk@9804 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoadd yee's perceptual metric
zachr@google.com [Fri, 28 Jun 2013 15:34:56 +0000 (15:34 +0000)]
add yee's perceptual metric

R=bsalomon@google.com

Review URL: https://codereview.chromium.org/18066004

git-svn-id: http://skia.googlecode.com/svn/trunk@9803 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoAdd flag bits for partial GrContext reset
bsalomon@google.com [Fri, 28 Jun 2013 14:32:08 +0000 (14:32 +0000)]
Add flag bits for partial GrContext reset

BUG=248728
R=bsalomon@google.com

Review URL: https://codereview.chromium.org/17027003

git-svn-id: http://skia.googlecode.com/svn/trunk@9802 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoClang has stricter checking for conversion to a null pointer. In C++11 mode, false...
commit-bot@chromium.org [Fri, 28 Jun 2013 11:47:01 +0000 (11:47 +0000)]
Clang has stricter checking for conversion to a null pointer.  In C++11 mode, false will produce an error if it is used in a place that expects a pointer.  Change these cases to NULL.

R=reed@google.com, robertphillips@google.com

Author: rtrieu@google.com

Review URL: https://chromiumcodereview.appspot.com/18118004

git-svn-id: http://skia.googlecode.com/svn/trunk@9800 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoSanitizing source files in Housekeeper-Nightly
skia.committer@gmail.com [Fri, 28 Jun 2013 11:00:20 +0000 (11:00 +0000)]
Sanitizing source files in Housekeeper-Nightly

git-svn-id: http://skia.googlecode.com/svn/trunk@9799 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoAdd expectations files for skimage.
scroggo@google.com [Thu, 27 Jun 2013 20:50:06 +0000 (20:50 +0000)]
Add expectations files for skimage.

These were downloaded from Google Storage after being generated
by the build bots.

Review URL: https://codereview.chromium.org/18117006

git-svn-id: http://skia.googlecode.com/svn/trunk@9798 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoFix run_decoding_tests on xoom.
scroggo@google.com [Thu, 27 Jun 2013 20:21:01 +0000 (20:21 +0000)]
Fix run_decoding_tests on xoom.

Builder Test-Android-Xoom-Tegra2-Arm7-Debug fails run_decoding_tests
due to a couple of images. Add a way in skimage to ignore failures
if an image is expected to fail. Add an expectations file for xoom
that includes ignore-failure for the two files which are failing.

I have created https://code.google.com/p/skia/issues/detail?id=1382
to track the fact that these images fail to decode, despite the bot
showing green.

R=borenet@google.com

Review URL: https://codereview.chromium.org/18023008

git-svn-id: http://skia.googlecode.com/svn/trunk@9797 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agomore work on pdf fonts, more to come
edisonn@google.com [Thu, 27 Jun 2013 20:03:43 +0000 (20:03 +0000)]
more work on pdf fonts, more to come

Review URL: https://codereview.chromium.org/18117005

git-svn-id: http://skia.googlecode.com/svn/trunk@9796 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoRemove SK_DEBUG_PATH_REF
commit-bot@chromium.org [Thu, 27 Jun 2013 18:39:39 +0000 (18:39 +0000)]
Remove SK_DEBUG_PATH_REF

R=bungeman@google.com

Author: bsalomon@google.com

Review URL: https://chromiumcodereview.appspot.com/18029006

git-svn-id: http://skia.googlecode.com/svn/trunk@9795 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoadd command line flags
zachr@google.com [Thu, 27 Jun 2013 17:51:35 +0000 (17:51 +0000)]
add command line flags

BUG=
R=djsollen@google.com

Review URL: https://codereview.chromium.org/17885003

git-svn-id: http://skia.googlecode.com/svn/trunk@9794 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoAdd MD5 support when syncing debug files and option to just start gdbserver
djsollen@google.com [Thu, 27 Jun 2013 13:43:04 +0000 (13:43 +0000)]
Add MD5 support when syncing debug files and option to just start gdbserver

R=borenet@google.com

Review URL: https://codereview.chromium.org/17910006

git-svn-id: http://skia.googlecode.com/svn/trunk@9791 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoBasic load base font when specified in a FontDescriptor. basic load of TrueType font...
edisonn@google.com [Thu, 27 Jun 2013 13:22:42 +0000 (13:22 +0000)]
Basic load base font when specified in a FontDescriptor. basic load of TrueType font (FontFile2)

Review URL: https://codereview.chromium.org/18059003

git-svn-id: http://skia.googlecode.com/svn/trunk@9788 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoWhitespace change to trigger rebuilds after master restart.
borenet@google.com [Thu, 27 Jun 2013 11:53:37 +0000 (11:53 +0000)]
Whitespace change to trigger rebuilds after master restart.

Unreviewed.

Review URL: https://codereview.chromium.org/18058002

git-svn-id: http://skia.googlecode.com/svn/trunk@9787 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoSanitizing source files in Housekeeper-Nightly
skia.committer@gmail.com [Thu, 27 Jun 2013 07:00:58 +0000 (07:00 +0000)]
Sanitizing source files in Housekeeper-Nightly

git-svn-id: http://skia.googlecode.com/svn/trunk@9786 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoFix for crbug/253460 (generatePath crashing on Windows).
bungeman@google.com [Wed, 26 Jun 2013 22:57:29 +0000 (22:57 +0000)]
Fix for crbug/253460 (generatePath crashing on Windows).

Sometimes GetGlyphOutlineW returns a number larger than BUFFERSIZE
even if BUFFERSIZE > 0. It was previously expected that GetGlyphOutlineW
would always return GDI_ERROR in this case.

git-svn-id: http://skia.googlecode.com/svn/trunk@9785 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoAlias deref -> unref. This allows Skia objects to be held by WTF::RefPtr
commit-bot@chromium.org [Wed, 26 Jun 2013 22:20:22 +0000 (22:20 +0000)]
Alias deref -> unref. This allows Skia objects to be held by WTF::RefPtr
smart pointers without need for another smart pointer type.

Note that the semantics of SkRefCnt match those WTF expects. In
particular, newly created objects have refcount 1 and objects are
deallocated at refcount 0.

This seems like a better fit than the AddRef/Release alises which exist
for scoped_ptr (but seem unused).

BUG=254509
R=reed@google.com

Author: jbroman@chromium.org

Review URL: https://chromiumcodereview.appspot.com/17880003

git-svn-id: http://skia.googlecode.com/svn/trunk@9784 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agostruct != class, even in a friend forward declare
reed@google.com [Wed, 26 Jun 2013 21:28:10 +0000 (21:28 +0000)]
struct != class, even in a friend forward declare

git-svn-id: http://skia.googlecode.com/svn/trunk@9783 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agomove legacy mipmap apis to private, save one that is currently called by chrome....
reed@google.com [Wed, 26 Jun 2013 21:09:37 +0000 (21:09 +0000)]
move legacy mipmap apis to private, save one that is currently called by chrome. It will go soon...

git-svn-id: http://skia.googlecode.com/svn/trunk@9782 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoRemove SK_IGNORE_MAC_TEXT_BOUNDS_FIX workaround.
commit-bot@chromium.org [Wed, 26 Jun 2013 21:08:11 +0000 (21:08 +0000)]
Remove SK_IGNORE_MAC_TEXT_BOUNDS_FIX workaround.

Now that SK_IGNORE_MAC_TEXT_BOUNDS_FIX is no longer used in Chromium, we can remove the code.

R=bungeman@gmail.com

Author: fmalita@chromium.org

Review URL: https://chromiumcodereview.appspot.com/17886002

git-svn-id: http://skia.googlecode.com/svn/trunk@9781 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoignore pyc files.
bsalomon@google.com [Wed, 26 Jun 2013 20:38:39 +0000 (20:38 +0000)]
ignore pyc files.

R=bungeman@google.com

Review URL: https://codereview.chromium.org/17845007

git-svn-id: http://skia.googlecode.com/svn/trunk@9778 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoChange undefined SkGpuRenderTarget and SkGpuTexture forward declares to GrRenderTarge...
commit-bot@chromium.org [Wed, 26 Jun 2013 19:18:23 +0000 (19:18 +0000)]
Change undefined SkGpuRenderTarget and SkGpuTexture forward declares to GrRenderTarget and GrTexture.

R=robertphillips@google.com, reed@google.com

Author: bsalomon@google.com

Review URL: https://chromiumcodereview.appspot.com/17269003

git-svn-id: http://skia.googlecode.com/svn/trunk@9775 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoadd globbing util function
zachr@google.com [Wed, 26 Jun 2013 18:55:36 +0000 (18:55 +0000)]
add globbing util function

R=djsollen@google.com

Review URL: https://codereview.chromium.org/17881002

git-svn-id: http://skia.googlecode.com/svn/trunk@9774 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agorefactoring for pdf viewer lib
edisonn@google.com [Wed, 26 Jun 2013 17:48:12 +0000 (17:48 +0000)]
refactoring for pdf viewer lib

Review URL: https://codereview.chromium.org/17856004

git-svn-id: http://skia.googlecode.com/svn/trunk@9773 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoAdd a new GM for very thin stroke widths
robertphillips@google.com [Wed, 26 Jun 2013 17:06:45 +0000 (17:06 +0000)]
Add a new GM for very thin stroke widths

git-svn-id: http://skia.googlecode.com/svn/trunk@9770 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoFix PathRefDebugRef (SK_DEBUG_PATH_REF) case for SkPath copy constructor.
bungeman@google.com [Wed, 26 Jun 2013 15:53:29 +0000 (15:53 +0000)]
Fix PathRefDebugRef (SK_DEBUG_PATH_REF) case for SkPath copy constructor.

Review URL: https://codereview.chromium.org/17902003

git-svn-id: http://skia.googlecode.com/svn/trunk@9768 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoremove RLE config from debugger too
edisonn@google.com [Wed, 26 Jun 2013 15:28:42 +0000 (15:28 +0000)]
remove RLE config from debugger too

Review URL: https://codereview.chromium.org/17857003

git-svn-id: http://skia.googlecode.com/svn/trunk@9766 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agofix build break, remove "RLE" from gConfigNames too
edisonn@google.com [Wed, 26 Jun 2013 14:52:34 +0000 (14:52 +0000)]
fix build break, remove "RLE" from gConfigNames too
Review URL: https://codereview.chromium.org/17893004

git-svn-id: http://skia.googlecode.com/svn/trunk@9765 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoremove kRLE_Index8_Config from SkBitmap
reed@google.com [Wed, 26 Jun 2013 14:35:02 +0000 (14:35 +0000)]
remove kRLE_Index8_Config from SkBitmap

BUG=
R=djsollen@google.com

Review URL: https://codereview.chromium.org/17740003

git-svn-id: http://skia.googlecode.com/svn/trunk@9764 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoSanitizing source files in Housekeeper-Nightly
skia.committer@gmail.com [Wed, 26 Jun 2013 07:00:59 +0000 (07:00 +0000)]
Sanitizing source files in Housekeeper-Nightly

git-svn-id: http://skia.googlecode.com/svn/trunk@9763 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoRevert "avoid AntiFrameRect when strokeSize is too small. Workaround for skbug/1368"
reed@google.com [Wed, 26 Jun 2013 00:17:41 +0000 (00:17 +0000)]
Revert "avoid AntiFrameRect when strokeSize is too small. Workaround for skbug/1368"

This reverts commit b70c77bb33495b5956550b39d479cf9b911d6114.

git-svn-id: http://skia.googlecode.com/svn/trunk@9762 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoavoid AntiFrameRect when strokeSize is too small. Workaround for skbug/1368
reed@google.com [Tue, 25 Jun 2013 23:55:23 +0000 (23:55 +0000)]
avoid AntiFrameRect when strokeSize is too small. Workaround for skbug/1368

BUG=
R=robertphillips@google.com

Review URL: https://codereview.chromium.org/17739003

git-svn-id: http://skia.googlecode.com/svn/trunk@9761 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoadd removed file by mistake
edisonn@google.com [Tue, 25 Jun 2013 23:21:28 +0000 (23:21 +0000)]
add removed file by mistake

Review URL: https://codereview.chromium.org/17739006

git-svn-id: http://skia.googlecode.com/svn/trunk@9760 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agomove kConfigCount out of Config enum, so we don't pullute type-checking
reed@google.com [Tue, 25 Jun 2013 21:23:54 +0000 (21:23 +0000)]
move kConfigCount out of Config enum, so we don't pullute type-checking

git-svn-id: http://skia.googlecode.com/svn/trunk@9759 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoAdd folders for skimage expectations, plus one set
scroggo@google.com [Tue, 25 Jun 2013 21:04:02 +0000 (21:04 +0000)]
Add folders for skimage expectations, plus one set

Expectations json files will be stored here for running skimage.

Once we move to git, this directory will be at a higher level, but
keeping here for now for simplicity.

(SkipBuildbotRuns)

BUG=https://code.google.com/p/skia/issues/detail?id=1241
R=borenet@google.com

Review URL: https://codereview.chromium.org/17737002

git-svn-id: http://skia.googlecode.com/svn/trunk@9758 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoBasic support for Type3 Fonts in Pdf + various refactorings
edisonn@google.com [Tue, 25 Jun 2013 20:45:40 +0000 (20:45 +0000)]
Basic support for Type3 Fonts in Pdf + various refactorings

Review URL: https://codereview.chromium.org/17748002

git-svn-id: http://skia.googlecode.com/svn/trunk@9757 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agodump strokeWidth in SkDumpCanvas
reed@google.com [Tue, 25 Jun 2013 20:42:37 +0000 (20:42 +0000)]
dump strokeWidth in SkDumpCanvas

git-svn-id: http://skia.googlecode.com/svn/trunk@9756 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoDisable Goma for ChromeOS build
borenet@google.com [Tue, 25 Jun 2013 19:26:11 +0000 (19:26 +0000)]
Disable Goma for ChromeOS build

Doesn't work on VMs.
(RunBuilders:Build-Ubuntu12-GCC-x86-Debug-Alex,Build-Ubuntu12-GCC-x86-Release-Alex)

R=djsollen@google.com

Review URL: https://codereview.chromium.org/17688005

git-svn-id: http://skia.googlecode.com/svn/trunk@9754 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoRemove no longer needed stuff from chromeos build script, always run gyp
commit-bot@chromium.org [Tue, 25 Jun 2013 18:18:07 +0000 (18:18 +0000)]
Remove no longer needed stuff from chromeos build script, always run gyp

(RunBuilders:Test-ChromeOS-Alex-GMA3150-x86-Debug,Test-ChromeOS-Alex-GMA3150-x86-Release,Perf-ChromeOS-Alex-GMA3150-x86-Release)

R=djsollen@google.com

Author: borenet@google.com

Review URL: https://chromiumcodereview.appspot.com/17684002

git-svn-id: http://skia.googlecode.com/svn/trunk@9752 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoEnsure we use the current locale when looking up fallback fonts per character
djsollen@google.com [Tue, 25 Jun 2013 18:07:45 +0000 (18:07 +0000)]
Ensure we use the current locale when looking up fallback fonts per character

http://crbug.com/183830

R=scroggo@google.com

Review URL: https://codereview.chromium.org/17691002

git-svn-id: http://skia.googlecode.com/svn/trunk@9751 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoRevert r9724 (add rect-output parameter to isRect) to allow the DEPS roll
robertphillips@google.com [Tue, 25 Jun 2013 15:39:58 +0000 (15:39 +0000)]
Revert r9724 (add rect-output parameter to isRect) to allow the DEPS roll

git-svn-id: http://skia.googlecode.com/svn/trunk@9750 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoTemporarily disable gpu on chromeos
borenet@google.com [Tue, 25 Jun 2013 13:14:38 +0000 (13:14 +0000)]
Temporarily disable gpu on chromeos

Unreviewed.
(SkipBuildbotRuns)

Review URL: https://codereview.chromium.org/17611013

git-svn-id: http://skia.googlecode.com/svn/trunk@9747 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoUse a single cros_toolchain tarball for ChromeOS build
borenet@google.com [Mon, 24 Jun 2013 19:31:58 +0000 (19:31 +0000)]
Use a single cros_toolchain tarball for ChromeOS build

It's stored in our GS bucket, so we won't need two sets of credentials.
(SkipBuildbotRuns) since this isn't in use.

Review URL: https://codereview.chromium.org/17608003

git-svn-id: http://skia.googlecode.com/svn/trunk@9743 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoFix Performance trigger baselines
robertphillips@google.com [Mon, 24 Jun 2013 11:03:18 +0000 (11:03 +0000)]
Fix Performance trigger baselines

(SkipBuildbotRuns)

git-svn-id: http://skia.googlecode.com/svn/trunk@9739 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoSanitizing source files in Housekeeper-Nightly
skia.committer@gmail.com [Sat, 22 Jun 2013 07:00:58 +0000 (07:00 +0000)]
Sanitizing source files in Housekeeper-Nightly

git-svn-id: http://skia.googlecode.com/svn/trunk@9738 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoAdd modulo flag to lua_pictures.
commit-bot@chromium.org [Fri, 21 Jun 2013 21:45:20 +0000 (21:45 +0000)]
Add modulo flag to lua_pictures.
The intended use is spawning processes to save time.

R=caryclark@google.com, reed@google.com

Author: sglez@google.com

Review URL: https://chromiumcodereview.appspot.com/16950025

git-svn-id: http://skia.googlecode.com/svn/trunk@9736 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoadd missing font.* files, map podofo to SkPdfObject for SkPdfArray::operator[]
edisonn@google.com [Fri, 21 Jun 2013 21:43:09 +0000 (21:43 +0000)]
add missing font.* files, map podofo to SkPdfObject for SkPdfArray::operator[]

Review URL: https://codereview.chromium.org/17063014

git-svn-id: http://skia.googlecode.com/svn/trunk@9735 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoload font manually, for now Type0
edisonn@google.com [Fri, 21 Jun 2013 21:03:15 +0000 (21:03 +0000)]
load font manually, for now Type0

Review URL: https://codereview.chromium.org/17294008

git-svn-id: http://skia.googlecode.com/svn/trunk@9734 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agorestore bitmap.erase() support for 4444 : trivial, and BitmapCopyTest relied on it
reed@google.com [Fri, 21 Jun 2013 19:51:31 +0000 (19:51 +0000)]
restore bitmap.erase() support for 4444 : trivial, and BitmapCopyTest relied on it

git-svn-id: http://skia.googlecode.com/svn/trunk@9731 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoTreat empty directory properly in skimage.
scroggo@google.com [Fri, 21 Jun 2013 19:12:47 +0000 (19:12 +0000)]
Treat empty directory properly in skimage.

Instead of treating an empty directory as a file that failed to
decode, treat it as an empty directory.

Add self tests to check for this.

Builds upon from https://codereview.chromium.org/16866010,
which was reverted.

R=epoger@google.com

Review URL: https://codereview.chromium.org/17101029

git-svn-id: http://skia.googlecode.com/svn/trunk@9730 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoremove dead AutoValidator
reed@google.com [Fri, 21 Jun 2013 19:05:57 +0000 (19:05 +0000)]
remove dead AutoValidator

git-svn-id: http://skia.googlecode.com/svn/trunk@9729 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoremove dead references to PlatformProcs4444
reed@google.com [Fri, 21 Jun 2013 18:40:09 +0000 (18:40 +0000)]
remove dead references to PlatformProcs4444

git-svn-id: http://skia.googlecode.com/svn/trunk@9728 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoremove dst/rendertarget support for kARGB_4444_Config
reed@google.com [Fri, 21 Jun 2013 18:30:53 +0000 (18:30 +0000)]
remove dst/rendertarget support for kARGB_4444_Config

BUG=

Review URL: https://codereview.chromium.org/17335008

git-svn-id: http://skia.googlecode.com/svn/trunk@9727 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoGM: add --missingExpectationsPath option, similar to --mismatchPath
epoger@google.com [Fri, 21 Jun 2013 18:16:47 +0000 (18:16 +0000)]
GM: add --missingExpectationsPath option, similar to --mismatchPath

This will allow us to make the buildbots record all images EXCEPT those which
match expectations to Google Storage.

R=borenet@google.com

Review URL: https://codereview.chromium.org/17552012

git-svn-id: http://skia.googlecode.com/svn/trunk@9725 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoadd rect-output parameter to isRect, allowing us to return the correct bounds even...
reed@google.com [Fri, 21 Jun 2013 17:32:32 +0000 (17:32 +0000)]
add rect-output parameter to isRect, allowing us to return the correct bounds even if a rectagular path has a trailing moveTo

 https://code.google.com/p/chromium/issues/detail?id=247770

R=caryclark@google.com

Review URL: https://codereview.chromium.org/16950021

git-svn-id: http://skia.googlecode.com/svn/trunk@9724 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoSkDebugCanvas: remove unused <iostream> include.
commit-bot@chromium.org [Fri, 21 Jun 2013 17:14:48 +0000 (17:14 +0000)]
SkDebugCanvas: remove unused <iostream> include.

No only this is unused, but it's pulling in a static initializer (which makes SkDebugCanvas unusable in Chromium).

BUG=
R=robertphillips@google.com, bungeman@google.com

Author: fmalita@chromium.org

Review URL: https://chromiumcodereview.appspot.com/17553006

git-svn-id: http://skia.googlecode.com/svn/trunk@9723 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoFix macro for r9718.
bungeman@google.com [Fri, 21 Jun 2013 15:28:54 +0000 (15:28 +0000)]
Fix macro for r9718.

git-svn-id: http://skia.googlecode.com/svn/trunk@9720 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoSkPath::rewind needs to have same reset as SkPath::reset.
bungeman@google.com [Fri, 21 Jun 2013 15:13:34 +0000 (15:13 +0000)]
SkPath::rewind needs to have same reset as SkPath::reset.

R=caryclark@google.com, reed@google.com

Review URL: https://codereview.chromium.org/17432003

git-svn-id: http://skia.googlecode.com/svn/trunk@9718 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoadd (disabled) wrapper for javascript canvas
reed@google.com [Fri, 21 Jun 2013 15:11:40 +0000 (15:11 +0000)]
add (disabled) wrapper for javascript canvas

git-svn-id: http://skia.googlecode.com/svn/trunk@9717 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoSanitizing source files in Housekeeper-Nightly
skia.committer@gmail.com [Fri, 21 Jun 2013 07:00:53 +0000 (07:00 +0000)]
Sanitizing source files in Housekeeper-Nightly

git-svn-id: http://skia.googlecode.com/svn/trunk@9713 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoAdd maxCharWidth and a compile flag to use old metrics (needed by Blink).
bungeman@google.com [Fri, 21 Jun 2013 05:31:38 +0000 (05:31 +0000)]
Add maxCharWidth and a compile flag to use old metrics (needed by Blink).

Review URL: https://codereview.chromium.org/17502006

git-svn-id: http://skia.googlecode.com/svn/trunk@9712 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoChange window size on GM to fit objects properly
egdaniel@google.com [Thu, 20 Jun 2013 21:18:05 +0000 (21:18 +0000)]
Change window size on GM to fit objects properly

BUG=
R=reed@google.com

Review URL: https://codereview.chromium.org/17419010

git-svn-id: http://skia.googlecode.com/svn/trunk@9711 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoAdd gyp define for optimization level
commit-bot@chromium.org [Thu, 20 Jun 2013 20:28:54 +0000 (20:28 +0000)]
Add gyp define for optimization level

R=tomhudson@google.com, djsollen@google.com, epoger@google.com, bungeman@google.com

Author: borenet@google.com

Review URL: https://chromiumcodereview.appspot.com/17370005

git-svn-id: http://skia.googlecode.com/svn/trunk@9710 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoTurn off conic GM for now
egdaniel@google.com [Thu, 20 Jun 2013 18:05:31 +0000 (18:05 +0000)]
Turn off conic GM for now

BUG=

Review URL: https://codereview.chromium.org/17500004

git-svn-id: http://skia.googlecode.com/svn/trunk@9707 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoFixed invalid cast on mingw.
bungeman@google.com [Thu, 20 Jun 2013 17:54:26 +0000 (17:54 +0000)]
Fixed invalid cast on mingw.

Fixes GCC error:
SkThread_win.cpp:39:61: error: invalid static_cast from type â€˜int32_t {aka int}’ to type â€˜const volatile LONG& {aka const volatile long int&}’

Review URL: https://codereview.chromium.org/17047004

git-svn-id: http://skia.googlecode.com/svn/trunk@9706 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoformally declare luaskia extern guy, and then define it
reed@google.com [Thu, 20 Jun 2013 17:40:21 +0000 (17:40 +0000)]
formally declare luaskia extern guy, and then define it

BUG=

Review URL: https://codereview.chromium.org/17503003

git-svn-id: http://skia.googlecode.com/svn/trunk@9705 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agodisable PDF for now, until it knows about conics
reed@google.com [Thu, 20 Jun 2013 17:37:24 +0000 (17:37 +0000)]
disable PDF for now, until it knows about conics

git-svn-id: http://skia.googlecode.com/svn/trunk@9704 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoenable shared lib support in linux for lua
zachr@google.com [Thu, 20 Jun 2013 17:15:05 +0000 (17:15 +0000)]
enable shared lib support in linux for lua

R=bungeman@google.com, reed@google.com

Review URL: https://codereview.chromium.org/16099014

git-svn-id: http://skia.googlecode.com/svn/trunk@9703 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoAdd GM to test conic path rendering
egdaniel@google.com [Thu, 20 Jun 2013 16:54:31 +0000 (16:54 +0000)]
Add GM to test conic path rendering

R=reed@google.com

Review URL: https://codereview.chromium.org/17365006

git-svn-id: http://skia.googlecode.com/svn/trunk@9702 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoFix limit on size of glyph paths.
bungeman@google.com [Thu, 20 Jun 2013 15:29:16 +0000 (15:29 +0000)]
Fix limit on size of glyph paths.

Some web fonts have been observed to contain glyphs which require a buffer
greater than 20KB. In these rare cases we should allocate space on the heap.
Most glyphs require less than 8KB, and Windows has a 1MB stack, so in the
common case just use the stack.

This change also removes the gFTMutex which was both poorly named and used.
The constructor does not appear to have any need for it, and with this change
the path generation code does not need it. The mask generating code does need
memory barriers for correctness, but these bariers are no-ops on x86. We will
need another change to clean up this sort of static initialization code.

R=caryclark@google.com

Review URL: https://codereview.chromium.org/17435003

git-svn-id: http://skia.googlecode.com/svn/trunk@9700 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoRebaselining some performance trigger flakes
robertphillips@google.com [Thu, 20 Jun 2013 07:06:44 +0000 (07:06 +0000)]
Rebaselining some performance trigger flakes

git-svn-id: http://skia.googlecode.com/svn/trunk@9696 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoSanitizing source files in Housekeeper-Nightly
skia.committer@gmail.com [Thu, 20 Jun 2013 07:00:59 +0000 (07:00 +0000)]
Sanitizing source files in Housekeeper-Nightly

git-svn-id: http://skia.googlecode.com/svn/trunk@9695 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoFix shift detection in views on X.
bungeman@google.com [Wed, 19 Jun 2013 23:06:00 +0000 (23:06 +0000)]
Fix shift detection in views on X.

On X, the meta keys are encoded in xkey.state, not xkey.keycode.
This fixes 'h' and 's' not working in SampleApp.

git-svn-id: http://skia.googlecode.com/svn/trunk@9694 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agopost Expose event when we see an inval
reed@google.com [Wed, 19 Jun 2013 20:56:45 +0000 (20:56 +0000)]
post Expose event when we see an inval

git-svn-id: http://skia.googlecode.com/svn/trunk@9693 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoAllow specification of a non-default boto file in chromeos_make
borenet@google.com [Wed, 19 Jun 2013 19:44:18 +0000 (19:44 +0000)]
Allow specification of a non-default boto file in chromeos_make

This is needed because our GS bucket needs a different auth key from the
ChromeOS bucket.

(SkipBuildbotRuns)

R=epoger@google.com

Review URL: https://codereview.chromium.org/16975017

git-svn-id: http://skia.googlecode.com/svn/trunk@9692 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agocombine glyph and image bulk alloc, and adjust initial alloc size, to reduce total...
reed@google.com [Wed, 19 Jun 2013 19:25:36 +0000 (19:25 +0000)]
combine glyph and image bulk alloc, and adjust initial alloc size, to reduce total waste from 50% to 30%

add diagnostics to measure cache efficiency

BUG=

Review URL: https://codereview.chromium.org/17449012

git-svn-id: http://skia.googlecode.com/svn/trunk@9691 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoAllow skimage expectations file to not exist.
scroggo@google.com [Wed, 19 Jun 2013 19:12:53 +0000 (19:12 +0000)]
Allow skimage expectations file to not exist.

If the file is not there, assume that all images are mismatches.
This allows running the test before the initial rebaseline.

R=epoger@google.com

Review URL: https://codereview.chromium.org/17448011

git-svn-id: http://skia.googlecode.com/svn/trunk@9690 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agorebaseline.py: split image-based rebaselining, which will go away soon, into its...
epoger@google.com [Wed, 19 Jun 2013 18:56:59 +0000 (18:56 +0000)]
rebaseline.py: split image-based rebaselining, which will go away soon, into its own script
(part of step 3 in https://goto.google.com/ChecksumTransitionDetail )

also adds new --expectations-root option

R=scroggo@google.com, senorblanco@chromium.org

Review URL: https://codereview.chromium.org/17379004

git-svn-id: http://skia.googlecode.com/svn/trunk@9689 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agofix https://code.google.com/p/skia/issues/detail?id=1356
epoger@google.com [Wed, 19 Jun 2013 18:52:42 +0000 (18:52 +0000)]
fix https://code.google.com/p/skia/issues/detail?id=1356
('32-bit Mac compiler doesn't like https://code.google.com/p/skia/source/detail?r=9686')

git-svn-id: http://skia.googlecode.com/svn/trunk@9688 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoReland r9682, using new SkString::appendU64()
epoger@google.com [Wed, 19 Jun 2013 18:28:31 +0000 (18:28 +0000)]
Reland r9682, using new SkString::appendU64()

Review URL: https://codereview.chromium.org/17157005

git-svn-id: http://skia.googlecode.com/svn/trunk@9687 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoAdd SkString::appendU32() and SkString::appendU64()
epoger@google.com [Wed, 19 Jun 2013 18:27:20 +0000 (18:27 +0000)]
Add SkString::appendU32() and SkString::appendU64()
as needed to re-land r9682

R=reed@google.com

Review URL: https://codereview.chromium.org/17448012

git-svn-id: http://skia.googlecode.com/svn/trunk@9686 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoDeal with ca and CA transparency operators in pdf. add comments to generated classes.
edisonn@google.com [Wed, 19 Jun 2013 17:42:17 +0000 (17:42 +0000)]
Deal with ca and CA transparency operators in pdf. add comments to generated classes.

Review URL: https://codereview.chromium.org/16975013

git-svn-id: http://skia.googlecode.com/svn/trunk@9685 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoReverting r9682, which broke on some compilers
epoger@google.com [Wed, 19 Jun 2013 15:58:00 +0000 (15:58 +0000)]
Reverting r9682, which broke on some compilers

git-svn-id: http://skia.googlecode.com/svn/trunk@9684 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoGM: add --writeChecksumBasedFilenames option
epoger@google.com [Wed, 19 Jun 2013 15:50:09 +0000 (15:50 +0000)]
GM: add --writeChecksumBasedFilenames option

as needed for Step 2 of https://goto.google.com/ChecksumTransitionDetail :
make GenerateGMs upload actual images to Google Storage instead of skia-autogen

R=scroggo@google.com

Review URL: https://codereview.chromium.org/17365002

git-svn-id: http://skia.googlecode.com/svn/trunk@9682 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoUse "Simple Chrome for Chrome OS Workflow" to build Skia for ChromeOS
borenet@google.com [Wed, 19 Jun 2013 15:13:32 +0000 (15:13 +0000)]
Use "Simple Chrome for Chrome OS Workflow" to build Skia for ChromeOS

(SkipBuildbotRuns) since this isn't used yet.

R=djsollen@google.com

Review URL: https://codereview.chromium.org/17412007

git-svn-id: http://skia.googlecode.com/svn/trunk@9681 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoRemove unused NormalizeBench::fUsePortable field.
commit-bot@chromium.org [Wed, 19 Jun 2013 13:28:44 +0000 (13:28 +0000)]
Remove unused NormalizeBench::fUsePortable field.

To address build warnings:

../bench/MathBench.cpp:442:10: error: private field 'fUsePortable' is not used
[-Werror,-Wunused-private-field]
bool fUsePortable;
     ^

R=reed@google.com

Author: fmalita@chromium.org

Review URL: https://chromiumcodereview.appspot.com/17463002

git-svn-id: http://skia.googlecode.com/svn/trunk@9677 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoPerformance trigger rebaselines
robertphillips@google.com [Wed, 19 Jun 2013 11:50:18 +0000 (11:50 +0000)]
Performance trigger rebaselines

git-svn-id: http://skia.googlecode.com/svn/trunk@9673 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoMake GrGLConfigConversionEffect work on Intel GPUs
commit-bot@chromium.org [Wed, 19 Jun 2013 11:41:02 +0000 (11:41 +0000)]
Make GrGLConfigConversionEffect work on Intel GPUs

BUG=247664
R=noel@chromium.org, bsalomon@chromium.org, reed@google.com, tomhudson@chromium.org, bsalomon@google.com

Author: jun.a.jiang@intel.com

Review URL: https://chromiumcodereview.appspot.com/15719007

git-svn-id: http://skia.googlecode.com/svn/trunk@9672 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoSanitizing source files in Housekeeper-Nightly
skia.committer@gmail.com [Wed, 19 Jun 2013 07:01:12 +0000 (07:01 +0000)]
Sanitizing source files in Housekeeper-Nightly

git-svn-id: http://skia.googlecode.com/svn/trunk@9671 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoContinue to contain podofo, shorter enums
edisonn@google.com [Tue, 18 Jun 2013 22:00:40 +0000 (22:00 +0000)]
Continue to contain podofo, shorter enums

Review URL: https://codereview.chromium.org/17395005

git-svn-id: http://skia.googlecode.com/svn/trunk@9670 2bbb7eff-a529-9590-31e7-b0007b416f81