platform/upstream/libSkiaSharp.git
11 years agoFix a warning on linux.
scroggo@google.com [Fri, 22 Feb 2013 15:46:00 +0000 (15:46 +0000)]
Fix a warning on linux.

Review URL: https://codereview.appspot.com/7392045

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

11 years agoAdd chart bench.
bsalomon@google.com [Fri, 22 Feb 2013 15:10:36 +0000 (15:10 +0000)]
Add chart bench.
Review URL: https://codereview.appspot.com/7368051

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

11 years agoremove obsolete build flag SK_IGNORE_CONVEX_QUAD_OPT
reed@google.com [Fri, 22 Feb 2013 14:19:58 +0000 (14:19 +0000)]
remove obsolete build flag SK_IGNORE_CONVEX_QUAD_OPT
Review URL: https://codereview.appspot.com/7363046

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

11 years agoremove obsolete build flag SK_IGNORE_SETLINE_FIX
reed@google.com [Fri, 22 Feb 2013 14:02:58 +0000 (14:02 +0000)]
remove obsolete build flag SK_IGNORE_SETLINE_FIX

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

11 years agoremove obsolete build flag SK_IGNORE_GRADIENT_DITHER_FIX
reed@google.com [Fri, 22 Feb 2013 13:03:29 +0000 (13:03 +0000)]
remove obsolete build flag SK_IGNORE_GRADIENT_DITHER_FIX

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

11 years agoSanitizing source files in Skia_Periodic_House_Keeping
skia.committer@gmail.com [Fri, 22 Feb 2013 07:16:18 +0000 (07:16 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping

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

11 years agoSmall adjustments to SkRectShaderImageFilter to follow up on original cl.
sugoi@google.com [Thu, 21 Feb 2013 20:26:50 +0000 (20:26 +0000)]
Small adjustments to SkRectShaderImageFilter to follow up on original cl.
Review URL: https://codereview.appspot.com/7377049

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

11 years agoFix GM self-test expectations, mkII
borenet@google.com [Thu, 21 Feb 2013 19:48:02 +0000 (19:48 +0000)]
Fix GM self-test expectations, mkII
Review URL: https://codereview.appspot.com/7393046

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

11 years agoFix GM self-test expectations
borenet@google.com [Thu, 21 Feb 2013 19:20:11 +0000 (19:20 +0000)]
Fix GM self-test expectations
Review URL: https://codereview.appspot.com/7386048

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

11 years agoFix ignored errors in GM when no reference images are provided
borenet@google.com [Thu, 21 Feb 2013 18:34:14 +0000 (18:34 +0000)]
Fix ignored errors in GM when no reference images are provided
Review URL: https://codereview.appspot.com/7400044

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

11 years agoFix warnings-as-errors on Mac10.6 and Win. Unreviewed.
senorblanco@chromium.org [Thu, 21 Feb 2013 17:10:44 +0000 (17:10 +0000)]
Fix warnings-as-errors on Mac10.6 and Win.  Unreviewed.

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

11 years agoUse CPU arrays for dynamic indices/vertices on ARM GPUs.
bsalomon@google.com [Thu, 21 Feb 2013 16:34:21 +0000 (16:34 +0000)]
Use CPU arrays for dynamic indices/vertices on ARM GPUs.
Review URL: https://codereview.appspot.com/7365047

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

11 years agoNew SkRectShaderImageFilter image filter
sugoi@google.com [Thu, 21 Feb 2013 15:02:28 +0000 (15:02 +0000)]
New SkRectShaderImageFilter image filter

This new changelist also introduces a new image filter called SkRectShaderImageFilter which is make to simply apply a shader on a region without using any inputs.

TEST=Added ShaderImageFilter test
Review URL: https://codereview.appspot.com/7300046

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

11 years agoAdd support for vertex data rendered from CPU arrays.
bsalomon@google.com [Thu, 21 Feb 2013 14:33:46 +0000 (14:33 +0000)]
Add support for vertex data rendered from CPU arrays.
Review URL: https://codereview.appspot.com/7380044

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

11 years agoSanitizing source files in Skia_Periodic_House_Keeping
skia.committer@gmail.com [Thu, 21 Feb 2013 07:15:03 +0000 (07:15 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping

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

11 years agoMake ANGLE bot run only ANGLE configs in bench_pictures
borenet@google.com [Wed, 20 Feb 2013 20:01:23 +0000 (20:01 +0000)]
Make ANGLE bot run only ANGLE configs in bench_pictures
Review URL: https://codereview.appspot.com/7397043

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

11 years agoAdd GrGLBufferImpl to unify implementation of GrGLVertexBuffer and GrGLIndexBuffer.
bsalomon@google.com [Wed, 20 Feb 2013 19:33:20 +0000 (19:33 +0000)]
Add GrGLBufferImpl to unify implementation of GrGLVertexBuffer and GrGLIndexBuffer.
Review URL: https://codereview.appspot.com/7346055

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

11 years agoFix compile errors in blur code on Windows.
jvanverth@google.com [Wed, 20 Feb 2013 19:02:34 +0000 (19:02 +0000)]
Fix compile errors in blur code on Windows.

Various typecasts to remove warnings and get this code building on Windows.

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

11 years agoremove blur radius reinterpretation for now to make rebaselining simpler and avoid...
humper@google.com [Wed, 20 Feb 2013 18:35:40 +0000 (18:35 +0000)]
remove blur radius reinterpretation for now to make rebaselining simpler and avoid significant changes to webkit and JNI -- those come later

BUG=

Review URL: https://codereview.appspot.com/7391043

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

11 years agoComplete the implementation of the faster blur; now supports all blur styles and...
humper@google.com [Wed, 20 Feb 2013 16:42:06 +0000 (16:42 +0000)]
Complete the implementation of the faster blur; now supports all blur styles and matches the boxfilter approximation visually.  Also change the interpretation of the blur radius to be sigma/2; need to add SK_IGNORE_BLUR_RADIUS_CORRECTNESS to chromium GYP to avoid immediate layout test failures over there.

Review URL: https://codereview.appspot.com/7307076

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

11 years agoFix compare of scalar against (int) kMaxTValue.
reed@google.com [Wed, 20 Feb 2013 14:55:20 +0000 (14:55 +0000)]
Fix compare of scalar against (int) kMaxTValue.
Also fix order of related compares, placing literal first.

http://code.google.com/p/skia/issues/detail?id=1127
Review URL: https://codereview.appspot.com/7385043

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

11 years agoshape ops work in progress
caryclark@google.com [Wed, 20 Feb 2013 12:51:37 +0000 (12:51 +0000)]
shape ops work in progress

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

11 years agoSanitizing source files in Skia_Periodic_House_Keeping
skia.committer@gmail.com [Wed, 20 Feb 2013 07:02:30 +0000 (07:02 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping

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

11 years agoadd as experiment to factor out low-level enums and types
mike@reedtribe.org [Wed, 20 Feb 2013 02:49:16 +0000 (02:49 +0000)]
add as experiment to factor out low-level enums and types

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

11 years agoFix handling of setMatrix in debugger
robertphillips@google.com [Tue, 19 Feb 2013 21:00:26 +0000 (21:00 +0000)]
Fix handling of setMatrix in debugger

https://codereview.appspot.com/7349047/

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

11 years agoFix unused var warning.
bsalomon@google.com [Tue, 19 Feb 2013 20:27:02 +0000 (20:27 +0000)]
Fix unused var warning.

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

11 years agoRefactor tracking of bound vbufs and ibufs and vertex attrib arrays.
bsalomon@google.com [Tue, 19 Feb 2013 20:17:28 +0000 (20:17 +0000)]
Refactor tracking of bound vbufs and ibufs and vertex attrib arrays.
Review URL: https://codereview.appspot.com/7359045

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

11 years agoEnable blur rounding (unreviewed).
senorblanco@chromium.org [Tue, 19 Feb 2013 17:09:14 +0000 (17:09 +0000)]
Enable blur rounding (unreviewed).

At a minimum, the following tests will need a rebaseline: tilemodes, texteffects, shadows, drawlooper, drawbitmaprect, circles, blurrect, blurs, drawbitmapmatrix.

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

11 years agoAdd rounding to the separable blurs. This should ensure that the box blurs are energ...
senorblanco@chromium.org [Tue, 19 Feb 2013 16:09:10 +0000 (16:09 +0000)]
Add rounding to the separable blurs.  This should ensure that the box blurs are energy-preserving (ie., blurring solid 255 alpha stays 255 alpha).

Disabled by default; will enable & rebaseline.

Review URL: https://codereview.appspot.com/7350043

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

11 years agoremove experimental code that accidentally got delivered
robertphillips@google.com [Tue, 19 Feb 2013 15:26:19 +0000 (15:26 +0000)]
remove experimental code that accidentally got delivered

https://codereview.appspot.com/7340044/

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

11 years agoshape ops work in progress
caryclark@google.com [Tue, 19 Feb 2013 12:49:33 +0000 (12:49 +0000)]
shape ops work in progress

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

11 years agoRebaselined webpage image GMs for ['base-macmini', 'base-macmini-lion-float', 'base...
rmistry@google.com [Tue, 19 Feb 2013 00:24:10 +0000 (00:24 +0000)]
Rebaselined webpage image GMs for ['base-macmini', 'base-macmini-lion-float', 'base-macmini-10_8'] on Google Storage.

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

11 years agofix signature for onFindClickHandler
mike@reedtribe.org [Mon, 18 Feb 2013 21:52:43 +0000 (21:52 +0000)]
fix signature for onFindClickHandler

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

11 years agoRebaselined webpage image GMs for ['base-shuttle-win7-intel-angle', 'base-shuttle...
rmistry@google.com [Mon, 18 Feb 2013 06:57:26 +0000 (06:57 +0000)]
Rebaselined webpage image GMs for ['base-shuttle-win7-intel-angle', 'base-shuttle-win7-intel-directwrite'] on Google Storage.

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

11 years agobench_graph_svg: HUGE speedup for parsing tiled bench data
epoger@google.com [Sun, 17 Feb 2013 08:59:56 +0000 (08:59 +0000)]
bench_graph_svg: HUGE speedup for parsing tiled bench data
Review URL: https://codereview.appspot.com/7322085

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

11 years agoRebaselined webpage image GMs for ['base-shuttle-win7-intel-float', 'base-shuttle...
rmistry@google.com [Sun, 17 Feb 2013 08:55:37 +0000 (08:55 +0000)]
Rebaselined webpage image GMs for ['base-shuttle-win7-intel-float', 'base-shuttle-win7-intel-angle', 'base-shuttle-win7-intel-directwrite'] on Google Storage.

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

11 years agobench_graph_svg: add r7618 results (NOT per-tile) to self-test source data
epoger@google.com [Sun, 17 Feb 2013 08:33:27 +0000 (08:33 +0000)]
bench_graph_svg: add r7618 results (NOT per-tile) to self-test source data
Review URL: https://codereview.appspot.com/7305098

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

11 years agoSanitizing source files in Skia_Periodic_House_Keeping
skia.committer@gmail.com [Sun, 17 Feb 2013 07:02:20 +0000 (07:02 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping

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

11 years agoshape ops work in progress
caryclark@google.com [Sun, 17 Feb 2013 01:41:25 +0000 (01:41 +0000)]
shape ops work in progress

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

11 years agoRebaselined webpage image GMs for ['base-shuttle_ubuntu12_ati5770'] on Google Storage.
rmistry@google.com [Sat, 16 Feb 2013 23:44:00 +0000 (23:44 +0000)]
Rebaselined webpage image GMs for ['base-shuttle_ubuntu12_ati5770'] on Google Storage.

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

11 years agoWhitespace change to test (RunBuilders:Skia_Shuttle_Ubuntu12_ATI5770_Float_Debug_32)
rmistry@google.com [Sat, 16 Feb 2013 19:38:44 +0000 (19:38 +0000)]
Whitespace change to test (RunBuilders:Skia_Shuttle_Ubuntu12_ATI5770_Float_Debug_32)

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

11 years agoSanitizing source files in Skia_Periodic_House_Keeping
skia.committer@gmail.com [Sat, 16 Feb 2013 07:01:31 +0000 (07:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping

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

11 years agonon-SK_DEVELOPER-mode patch for r7752
robertphillips@google.com [Fri, 15 Feb 2013 17:39:54 +0000 (17:39 +0000)]
non-SK_DEVELOPER-mode patch for r7752

unreviewed

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

11 years agoAdd NOOP "command" to picture format
robertphillips@google.com [Fri, 15 Feb 2013 17:19:15 +0000 (17:19 +0000)]
Add NOOP "command" to picture format

https://codereview.appspot.com/7343044/

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

11 years agobench_graph_svg self-test: add non-tile bench data
epoger@google.com [Fri, 15 Feb 2013 16:42:21 +0000 (16:42 +0000)]
bench_graph_svg self-test: add non-tile bench data
TBR=benchen
Review URL: https://codereview.appspot.com/7317048

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

11 years agotools/tests/run.sh: download test bench data from Google Storage rather than SVN
epoger@google.com [Fri, 15 Feb 2013 15:50:23 +0000 (15:50 +0000)]
tools/tests/run.sh: download test bench data from Google Storage rather than SVN
Review URL: https://codereview.appspot.com/7343045

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

11 years agoFix for skp chunk sizes when clips are used outside of any save
robertphillips@google.com [Fri, 15 Feb 2013 15:13:27 +0000 (15:13 +0000)]
Fix for skp chunk sizes when clips are used outside of any save

https://codereview.appspot.com/7342047/

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

11 years agoNow store chunk size in skp file format
robertphillips@google.com [Fri, 15 Feb 2013 13:47:37 +0000 (13:47 +0000)]
Now store chunk size in skp file format

https://codereview.appspot.com/7308087/

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

11 years agoSanitizing source files in Skia_Periodic_House_Keeping
skia.committer@gmail.com [Fri, 15 Feb 2013 07:16:57 +0000 (07:16 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping

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

11 years agobench_graph_svg: more sorting to get deterministic results
epoger@google.com [Thu, 14 Feb 2013 20:13:32 +0000 (20:13 +0000)]
bench_graph_svg: more sorting to get deterministic results
TBR=benchen
Review URL: https://codereview.appspot.com/7333045

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

11 years agobench_graph_svg: generate output in consistently sorted order, to make diffs more...
epoger@google.com [Thu, 14 Feb 2013 18:58:05 +0000 (18:58 +0000)]
bench_graph_svg: generate output in consistently sorted order, to make diffs more useful
TBR=benchen
Review URL: https://codereview.appspot.com/7330044

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

11 years agodebug dump functions for mathematica visualization
humper@google.com [Thu, 14 Feb 2013 18:57:59 +0000 (18:57 +0000)]
debug dump functions for mathematica visualization

BUG=

Review URL: https://codereview.appspot.com/7322078

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

11 years agoprint a useful message when assert fails on the mac
humper@google.com [Thu, 14 Feb 2013 18:56:22 +0000 (18:56 +0000)]
print a useful message when assert fails on the mac

BUG=

Review URL: https://codereview.appspot.com/7314100

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

11 years agotry precompiling regexps to speed up bench_graph_svg.py
epoger@google.com [Thu, 14 Feb 2013 18:35:17 +0000 (18:35 +0000)]
try precompiling regexps to speed up bench_graph_svg.py
Review URL: https://codereview.appspot.com/7336043

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

11 years agodisable new bench_graph_svg test in tools/tests/run.sh that fails on housekeeper
epoger@google.com [Thu, 14 Feb 2013 15:35:23 +0000 (15:35 +0000)]
disable new bench_graph_svg test in tools/tests/run.sh that fails on housekeeper
TBR=bensong
Review URL: https://codereview.appspot.com/7303092

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

11 years agoshape ops work in progress
caryclark@google.com [Thu, 14 Feb 2013 15:29:11 +0000 (15:29 +0000)]
shape ops work in progress

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

11 years agoRemove unused texture coordinate flags.
jvanverth@google.com [Thu, 14 Feb 2013 15:25:44 +0000 (15:25 +0000)]
Remove unused texture coordinate flags.

Currently we support 5 texture stages, each with 5 possible texture coordinate attributes.
However, we only ever use one explicit texture coordinate. This change removes all but one
(now named just "aTexCoord") of the possible explicit texture coordinates.

Review URL: https://codereview.appspot.com/7308094/

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

11 years agoUse CGL rather than AGL on the Mac.
bsalomon@google.com [Thu, 14 Feb 2013 15:10:59 +0000 (15:10 +0000)]
Use CGL rather than AGL on the Mac.
Review URL: https://codereview.appspot.com/7307106

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

11 years agotools/tests/run.sh: add self-test for bench_graph_svg.py
epoger@google.com [Thu, 14 Feb 2013 15:10:24 +0000 (15:10 +0000)]
tools/tests/run.sh: add self-test for bench_graph_svg.py
Review URL: https://codereview.appspot.com/7319044

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

11 years agoAdded SK_DEVELOPER wrapper's around toString calls in debugger's SkObjectParser
robertphillips@google.com [Thu, 14 Feb 2013 14:40:27 +0000 (14:40 +0000)]
Added SK_DEVELOPER wrapper's around toString calls in debugger's SkObjectParser

unreviewed

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

11 years agoMove SkPaint::toString from debugger to SkPaint
robertphillips@google.com [Thu, 14 Feb 2013 13:53:53 +0000 (13:53 +0000)]
Move SkPaint::toString from debugger to SkPaint

https://codereview.appspot.com/7314092/

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

11 years agoFix for Gorilla test
jvanverth@google.com [Thu, 14 Feb 2013 13:20:35 +0000 (13:20 +0000)]
Fix for Gorilla test

My implementation of the Gorilla random number test had a bug in the code used
to track the random strings -- it was masking 6 bits instead of 5, which was
throwing off the counts. No idea how this worked on every platform except
Android.

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

11 years agoSanitizing source files in Skia_Periodic_House_Keeping
skia.committer@gmail.com [Thu, 14 Feb 2013 07:01:34 +0000 (07:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping

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

11 years agoScript to plot tile vs. viewport comparison for given platform and revision.
bensong@google.com [Wed, 13 Feb 2013 23:22:29 +0000 (23:22 +0000)]
Script to plot tile vs. viewport comparison for given platform and revision.
Currently viewport bot data are only available for Android bots.
Please go to http://go/skia-buildbot to pick a green revision (-r) for an Android platform (-p). This can take a few minutes because Google Storage stores files in a flat structure instead of in directories.
Alternatively, download the bot data of interest into a local directory (or generate them from your machine) and set the script to read from there (-d).
Review URL: https://codereview.appspot.com/7093065

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

11 years agoAdd animated line chart sample
bsalomon@google.com [Wed, 13 Feb 2013 21:22:13 +0000 (21:22 +0000)]
Add animated line chart sample

R=robertphillips@google.com
Review URL: https://codereview.appspot.com/7307117

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

11 years agoRemove checked-in moc_* files
borenet@google.com [Wed, 13 Feb 2013 21:06:01 +0000 (21:06 +0000)]
Remove checked-in moc_* files

No longer needed since we generate these at build time.
Review URL: https://codereview.appspot.com/7322073

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

11 years agoFix moc generation with SK_SUPPORT_GPU defined
robertphillips@google.com [Wed, 13 Feb 2013 20:12:21 +0000 (20:12 +0000)]
Fix moc generation with SK_SUPPORT_GPU defined

https://codereview.appspot.com/7305088/

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

11 years agogm: Add ability to compare against checksums (as opposed to image files)
epoger@google.com [Wed, 13 Feb 2013 18:14:48 +0000 (18:14 +0000)]
gm: Add ability to compare against checksums (as opposed to image files)
Review URL: https://codereview.appspot.com/7306071

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

11 years agoUse SkMWRandom in GLPrograms test.
bsalomon@google.com [Wed, 13 Feb 2013 16:31:19 +0000 (16:31 +0000)]
Use SkMWRandom in GLPrograms test.

R=jvanverth@google.com
Review URL: https://codereview.appspot.com/7306097

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

11 years agor7719 was an exact reland of r7713. This CL is fix.
bsalomon@google.com [Wed, 13 Feb 2013 16:13:13 +0000 (16:13 +0000)]
r7719 was an exact reland of r7713. This CL is fix.

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

11 years agoAttempt to reland r7713 with fix.
bsalomon@google.com [Wed, 13 Feb 2013 16:03:51 +0000 (16:03 +0000)]
Attempt to reland r7713 with fix.

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

11 years agoRevert r7713 until GM changes are understood.
bsalomon@google.com [Wed, 13 Feb 2013 15:54:38 +0000 (15:54 +0000)]
Revert r7713 until GM changes are understood.

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

11 years agoMove view matrix flush to GrGLPrograms.
bsalomon@google.com [Wed, 13 Feb 2013 13:53:29 +0000 (13:53 +0000)]
Move view matrix flush to GrGLPrograms.
Review URL: https://codereview.appspot.com/7322064

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

11 years agoFix filter optimizations to take the paint's alpha into account
robertphillips@google.com [Wed, 13 Feb 2013 13:27:44 +0000 (13:27 +0000)]
Fix filter optimizations to take the paint's alpha into account

https://codereview.appspot.com/7312083/

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

11 years agoAllow debugger to be compiled without Ganesh
robertphillips@google.com [Wed, 13 Feb 2013 13:26:13 +0000 (13:26 +0000)]
Allow debugger to be compiled without Ganesh

https://codereview.appspot.com/7311084/

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

11 years agoMove code that builds GrGLProgram::Desc to GrGLProgram. Move color and coverage flush...
bsalomon@google.com [Tue, 12 Feb 2013 21:45:24 +0000 (21:45 +0000)]
Move code that builds GrGLProgram::Desc to GrGLProgram. Move color and coverage flush to GrGLProgram.
Review URL: https://codereview.appspot.com/7322058

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

11 years agoMove blend optimization functions to GrDrawState.
bsalomon@google.com [Tue, 12 Feb 2013 16:47:41 +0000 (16:47 +0000)]
Move blend optimization functions to GrDrawState.
Review URL: https://codereview.appspot.com/7300089

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

11 years agocall through to to the virtual drawPath from drawOval, for subclasses (e.g. pdf)
reed@google.com [Tue, 12 Feb 2013 15:44:10 +0000 (15:44 +0000)]
call through to to the virtual drawPath from drawOval, for subclasses (e.g. pdf)
that don't choose to override drawOval.

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

11 years agoadd custom implementation for drawBitmapRect to shield from changes in SkDevice
edisonn@google.com [Tue, 12 Feb 2013 01:06:38 +0000 (01:06 +0000)]
add custom implementation for drawBitmapRect to shield from changes in SkDevice

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

11 years agomirror of https://codereview.appspot.com/7312060/
reed@google.com [Mon, 11 Feb 2013 19:56:20 +0000 (19:56 +0000)]
mirror of https://codereview.appspot.com/7312060/

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

11 years agoTurn off per-iteration tile time reporting
borenet@google.com [Mon, 11 Feb 2013 18:42:43 +0000 (18:42 +0000)]
Turn off per-iteration tile time reporting

It's overloading the bench graph generator.
Review URL: https://codereview.appspot.com/7300088

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

11 years agoSanitizing source files in Skia_Periodic_House_Keeping
skia.committer@gmail.com [Sat, 9 Feb 2013 07:05:02 +0000 (07:05 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping

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

11 years agoArgv[0] isn't the first argument to anything.
reed@google.com [Fri, 8 Feb 2013 22:45:11 +0000 (22:45 +0000)]
Argv[0] isn't the first argument to anything.

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

11 years agoAdding comments based on review https://codereview.appspot.com/7300072/
junov@chromium.org [Fri, 8 Feb 2013 21:56:16 +0000 (21:56 +0000)]
Adding comments based on review https://codereview.appspot.com/7300072/

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

11 years agoCorrect default value for GR_STATIC_RECT_VB
bsalomon@google.com [Fri, 8 Feb 2013 21:45:47 +0000 (21:45 +0000)]
Correct default value for GR_STATIC_RECT_VB

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

11 years agomatch chromium's approach for locating the most appropriate macos SDK to use
humper@google.com [Fri, 8 Feb 2013 21:45:33 +0000 (21:45 +0000)]
match chromium's approach for locating the most appropriate macos SDK to use

By doing this, the ninja generator for gyp works great on macos, resulting in faster (I think) and much, much terser builds.

BUG=

Review URL: https://codereview.appspot.com/7142047

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

11 years agoRevert 7625 until after M26 due to a mix of perf changes.
bsalomon@google.com [Fri, 8 Feb 2013 21:22:44 +0000 (21:22 +0000)]
Revert 7625 until after M26 due to a mix of perf changes.

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

11 years agoFix uninitialized Render Target origin issue in debugger
robertphillips@google.com [Fri, 8 Feb 2013 21:22:09 +0000 (21:22 +0000)]
Fix uninitialized Render Target origin issue in debugger

https://codereview.appspot.com/7314066/

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

11 years agoClean up some out of order initialization warnings.
scroggo@google.com [Fri, 8 Feb 2013 21:16:19 +0000 (21:16 +0000)]
Clean up some out of order initialization warnings.

Review URL: https://codereview.appspot.com/7321043

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

11 years agoAdding option to SkTileGrid for specifying border pixels.
junov@chromium.org [Fri, 8 Feb 2013 21:03:30 +0000 (21:03 +0000)]
Adding option to SkTileGrid for specifying border pixels.

The purpose of this patch is to make it possible for the chromium compositor to
generate a TileGrid structure that is better suited for scaled playback.
Review URL: https://codereview.appspot.com/7300072

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

11 years agoRe-enabled performance checking on Windows
robertphillips@google.com [Fri, 8 Feb 2013 20:09:56 +0000 (20:09 +0000)]
Re-enabled performance checking on Windows

https://codereview.appspot.com/7309065/

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

11 years agoOptimize building gradient cache for when we know alpha is always 0xFF.
reed@google.com [Fri, 8 Feb 2013 19:48:12 +0000 (19:48 +0000)]
Optimize building gradient cache for when we know alpha is always 0xFF.
remove old build guard for dithering.
Review URL: https://codereview.appspot.com/7309064

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

11 years agoAdd support for using ANGLE in bench_pictures.
scroggo@google.com [Fri, 8 Feb 2013 19:38:21 +0000 (19:38 +0000)]
Add support for using ANGLE in bench_pictures.

BUG=https://code.google.com/p/skia/issues/detail?id=1012

Other cleanups:
Remove setDeviceType from PictureBenchmark, since it is unnecessary.
Dereference PictureRenderer::fGrContext when done with it.
Make PictureRenderer::fGrContext and PictureRenderer::fGrContextFactory private, since they are not used by subclasses.

Review URL: https://codereview.appspot.com/7314063

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

11 years agoRemoves redundant and wrong check.
bensong@google.com [Fri, 8 Feb 2013 19:02:21 +0000 (19:02 +0000)]
Removes redundant and wrong check.
Review URL: https://codereview.appspot.com/7308072

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

11 years agoFixes indentation error.
bensong@google.com [Fri, 8 Feb 2013 18:53:24 +0000 (18:53 +0000)]
Fixes indentation error.
Review URL: https://codereview.appspot.com/7307077

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

11 years agoFixes a bug that didn't address new perfdata location.
bensong@google.com [Fri, 8 Feb 2013 18:47:02 +0000 (18:47 +0000)]
Fixes a bug that didn't address new perfdata location.
Review URL: https://codereview.appspot.com/7299070

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

11 years agofix build on Macos
humper@google.com [Fri, 8 Feb 2013 18:44:27 +0000 (18:44 +0000)]
fix build on Macos

BUG=

Review URL: https://codereview.appspot.com/7320043

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

11 years agoFix for Mac compile warnings. Temporarily removed random gorilla test.
jvanverth@google.com [Fri, 8 Feb 2013 18:28:47 +0000 (18:28 +0000)]
Fix for Mac compile warnings. Temporarily removed random gorilla test.

Unreviewed

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

11 years agoAdd Random unit tests.
jvanverth@google.com [Fri, 8 Feb 2013 17:13:09 +0000 (17:13 +0000)]
Add Random unit tests.

https://codereview.appspot.com/7306066/

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

11 years agoAdd .swp files to gitignore.
scroggo@google.com [Fri, 8 Feb 2013 16:59:59 +0000 (16:59 +0000)]
Add .swp files to gitignore.

Make git ignore .swp files (generated while editing in vim).

Review URL: https://codereview.appspot.com/7309059

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