commit-bot@chromium.org [Thu, 16 May 2013 14:53:28 +0000 (14:53 +0000)]
Remove the fno-rtti excluders now that fno-rtti is only passed to c++ files.
R=djsollen@google.com
Author: bungeman@google.com
Review URL: https://chromiumcodereview.appspot.com/
15210003
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@9165
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Thu, 16 May 2013 07:01:00 +0000 (07:01 +0000)]
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@9159
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 15 May 2013 20:55:49 +0000 (20:55 +0000)]
use define to work-around localeconf() missingness in android
BUG=
Review URL: https://codereview.chromium.org/
14689008
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@9157
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 15 May 2013 20:16:20 +0000 (20:16 +0000)]
lua not building on android ??? disabling for now
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@9156
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 15 May 2013 20:07:22 +0000 (20:07 +0000)]
fix typo in dependency line (don't name file, just dir)
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@9153
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 15 May 2013 20:01:07 +0000 (20:01 +0000)]
add direct_dependencies for picture_utils, and add cflags_cc for android's gypi
Review URL: https://codereview.chromium.org/
14620020
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@9152
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 15 May 2013 19:42:16 +0000 (19:42 +0000)]
disable lua_pictures tool from make for now
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@9150
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 15 May 2013 19:34:20 +0000 (19:34 +0000)]
add SkLuaCanvas
add lua 5.2 to third_party
BUG=
R=bungeman@google.com
Review URL: https://codereview.chromium.org/
14907017
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@9149
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Tue, 14 May 2013 16:37:31 +0000 (16:37 +0000)]
Add GM to track thin rectangle rendering
https://codereview.chromium.org/
15012024/
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@9120
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 13 May 2013 19:43:59 +0000 (19:43 +0000)]
add separate impl file for SkFontMgr_fontconfig, so we don't polute
SkFontHost_fontconfig, which should be sharable w/ android. Eventaully
we will remove that FontHost file completely, and just use the SkFontMgr.
R=djsollen@google.com
Review URL: https://codereview.chromium.org/
15077008
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@9114
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Mon, 13 May 2013 14:10:31 +0000 (14:10 +0000)]
add bench for blurred rectori case
https://codereview.chromium.org/
14690014/
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@9108
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Mon, 13 May 2013 14:09:13 +0000 (14:09 +0000)]
API modifications needed to upstream Android font changes.
Committed: http://code.google.com/p/skia/source/detail?r=9083
R=reed@google.com
Author: djsollen@google.com
Review URL: https://chromiumcodereview.appspot.com/
14761003
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@9107
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Thu, 9 May 2013 22:47:33 +0000 (22:47 +0000)]
Reverting 9083 & 9084 due to Android failures
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@9085
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Thu, 9 May 2013 20:54:20 +0000 (20:54 +0000)]
API modifications needed to upstream Android font changes.
R=reed@google.com
Author: djsollen@google.com
Review URL: https://chromiumcodereview.appspot.com/
14761003
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@9083
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Thu, 9 May 2013 19:03:48 +0000 (19:03 +0000)]
Added game-like bench marks
https://codereview.chromium.org/
14772019/
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@9078
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Wed, 8 May 2013 19:14:23 +0000 (19:14 +0000)]
Write/compare against expectations in skimage tool.
skimage:
Add two new modes: one to write expectations to a json file, and
another to compare results against expectations.
Use SkPATH_SEPARATOR instead of '/'.
gm_expectations:
Split into a static library so it can be used by skimage.
Make functions non static and move function definitions into source
file.
Capitalize static member functions to follow the coding style
guidelines.
BUG=https://code.google.com/p/skia/issues/detail?id=1241
R=epoger@google.com
Review URL: https://codereview.chromium.org/
14670021
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@9069
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Wed, 8 May 2013 16:04:02 +0000 (16:04 +0000)]
Re-land r9059 with empty cityhash.gyp, instead of deleted cityhash.gyp
R=rmistry@google.com
Review URL: https://codereview.chromium.org/
15060008/
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@9064
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 8 May 2013 15:32:41 +0000 (15:32 +0000)]
remove dead code (SkBitmapSampler)
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@9062
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Wed, 8 May 2013 15:22:36 +0000 (15:22 +0000)]
Roll out r9059 to unbreak bots
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@9060
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Wed, 8 May 2013 14:49:50 +0000 (14:49 +0000)]
Remove third-party cityhash, unused since r8992
R=djsollen@google.com
Review URL: https://codereview.chromium.org/
15027013
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@9059
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Tue, 7 May 2013 18:51:31 +0000 (18:51 +0000)]
path ops -- fix skp bugs
This fixes a series of bugs discovered by running
the small set of Skia skp files through pathops
to flatten the clips.
Review URL: https://codereview.chromium.org/
14798004
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@9042
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Tue, 7 May 2013 15:28:15 +0000 (15:28 +0000)]
XPS ttc handling.
R=reed@google.com
Author: bungeman@google.com
Review URL: https://chromiumcodereview.appspot.com/
14873006
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@9037
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Mon, 6 May 2013 22:23:08 +0000 (22:23 +0000)]
Mask orientation and layout correctly.
R=reed@google.com, clefru@google.com
Author: bungeman@google.com
Review URL: https://chromiumcodereview.appspot.com/
14884010
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@9022
2bbb7eff-a529-9590-31e7-
b0007b416f81
borenet@google.com [Mon, 6 May 2013 12:50:00 +0000 (12:50 +0000)]
Copy NaCl directory into trunk/platform_tools, adjust paths
(SkipBuildbotRuns)
R=djsollen@google.com
Review URL: https://codereview.chromium.org/
14771017
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@9008
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Fri, 3 May 2013 14:00:34 +0000 (14:00 +0000)]
Exclude angle dependency on non-angle builds
R=bsalomon@google.com
Review URL: https://codereview.chromium.org/
14200018
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8983
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Thu, 2 May 2013 12:27:21 +0000 (12:27 +0000)]
Update DEPS and GYP to use the copy of Android in platform_tools.
R=borenet@google.com
Review URL: https://codereview.chromium.org/
13898019
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8951
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Thu, 2 May 2013 00:12:03 +0000 (00:12 +0000)]
Hamfistedly removed core dependence on images
https://codereview.chromium.org/
14805002/
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8947
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Wed, 1 May 2013 21:17:27 +0000 (21:17 +0000)]
Force linking with image decoders for images project.
Previously, each tool that wanted to use image decoders
but did not specifically reference them had to create a
dummy function that references them in order to ensure
they are not stripped by the linker.
Instead of making each tool reference each image decoder,
do it once in SkImageDecoder.cpp. Now each tool will have
image decoders linked in, assuming it includes the images
project.
This fixes a bug where SKPs with encoded data could not
be read by bench_ or render_pictures.
R=djsollen@google.com, robertphillips@google.com
Review URL: https://codereview.chromium.org/
14678003
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8941
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Fri, 26 Apr 2013 19:51:16 +0000 (19:51 +0000)]
path ops -- handle non-finite numbers
Op() and Simplify() do nothing if the input
is non-finite. Add code and tests.
Review URL: https://codereview.chromium.org/
14407006
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8882
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Fri, 26 Apr 2013 15:06:44 +0000 (15:06 +0000)]
GM: specify that currently used checksums are CityHashes of SkBitmaps
(distinct from other hash algorithms we may switch to, or hashes of
files such as PDFs that cannot be read into an SkBitmap)
Review URL: https://codereview.chromium.org/
14284018
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8877
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Thu, 25 Apr 2013 17:33:51 +0000 (17:33 +0000)]
Updates to skimage tool to use it for testing.
skimage_main.cpp:
More changes in the interest of testing our decoders.
force_all_opaque before writing PNG files.
Test reencoding the image to its original type (if possible), and
then test redecoding it (to make sure the encoding was successful).
Add an option to turn off this behavior.
Merge decodeFileAndWrite with decodeFile.
SkImageDecoder:
Add kUnknown_Type to SkImageEncoder::Types.
Add a static function to get the Format of an SkStream.
In getFormatName(), remove an incorrect assert.
When calling the flavor of DecodeStream that returns the Format,
check the stream if the decoder returns kUnknown_Format.
BUG=https://code.google.com/p/skia/issues/detail?id=1241
Review URL: https://codereview.chromium.org/
14363003
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8862
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Thu, 25 Apr 2013 14:28:14 +0000 (14:28 +0000)]
fix build : add src\pathops to pathops_unittest
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8856
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Thu, 25 Apr 2013 13:34:40 +0000 (13:34 +0000)]
path ops : make it real
Add an option to SkCanvas to turn on path
ops when combining clips.
Allow Op() to use one of the input paths
as an output path.
Fix a bug in Op() when the minuend is empty
and the subtrahend is not (for difference).
Change the build to allow core to depend on pathops.
Review URL: https://codereview.chromium.org/
14474002
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8855
2bbb7eff-a529-9590-31e7-
b0007b416f81
sugoi@google.com [Wed, 24 Apr 2013 19:36:44 +0000 (19:36 +0000)]
Adding new bench tests for lighting and blur
Review URL: https://codereview.chromium.org/
14474004
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8846
2bbb7eff-a529-9590-31e7-
b0007b416f81
edisonn@google.com [Wed, 24 Apr 2013 13:01:01 +0000 (13:01 +0000)]
Encode images with DCTDecode (JPEG) in PDFs if it makes sense. Fallback to FlateDecode (zip) if it makes sense. Otherewise include uncompressed stream.
This change will reduce the size of PDFs to 50% (in the case of the existing SKPs, we reduce the total size of PDFs from 105MB to 50MB)
Review URL: https://codereview.appspot.com/7068055
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8835
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Tue, 23 Apr 2013 18:06:23 +0000 (18:06 +0000)]
ARGB image encoder for checksums.
https://codereview.chromium.org/
14267031/
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8831
2bbb7eff-a529-9590-31e7-
b0007b416f81
sugoi@google.com [Tue, 23 Apr 2013 14:20:45 +0000 (14:20 +0000)]
Added a few bench for some image filters
Review URL: https://codereview.chromium.org/
14234019
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8824
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Mon, 22 Apr 2013 20:26:44 +0000 (20:26 +0000)]
Fix gyp files to allow ninja to build 64 bit on Mac.
Fix warnings that cropped up building as 64-bit.
BUG=
R=bsalomon@google.com, bungeman@google.com
Author: mtklein@google.com
Review URL: https://chromiumcodereview.appspot.com/
13852013
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8814
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Mon, 22 Apr 2013 20:09:23 +0000 (20:09 +0000)]
remove deleted file from gyp
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8811
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Mon, 22 Apr 2013 18:05:19 +0000 (18:05 +0000)]
Add new roundrect GM
R=bsalomon@google.com
Author: jvanverth@google.com
Review URL: https://chromiumcodereview.appspot.com/
14348022
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8806
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 22 Apr 2013 14:56:50 +0000 (14:56 +0000)]
Revert accidentally changed msvs settings in r8764.
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8800
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Mon, 22 Apr 2013 14:37:05 +0000 (14:37 +0000)]
path ops : add support for inverse fill
add inverse fill, reverse diff, and gm tests
cleaned up some interfaces
Review URL: https://codereview.chromium.org/
14371011
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8798
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 19 Apr 2013 20:16:01 +0000 (20:16 +0000)]
add SkDataTable, to efficiently store an immutable array. Includes a builder
helper class.
Review URL: https://codereview.chromium.org/
14188049
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8779
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 19 Apr 2013 13:25:28 +0000 (13:25 +0000)]
silence && || parens clang warning.
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8764
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Fri, 19 Apr 2013 11:45:56 +0000 (11:45 +0000)]
enable path ops in unit tests
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8760
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 18 Apr 2013 19:36:09 +0000 (19:36 +0000)]
Expand modulate, add, subtract, extract component glsl helpers.
Review URL: https://codereview.chromium.org/
13895006
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8755
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Thu, 18 Apr 2013 19:21:06 +0000 (19:21 +0000)]
disabling path ops
Default single-threaded variant may wait forever.
Review URL: https://codereview.chromium.org/
13874014
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8754
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Thu, 18 Apr 2013 19:18:19 +0000 (19:18 +0000)]
Remove exclude of file which no longer exists.
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8753
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Thu, 18 Apr 2013 19:02:56 +0000 (19:02 +0000)]
Enable path ops
Path ops work (to my knowledge) on all platforms.
Turning it on will use the bots to expose failing
combinations I don't know about.
Review URL: https://codereview.chromium.org/
14057014
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8751
2bbb7eff-a529-9590-31e7-
b0007b416f81
jvanverth@google.com [Thu, 18 Apr 2013 13:59:04 +0000 (13:59 +0000)]
Add a GM to test ovals with a variety of paint settings, matrices and sizes.
Review URL: https://codereview.chromium.org/
14329008/
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8737
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Wed, 17 Apr 2013 21:07:55 +0000 (21:07 +0000)]
Updates to images project.
Use the SkImageEncoder_Factory on all platforms. On Windows and Mac,
register the platform's image encoder as an option for
SkImageEncoder::Create. Also add more types that can be decoded.
Update comments for SkImageDecoder to be more accurate.
Add more types to SkImageEncoder::Type, and return the correct type of
encoder, if it exists.
Use a custom version of SkImageDecoder::Factory on Windows and Mac to
check the stream for registered decoders before defaulting to the platform's
version. Share code with the existing SkImageDecoder::Factory method.
Preparation for testing decoders and encoders:
BUG=https://code.google.com/p/skia/issues/detail?id=1241
Review URL: https://codereview.chromium.org/
14298010
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8730
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 17 Apr 2013 14:19:44 +0000 (14:19 +0000)]
Add xfermodes2 GM. Tests all xfer modes with two gradient bitmaps
Review URL: https://codereview.chromium.org/
13912017
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8721
2bbb7eff-a529-9590-31e7-
b0007b416f81
sugoi@google.com [Wed, 17 Apr 2013 13:46:56 +0000 (13:46 +0000)]
Perlin noise adjustments
1 ) Added GPU simplex noise as a comparison to GPU Perlin noise. It can be enabled simply by using a #define (SK_USE_SIMPLEX_NOISE)
2 ) Enabled GPU Perlin noise tests
3 ) Added a small benchmark for noise
4 ) Disabled GPU Perlin noise on Android based on benchmarks
Review URL: https://codereview.chromium.org/
14087002
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8719
2bbb7eff-a529-9590-31e7-
b0007b416f81
junov@chromium.org [Wed, 17 Apr 2013 13:43:04 +0000 (13:43 +0000)]
Benchmark to measure SkSurface copy on write performance
Review URL: https://codereview.chromium.org/
14297008
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8718
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 16 Apr 2013 16:55:38 +0000 (16:55 +0000)]
add gm to test edge case in drawBitmapRectToRect
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8698
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Mon, 15 Apr 2013 19:13:59 +0000 (19:13 +0000)]
path ops work in progress
standardize tests
use SK_ARRAY_COUNT everywhere
debug why x87 differs from SIMD 64
various platform specific fixes
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8689
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Mon, 15 Apr 2013 14:37:28 +0000 (14:37 +0000)]
Remove freetype dependency from core.gyp
Committed: https://code.google.com/p/skia/source/detail?r=8677
Review URL: https://codereview.chromium.org/
13975014
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8678
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Mon, 15 Apr 2013 14:02:32 +0000 (14:02 +0000)]
Remove freetype dependency from core.gyp
Review URL: https://codereview.chromium.org/
13975014
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8677
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Sat, 13 Apr 2013 07:01:15 +0000 (07:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8670
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Fri, 12 Apr 2013 15:13:35 +0000 (15:13 +0000)]
Add testing of optimizations to GM
https://codereview.chromium.org/
12843028/
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8658
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Fri, 12 Apr 2013 14:59:02 +0000 (14:59 +0000)]
Reverting r8654
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8655
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Fri, 12 Apr 2013 14:53:29 +0000 (14:53 +0000)]
Add testing of optimizations to GM
https://codereview.chromium.org/
12843028/
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8654
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Fri, 12 Apr 2013 12:12:09 +0000 (12:12 +0000)]
revert path ops unit test until errors are fixed
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8645
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Fri, 12 Apr 2013 11:59:41 +0000 (11:59 +0000)]
turn on pathops unit test
This temporarily disables SK_ENABLE_INST_COUNT
( skbug.com/1219 )
This fixes a linktime error on VS2012 in
PathTest.cpp; -SK_ScalarInfinity should be
SK_ScalarNegativeInfinity instead.
This adds pathops and pathops unit tests to the
main unit tests.
Should this change destabilize anything, it should
be sufficient to comment out the pathops gypi
includes. at test.gyp:18,21.
Review URL: https://codereview.chromium.org/
14137010
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8644
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Fri, 12 Apr 2013 02:23:55 +0000 (02:23 +0000)]
rename SkBitmapChecksummer as SkBitmapHasher, and prepare for it to possibly use
some algorithm other than CityHash
Review URL: https://codereview.chromium.org/
14170010
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8639
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Thu, 11 Apr 2013 22:24:35 +0000 (22:24 +0000)]
Fix the NaCl build.
Do not attempt to build our gif files or link gif in Nacl.
Review URL: https://codereview.chromium.org/
14201002
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8635
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Thu, 11 Apr 2013 20:11:40 +0000 (20:11 +0000)]
Better fix for the patched build.
skia_test is also built on Android in pathops_unittest, which needed
to also depend on the flags project.
Remove the hack in skia_test of providing the full path.
Review URL: https://codereview.chromium.org/
14177002
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8632
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Thu, 11 Apr 2013 18:32:01 +0000 (18:32 +0000)]
Include gif image decoding in images/ on linux.
Build SkImageDecoder_libgif in images project and link against
libgif on linux.
Ensure that the GIF decoder is used in skimage.
Requires a new dependency on libgif-dev when building on linux.
Review URL: https://codereview.chromium.org/
14029011
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8627
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 11 Apr 2013 18:31:25 +0000 (18:31 +0000)]
add fontmgr tests, and optional --verboseFontMgr flag (or -vfm) for more output
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8626
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Thu, 11 Apr 2013 16:54:09 +0000 (16:54 +0000)]
use commandlineflags for tests/
Author: reed@google.com
Reviewed By: scroggo@google.com
Review URL: https://chromiumcodereview.appspot.com/
14047009
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8616
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Thu, 11 Apr 2013 15:53:35 +0000 (15:53 +0000)]
Updates for the skimage tool.
Allow passing files or folders on the command line.
Group the output to show all successes together, all failures
together, etc.
When writing a new png, do not make its file type ".png.png"
if the original was a png.
Force linking for JPEG decoder.
Use SkCommandLineFlags.
Review URL: https://codereview.chromium.org/
14089002
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8615
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Thu, 11 Apr 2013 12:33:23 +0000 (12:33 +0000)]
shape ops test fixes
- fix rand for Android
- build unit test on linux
- use atomic inc in test count
- add casting for Android
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8610
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Wed, 10 Apr 2013 15:55:37 +0000 (15:55 +0000)]
Make parallel unit testing work on windows
Review URL: https://codereview.chromium.org/
14072002
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8594
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 9 Apr 2013 15:04:12 +0000 (15:04 +0000)]
Reland of 8525 with fix for case when GrRT outlives GrTexture.
Review URL: https://codereview.chromium.org/
13814015
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8573
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Tue, 9 Apr 2013 07:01:27 +0000 (07:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8568
2bbb7eff-a529-9590-31e7-
b0007b416f81
humper@google.com [Mon, 8 Apr 2013 21:44:11 +0000 (21:44 +0000)]
Error checking / reporting API
Review URL: https://codereview.chromium.org/
13699004
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8566
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Mon, 8 Apr 2013 20:37:35 +0000 (20:37 +0000)]
saving the old before blowing away
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8565
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Mon, 8 Apr 2013 19:43:22 +0000 (19:43 +0000)]
Allow single-pass filters (which use asNewEffect()) to participate in the image filter DAG. This was done by introducing the SkSinglePassImageFilter abstract base class, which implements canFilterImageGPU() and filterImageGPU() on behalf of the derived class. The derived class still only needs to asNewEffect(). This allows us to recurse on the filter input in SkSinglePassImageFilter::onFilterImageGPU(). It also allows us to remove any knowledge of single-pass image filters from SkGpuDevice and from the SkImageFilter base class as well.
BUG=
Review URL: https://codereview.chromium.org/
13602013
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8563
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Mon, 8 Apr 2013 11:50:46 +0000 (11:50 +0000)]
Add implementation of path ops
This CL depends on
https://codereview.chromium.org/
12880016/
"Add intersections for path ops"
Given a path, iterate through its contour, and
construct an array of segments containing its curves.
Intersect each curve with every other curve, and for
cubics, with itself.
Given the set of intersections, find one with the
smallest y and sort the curves eminating from the
intersection. Assign each curve a winding value.
Operate on the curves, keeping and discarding them
according to the current operation and the sum of
the winding values.
Assemble the kept curves into an output path.
Review URL: https://codereview.chromium.org/
13094010
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8553
2bbb7eff-a529-9590-31e7-
b0007b416f81
sugoi@google.com [Fri, 5 Apr 2013 13:47:09 +0000 (13:47 +0000)]
New SVG turbulence in Skia
This cl contains the code for CPU generation of noise.
TEST:Added 'perlinnoise' gm
Review URL: https://codereview.chromium.org/
13094003
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8541
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Thu, 4 Apr 2013 19:42:51 +0000 (19:42 +0000)]
Revert Skia to use -02.
There was no clear speed improvement and the
increase in binary size was substantial.
Committed: http://code.google.com/p/skia/source/detail?r=8492
Committed: https://code.google.com/p/skia/source/detail?r=8494
Review URL: https://codereview.chromium.org/
13468010
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8539
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 3 Apr 2013 21:06:42 +0000 (21:06 +0000)]
Revert 8525,8526 pending investigation of bench_pictures crashes.
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8527
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 3 Apr 2013 19:49:13 +0000 (19:49 +0000)]
Remove GrTexture::releaseRenderTarget() and add GrSurface::isSameAs().
Review URL: https://codereview.chromium.org/
13414006
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8525
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Tue, 2 Apr 2013 18:14:21 +0000 (18:14 +0000)]
Revert Skia to use -02.
There was no clear speed improvement and the
increase in binary size was substantial.
Committed: http://code.google.com/p/skia/source/detail?r=8492
Review URL: https://codereview.chromium.org/
13468010
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8494
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Tue, 2 Apr 2013 17:57:21 +0000 (17:57 +0000)]
Move edge GrEffects to locally defined classes.
This removes the general GrEdgeEffect and the specialized oval GrEffects and declares them within the renderer files that use them. It also splits GrEdgeEffect into three different GrEffects.
Author: jvanverth@google.com
Reviewed By: robertphillips@google.com
Review URL: https://chromiumcodereview.appspot.com/
13344002
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8493
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Tue, 2 Apr 2013 17:36:30 +0000 (17:36 +0000)]
Revert Skia to use -02.
There was no clear speed improvement and the
increase in binary size was substantial.
Author: djsollen@google.com
Reviewed By: borenet@google.com
Review URL: https://chromiumcodereview.appspot.com/
13468010
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8492
2bbb7eff-a529-9590-31e7-
b0007b416f81
edisonn@google.com [Tue, 2 Apr 2013 15:33:08 +0000 (15:33 +0000)]
resubmit https://code.google.com/p/skia/source/detail?r=7883 (in the meantime we
added capability to collect minidump and callstack if buildbot fails with heap
coruption in windows, and a NPE bug was fixed in SkPDFDocument, when document was destroyed without ever beeing used and a field was NULL + a few minor conflicts have been resolved)
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8487
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Tue, 2 Apr 2013 14:12:38 +0000 (14:12 +0000)]
Name table iterator.
https://codereview.appspot.com/8180043/
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8480
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 1 Apr 2013 18:02:55 +0000 (18:02 +0000)]
Add GM mixed_xfermodes. This is a work in progress and will be used to test fixes for GPU Xfermodes effects.
Review URL: https://codereview.chromium.org/
13365005
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8461
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Mon, 1 Apr 2013 12:51:34 +0000 (12:51 +0000)]
Add Xfermode bench. Also clear before rendering in bench (rather than after).
Author: bsalomon@google.com
Reviewed By: robertphillips@google.com
Review URL: https://chromiumcodereview.appspot.com/
13334011
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8454
2bbb7eff-a529-9590-31e7-
b0007b416f81
junov@chromium.org [Thu, 28 Mar 2013 13:49:22 +0000 (13:49 +0000)]
Adding unit test for verifying copy on write in SkSurface + bug fix in SkCanvas::clear
Review URL: https://codereview.chromium.org/
13116018
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8429
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 28 Mar 2013 13:39:35 +0000 (13:39 +0000)]
add gm for experimental fontmgr api
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8426
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 27 Mar 2013 19:50:27 +0000 (19:50 +0000)]
Move GrGLProgramDesc::Build to new cpp file.
Review URL: https://codereview.chromium.org/
13097007
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8414
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 27 Mar 2013 18:14:57 +0000 (18:14 +0000)]
Move GrGLProgram::Desc out of GrGLProgram.
Review URL: https://codereview.chromium.org/
12942014
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8411
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 26 Mar 2013 14:45:27 +0000 (14:45 +0000)]
Replace edge types with GrEdgeEffect.
This strips out last of the edge types and the fixed function edge attribute and replaces them with using GrEdgeEffect. Also fixes a minor bug when checking attribute counts -- it was using kAttribIndexCount instead of kVertexAttribCnt.
Original Author: jvanverth@google.com
Review URL: https://codereview.chromium.org/
13069003
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8392
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Mon, 25 Mar 2013 22:16:02 +0000 (22:16 +0000)]
Reverting r8376, r8373 and r8371 due to Android shader compilation failures
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8378
2bbb7eff-a529-9590-31e7-
b0007b416f81
sugoi@google.com [Mon, 25 Mar 2013 19:31:04 +0000 (19:31 +0000)]
New SVG turbulence in Skia
This cl contains the code for both CPU and GPU generation of noise. Both
codepaths yield equivalent results.
TEST:Added 'perlinnoise' gm
Review URL: https://codereview.chromium.org/
13047005
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8371
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 25 Mar 2013 18:19:00 +0000 (18:19 +0000)]
Move nested class GrDrawTarget::Caps out as GrDrawTargetCaps.
Pass caps to GrEffect::TestCreate() functions so that they can return effects that will work with the capabilities.
Review URL: https://codereview.chromium.org/
12965018
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8369
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Sat, 23 Mar 2013 07:01:28 +0000 (07:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8350
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Fri, 22 Mar 2013 18:34:09 +0000 (18:34 +0000)]
Move oval rendering code to GrOvalRenderer.
Author: jvanverth@google.com
Reviewed By: bsalomon@google.com,robertphillips@google.com
Review URL: https://chromiumcodereview.appspot.com/
12657003
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8345
2bbb7eff-a529-9590-31e7-
b0007b416f81