platform/upstream/libSkiaSharp.git
12 years agoAdd file missing from r3682 checkin
bsalomon@google.com [Mon, 16 Apr 2012 14:19:32 +0000 (14:19 +0000)]
Add file missing from r3682 checkin

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

12 years agoadd gm circles
bsalomon@google.com [Mon, 16 Apr 2012 14:10:47 +0000 (14:10 +0000)]
add gm circles

Committed on behalf of Guanqun.Lu@gmail.com

Review URL: http://codereview.appspot.com/6005047/

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

12 years agoadd isSimilarityTransform() and some tests
bsalomon@google.com [Mon, 16 Apr 2012 14:06:50 +0000 (14:06 +0000)]
add isSimilarityTransform() and some tests

Committed on behalf of Guanqun.Lu@gmail.com

Review URL: http://codereview.appspot.com/5999050/

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

12 years agorebaseline after clamp fix to quad clipper in rev. 3677
reed@google.com [Mon, 16 Apr 2012 12:19:42 +0000 (12:19 +0000)]
rebaseline after clamp fix to quad clipper in rev. 3677

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

12 years agoproper handling if SkMatrix::invert failes, addresses hack fix in rev. 3657
mike@reedtribe.org [Sat, 14 Apr 2012 19:06:16 +0000 (19:06 +0000)]
proper handling if SkMatrix::invert failes, addresses hack fix in rev. 3657

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

12 years agodd DrawPathTest to gyp
mike@reedtribe.org [Sat, 14 Apr 2012 12:55:17 +0000 (12:55 +0000)]
dd DrawPathTest to gyp
add regression tests for bug 533

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

12 years agopin the edge points to the clip, rather than just calling clamp_ge/le in the
reed@google.com [Fri, 13 Apr 2012 21:04:55 +0000 (21:04 +0000)]
pin the edge points to the clip, rather than just calling clamp_ge/le in the
quad chopper. This fixes some gaps we were seeing when the float match lost
precisions.

fixes http://code.google.com/p/skia/issues/detail?id=533

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

12 years ago[PDF] If matrix inversion fails, use the identity matrix.
vandebo@chromium.org [Fri, 13 Apr 2012 20:45:46 +0000 (20:45 +0000)]
[PDF] If matrix inversion fails, use the identity matrix.

BUG=chrome:123078

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

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

12 years agoSome fonts do not measure correctly in Mountain Lion,
caryclark@google.com [Fri, 13 Apr 2012 16:05:44 +0000 (16:05 +0000)]
Some fonts do not measure correctly in Mountain Lion,
carrying over a bug from Lion. Add the check
appropriately.
Review URL: https://codereview.appspot.com/6026045

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

12 years agorebaseline after SkScalarNearlyZero() change (< to <=) rev. 3652
reed@google.com [Fri, 13 Apr 2012 15:29:12 +0000 (15:29 +0000)]
rebaseline after SkScalarNearlyZero() change (< to <=) rev. 3652

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

12 years agoRevert gm baseline deletions from r3653 and r3656, so I can rebaseline them with...
epoger@google.com [Fri, 13 Apr 2012 15:02:57 +0000 (15:02 +0000)]
Revert gm baseline deletions from r3653 and r3656, so I can rebaseline them with proper diffs
Review URL: https://codereview.appspot.com/6021047

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

12 years agoexercise buildbot change in r3671
epoger@google.com [Fri, 13 Apr 2012 14:27:49 +0000 (14:27 +0000)]
exercise buildbot change in r3671

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

12 years agoreplace getTotalClipStack() with replayClips()+ClipVisitor
reed@google.com [Fri, 13 Apr 2012 13:50:27 +0000 (13:50 +0000)]
replace getTotalClipStack() with replayClips()+ClipVisitor

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

12 years agoFixed uninitialized memory issue on Linux when running "gm --debuggl"
robertphillips@google.com [Thu, 12 Apr 2012 19:53:31 +0000 (19:53 +0000)]
Fixed uninitialized memory issue on Linux when running "gm --debuggl"

http://codereview.appspot.com/6012052/

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

12 years agoadd SK_WARN_UNUSED_RESULT warning to SkPathMeasure methods that might leave
reed@google.com [Thu, 12 Apr 2012 19:44:38 +0000 (19:44 +0000)]
add SK_WARN_UNUSED_RESULT warning to SkPathMeasure methods that might leave
POD var-arguments uninitialized.

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

12 years agoMake download_baselines.py download *all* platforms, if none are specified.
epoger@google.com [Thu, 12 Apr 2012 18:02:25 +0000 (18:02 +0000)]
Make download_baselines.py download *all* platforms, if none are specified.

Simplifies the Skia rebaselining process... updated the --help pages in both scripts, too.

BUG=http://code.google.com/p/skia/issues/detail?id=486
Review URL: https://codereview.appspot.com/6016045

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

12 years agorename compare-baselines.py and download-baselines.py using underscores instead of...
epoger@google.com [Thu, 12 Apr 2012 17:17:59 +0000 (17:17 +0000)]
rename compare-baselines.py and download-baselines.py using underscores instead of hyphens, as per python requirements

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

12 years agoIf skdiff encounters image size mismatch, do not display diff images
epoger@google.com [Thu, 12 Apr 2012 16:32:04 +0000 (16:32 +0000)]
If skdiff encounters image size mismatch, do not display diff images

Currently, if skdiff encounters images whose expected and actual dimensions do not match, it will attempt (incorrectly) to display diffs.  Better to not display the diffs at all than to display misleading diffs...
Review URL: https://codereview.appspot.com/6015049

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

12 years agomark getTotalClip as deprecated
reed@google.com [Thu, 12 Apr 2012 16:12:16 +0000 (16:12 +0000)]
mark getTotalClip as deprecated
remove unimplemented (and duplicate) getTotalClipBounds

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

12 years agoFix crash with LCD vertical text.
bungeman@google.com [Thu, 12 Apr 2012 15:53:23 +0000 (15:53 +0000)]
Fix crash with LCD vertical text.
https://codereview.appspot.com/6012050/

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

12 years agocan't perform fast top_bottom cull if the text is vertical
reed@google.com [Thu, 12 Apr 2012 14:27:42 +0000 (14:27 +0000)]
can't perform fast top_bottom cull if the text is vertical

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

12 years agoReinstate early out from antialiased path rendering if we anticipate
tomhudson@google.com [Thu, 12 Apr 2012 14:23:58 +0000 (14:23 +0000)]
Reinstate early out from antialiased path rendering if we anticipate
overflow (or if the path is completely clipped out).

Fixes http://code.google.com/p/chromium/issues/detail?id=121405
Reviewed at http://codereview.appspot.com/5989070/

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

12 years agoalways check the result of SkMatrix::invert
reed@google.com [Thu, 12 Apr 2012 13:52:14 +0000 (13:52 +0000)]
always check the result of SkMatrix::invert

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

12 years agorebaseline
reed@google.com [Thu, 12 Apr 2012 13:46:51 +0000 (13:46 +0000)]
rebaseline

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

12 years agodetect when pathmeasure fails, and don't access uninitialized tangent
reed@google.com [Thu, 12 Apr 2012 13:24:30 +0000 (13:24 +0000)]
detect when pathmeasure fails, and don't access uninitialized tangent

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

12 years agoDecouple the SkFlattenable from SkReader32/SkWriter32.
djsollen@google.com [Thu, 12 Apr 2012 13:24:04 +0000 (13:24 +0000)]
Decouple the SkFlattenable from SkReader32/SkWriter32.

The current impl for SkFlattenable read/write buffers is
that they extend from SkReader32 and SkWriter32, but that
dependency must be abstract if we are to add any other
serialization format.
Review URL: https://codereview.appspot.com/5999045

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

12 years agothese need to be rebaselined (acceptable change due to rev. 3652)
reed@google.com [Thu, 12 Apr 2012 13:13:48 +0000 (13:13 +0000)]
these need to be rebaselined (acceptable change due to rev. 3652)

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

12 years agoallow the tolerance to be zero for nearlyzero
reed@google.com [Thu, 12 Apr 2012 12:51:32 +0000 (12:51 +0000)]
allow the tolerance to be zero for nearlyzero

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

12 years agoAdd support for GL_NV_framebuffer_multisample_coverage
bsalomon@google.com [Wed, 11 Apr 2012 18:16:41 +0000 (18:16 +0000)]
Add support for GL_NV_framebuffer_multisample_coverage

Review URL: http://codereview.appspot.com/6005043

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

12 years agoFix SkPathStroker::lineTo() for line with length SK_ScalarNearlyZero
epoger@google.com [Wed, 11 Apr 2012 17:51:01 +0000 (17:51 +0000)]
Fix SkPathStroker::lineTo() for line with length SK_ScalarNearlyZero
Review URL: https://codereview.appspot.com/5992077

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

12 years agoadd circle benchmark
bsalomon@google.com [Wed, 11 Apr 2012 15:34:46 +0000 (15:34 +0000)]
add circle benchmark

Committed on behalf of Guanqun.Lu@gmail.com

Review URL: http://codereview.appspot.com/5999047/

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

12 years agoMake it possible to share a comparison func with both SkTSearch and SkQSort
bsalomon@google.com [Tue, 10 Apr 2012 21:03:23 +0000 (21:03 +0000)]
Make it possible to share a comparison func with both SkTSearch and SkQSort

Review URL: http://codereview.appspot.com/6006043/

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

12 years agoUpdated blur to use A8/R8 (instead of RGBA8) when available - this provides a perform...
robertphillips@google.com [Tue, 10 Apr 2012 19:26:38 +0000 (19:26 +0000)]
Updated blur to use A8/R8 (instead of RGBA8) when available - this provides a performance gain for large blurs

http://codereview.appspot.com/5988071/

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

12 years agoSince we only have 1 proc for SA8_alpha_D32 (i.e. no opaque special-case) we
reed@google.com [Tue, 10 Apr 2012 19:16:21 +0000 (19:16 +0000)]
Since we only have 1 proc for SA8_alpha_D32 (i.e. no opaque special-case) we
remove the bogus assert from CHECKSTATE.

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

12 years agoClean up more Visual Studio warnings, including apparent bug in Arithmetic mode.
tomhudson@google.com [Tue, 10 Apr 2012 19:14:48 +0000 (19:14 +0000)]
Clean up more Visual Studio warnings, including apparent bug in Arithmetic mode.

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

12 years agoMinor Windows compiler complaint fixes
robertphillips@google.com [Tue, 10 Apr 2012 18:32:35 +0000 (18:32 +0000)]
Minor Windows compiler complaint fixes

http://codereview.appspot.com/5988072/

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

12 years agoshape ops work in progress
caryclark@google.com [Tue, 10 Apr 2012 18:28:55 +0000 (18:28 +0000)]
shape ops work in progress
more quadratics work

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

12 years agoFix miscellaneous compiler warnings from Visual Studio 2010.
tomhudson@google.com [Tue, 10 Apr 2012 17:42:21 +0000 (17:42 +0000)]
Fix miscellaneous compiler warnings from Visual Studio 2010.
Changes serialization path for MorphologyImageFilter, handling of Windows
HRESULTS; otherwise just tweaks tests.

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

12 years agoClamp dilate and erode radius to image width and height.
senorblanco@chromium.org [Tue, 10 Apr 2012 17:25:44 +0000 (17:25 +0000)]
Clamp dilate and erode radius to image width and height.
NOTE:  This will require new baselines for the morphology GM.

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

12 years agomisc fixes
bsalomon@google.com [Tue, 10 Apr 2012 16:20:41 +0000 (16:20 +0000)]
misc fixes

Submitted on behalf of Guanqun.Lu@gmail.com

Review URL: http://codereview.appspot.com/5988070/

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

12 years agoTear down Gr stuff before GL context in SampleApp
bsalomon@google.com [Tue, 10 Apr 2012 15:56:29 +0000 (15:56 +0000)]
Tear down Gr stuff before GL context in SampleApp
Review URL: http://codereview.appspot.com/6000043/

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

12 years agoMinor bug fix in SampleApp
robertphillips@google.com [Tue, 10 Apr 2012 13:34:11 +0000 (13:34 +0000)]
Minor bug fix in SampleApp

http://codereview.appspot.com/5992081/

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

12 years agoWarn when ignoring result of SkMatrix::invert.
bungeman@google.com [Mon, 9 Apr 2012 22:33:11 +0000 (22:33 +0000)]
Warn when ignoring result of SkMatrix::invert.
http://codereview.appspot.com/5989067/

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

12 years agoDon't use the usage flag to determine whether an SkGpuDevice needs to be cleared...
bsalomon@google.com [Mon, 9 Apr 2012 21:40:54 +0000 (21:40 +0000)]
Don't use the usage flag to determine whether an SkGpuDevice needs to be cleared. Fixes regression in testimagefilters introduced by r3565. Also add baselines for testimagefilters gm on windows.

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

12 years agoStroked text should check inverse return.
bungeman@google.com [Mon, 9 Apr 2012 20:49:03 +0000 (20:49 +0000)]
Stroked text should check inverse return.
http://codereview.appspot.com/5986067/

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

12 years agochange -d option to write out complete images (that differed from the baseline)
reed@google.com [Mon, 9 Apr 2012 20:20:10 +0000 (20:20 +0000)]
change -d option to write out complete images (that differed from the baseline)

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

12 years agorebaseline with added hairline case
reed@google.com [Mon, 9 Apr 2012 19:34:30 +0000 (19:34 +0000)]
rebaseline with added hairline case

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

12 years agosafely handle null blur filter
reed@google.com [Mon, 9 Apr 2012 17:12:30 +0000 (17:12 +0000)]
safely handle null blur filter

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

12 years agoUpdate skia's gyp to r1320.
thakis@chromium.org [Mon, 9 Apr 2012 13:57:45 +0000 (13:57 +0000)]
Update skia's gyp to r1320.

Allows buildilng skia with make on OS X.

BUG=chromium:102033
Review URL: https://codereview.appspot.com/5985066

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

12 years agoAdd MSAA option to SampleApp
bsalomon@google.com [Fri, 6 Apr 2012 20:13:38 +0000 (20:13 +0000)]
Add MSAA option to SampleApp

Review URL: http://codereview.appspot.com/5969049

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

12 years agoFixing Windows compiler complaints
robertphillips@google.com [Fri, 6 Apr 2012 20:01:46 +0000 (20:01 +0000)]
Fixing Windows compiler complaints

http://codereview.appspot.com/5991056/

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

12 years agoremove extra parameter ctm in skPaint2GrPaintShader()
bsalomon@google.com [Fri, 6 Apr 2012 19:43:46 +0000 (19:43 +0000)]
remove extra parameter ctm in skPaint2GrPaintShader()

Comitted on behalf of Guanqun.Lu@gmail.com

Review URL: http://codereview.appspot.com/5990048/

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

12 years agoFixed issue with Fixed Point scalars in ReadWriteAlphaTest.cpp
robertphillips@google.com [Fri, 6 Apr 2012 18:25:24 +0000 (18:25 +0000)]
Fixed issue with Fixed Point scalars in ReadWriteAlphaTest.cpp

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

12 years agoInitial version of R8 support
robertphillips@google.com [Fri, 6 Apr 2012 18:06:10 +0000 (18:06 +0000)]
Initial version of R8 support

http://codereview.appspot.com/5967067/

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

12 years agoFix xcode 4.1 build issue
robertphillips@google.com [Thu, 5 Apr 2012 19:29:04 +0000 (19:29 +0000)]
Fix xcode 4.1 build issue

http://codereview.appspot.com/5992048/

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

12 years agoXPS filter and rasterize hairlines.
bungeman@google.com [Thu, 5 Apr 2012 18:57:53 +0000 (18:57 +0000)]
XPS filter and rasterize hairlines.
http://codereview.appspot.com/5987050/

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

12 years agoRenaming SkCanvas::fLayerCount to fSaveLayerCount for readability
junov@chromium.org [Thu, 5 Apr 2012 18:33:23 +0000 (18:33 +0000)]
Renaming SkCanvas::fLayerCount to fSaveLayerCount for readability

REVIEW=http://codereview.appspot.com/5992047/

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

12 years agoRedelivering r3611 changes (enabling cmyk jpeg changes in .gyps)
robertphillips@google.com [Thu, 5 Apr 2012 14:52:01 +0000 (14:52 +0000)]
Redelivering r3611 changes (enabling cmyk jpeg changes in .gyps)

http://codereview.appspot.com/5967047/

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

12 years agoInitial split up of Debug Interface into separate files
robertphillips@google.com [Thu, 5 Apr 2012 14:40:53 +0000 (14:40 +0000)]
Initial split up of Debug Interface into separate files

http://codereview.appspot.com/5979048/

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

12 years agoRebaselining gm/shadows
junov@chromium.org [Thu, 5 Apr 2012 13:57:14 +0000 (13:57 +0000)]
Rebaselining gm/shadows

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

12 years agoRemove unused android code in JPEG decoder.
djsollen@google.com [Thu, 5 Apr 2012 13:52:35 +0000 (13:52 +0000)]
Remove unused android code in JPEG decoder.
Review URL: https://codereview.appspot.com/5986047

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

12 years agoRolling back r3611 until the Android compilation issue is resolved
robertphillips@google.com [Thu, 5 Apr 2012 13:38:27 +0000 (13:38 +0000)]
Rolling back r3611 until the Android compilation issue is resolved

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

12 years agoAugment gm shadows test to cover hairline paths
junov@chromium.org [Thu, 5 Apr 2012 13:20:59 +0000 (13:20 +0000)]
Augment gm shadows test to cover hairline paths

Note: this patch will cause gm/shadows to fail on all platforms until the test is re baselined.

REVIEW=http://codereview.appspot.com/5972065/

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

12 years agoFinally enabled libjpeg functionality in .gyps
robertphillips@google.com [Thu, 5 Apr 2012 13:20:35 +0000 (13:20 +0000)]
Finally enabled libjpeg functionality in .gyps

http://codereview.appspot.com/5967047/

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

12 years agoadd macro DEFER_PATHS to proper checks
bsalomon@google.com [Wed, 4 Apr 2012 21:40:21 +0000 (21:40 +0000)]
add macro DEFER_PATHS to proper checks

Submitted on behalf of Guanqun.Lu@gmail.com

Review URL: http://codereview.appspot.com/5972047/

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

12 years agoFixing blurred shadows of hairline paths when rendered on the GPU
junov@chromium.org [Wed, 4 Apr 2012 21:01:08 +0000 (21:01 +0000)]
Fixing blurred shadows of hairline paths when rendered on the GPU

BUG=http://code.google.com/p/chromium/issues/detail?id=121251
REVIEW=http://codereview.appspot.com/5972064/

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

12 years agoFixing blurred shadows on hairline paths when rendering to XPS device
junov@chromium.org [Wed, 4 Apr 2012 20:10:34 +0000 (20:10 +0000)]
Fixing blurred shadows on hairline paths when rendering to XPS device

BUG=http://code.google.com/p/chromium/issues/detail?id=121251
REVIEW=http://codereview.appspot.com/5967073/

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

12 years agoRemove old D3D9 stuff
bsalomon@google.com [Wed, 4 Apr 2012 19:05:31 +0000 (19:05 +0000)]
Remove old D3D9 stuff

Review URL: http://codereview.appspot.com/5966071/

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

12 years agowhitespace change to trigger Skia buildbot after buildbot master update/restart
epoger@google.com [Wed, 4 Apr 2012 16:26:38 +0000 (16:26 +0000)]
whitespace change to trigger Skia buildbot after buildbot master update/restart

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

12 years agoFixing the drawing of blurred shodows for hairline paths with software rendering
junov@chromium.org [Wed, 4 Apr 2012 15:16:51 +0000 (15:16 +0000)]
Fixing the drawing of blurred shodows for hairline paths with software rendering

BUG=http://code.google.com/p/chromium/issues/detail?id=121251
REVIEW=http://codereview.appspot.com/5981053/

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

12 years agoFixing gm build with SkXPSDevice enabled
junov@chromium.org [Tue, 3 Apr 2012 20:20:47 +0000 (20:20 +0000)]
Fixing gm build with SkXPSDevice enabled

REVIEW=http://codereview.appspot.com/5981054/

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

12 years agoUnix SampleApp attach/detach fixup and style fixup
bsalomon@google.com [Tue, 3 Apr 2012 19:33:08 +0000 (19:33 +0000)]
Unix SampleApp attach/detach fixup and style fixup

Review URL: http://codereview.appspot.com/5972062/

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

12 years agoFix GL attach/detach in Mac SampleApp
bsalomon@google.com [Tue, 3 Apr 2012 18:06:20 +0000 (18:06 +0000)]
Fix GL attach/detach in Mac SampleApp

Review URL: http://codereview.appspot.com/5984043/

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

12 years agoRevert 3857 (which was committed from wrong tree)
bsalomon@google.com [Tue, 3 Apr 2012 18:04:51 +0000 (18:04 +0000)]
Revert 3857 (which was committed from wrong tree)

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

12 years agoFix GL attach/detach in Mac SampleApp
bsalomon@google.com [Tue, 3 Apr 2012 18:03:03 +0000 (18:03 +0000)]
Fix GL attach/detach in Mac SampleApp

Review URL: http://codereview.appspot.com/5984043/

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

12 years agoAdd usage message and -h|--help arguments to bench.
tomhudson@google.com [Tue, 3 Apr 2012 13:28:57 +0000 (13:28 +0000)]
Add usage message and -h|--help arguments to bench.

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

12 years agoFix NULL as SkColor warning on clang.
bsalomon@google.com [Tue, 3 Apr 2012 13:25:12 +0000 (13:25 +0000)]
Fix NULL as SkColor warning on clang.

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

12 years agoFix line endings in src/view/win (and set the eol style property)
bsalomon@google.com [Mon, 2 Apr 2012 20:44:38 +0000 (20:44 +0000)]
Fix line endings in src/view/win (and set the eol style property)

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

12 years agoDelivering .gyp files to enable building & linking w/ ANGLE on Windows
robertphillips@google.com [Mon, 2 Apr 2012 20:42:26 +0000 (20:42 +0000)]
Delivering .gyp files to enable building & linking w/ ANGLE on Windows

http://codereview.appspot.com/5933057/

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

12 years agoPatching Mac files missed in first delivery
robertphillips@google.com [Mon, 2 Apr 2012 20:19:28 +0000 (20:19 +0000)]
Patching Mac files missed in first delivery

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

12 years agoRedelivering r3555 to re-add run-time switching between ANGLE and native opengl
robertphillips@google.com [Mon, 2 Apr 2012 19:24:21 +0000 (19:24 +0000)]
Redelivering r3555 to re-add run-time switching between ANGLE and native opengl

http://codereview.appspot.com/5969044/

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

12 years agowhitespace change to trigger Skia buildbot
epoger@google.com [Mon, 2 Apr 2012 18:25:25 +0000 (18:25 +0000)]
whitespace change to trigger Skia buildbot

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

12 years agowhitespace change to trigger Skia buildbot
epoger@google.com [Mon, 2 Apr 2012 17:30:35 +0000 (17:30 +0000)]
whitespace change to trigger Skia buildbot

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

12 years agoRemoved ANGLE namespace requirement
robertphillips@google.com [Mon, 2 Apr 2012 15:04:16 +0000 (15:04 +0000)]
Removed ANGLE namespace requirement

http://codereview.appspot.com/5969065/

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

12 years agoCompare scalars to scalars (fixes fixed point).
bungeman@google.com [Mon, 2 Apr 2012 14:51:54 +0000 (14:51 +0000)]
Compare scalars to scalars (fixes fixed point).

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

12 years agoTemp fix for very large text sizes.
bungeman@google.com [Mon, 2 Apr 2012 14:34:30 +0000 (14:34 +0000)]
Temp fix for very large text sizes.
http://codereview.appspot.com/5970065/

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

12 years agodefer drawing/work until first draw, to make debugging easier and speedup
reed@google.com [Fri, 30 Mar 2012 20:04:21 +0000 (20:04 +0000)]
defer drawing/work until first draw, to make debugging easier and speedup
instantiating the obj just to get its name.

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

12 years agorm obsolete build-flag SK_IGNORE_HAIRLINE_CLIP_FIX
reed@google.com [Fri, 30 Mar 2012 18:56:08 +0000 (18:56 +0000)]
rm obsolete build-flag SK_IGNORE_HAIRLINE_CLIP_FIX

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

12 years agoshape ops work in progress
caryclark@google.com [Fri, 30 Mar 2012 18:47:02 +0000 (18:47 +0000)]
shape ops work in progress

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

12 years agoReland 3563
bsalomon@google.com [Fri, 30 Mar 2012 18:45:35 +0000 (18:45 +0000)]
Reland 3563

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

12 years agoRevet 3563 due to mac bot failure
bsalomon@google.com [Fri, 30 Mar 2012 18:29:01 +0000 (18:29 +0000)]
Revet 3563 due to mac bot failure

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

12 years agoImprove save layer handling in SkGpuDevice
bsalomon@google.com [Fri, 30 Mar 2012 18:22:01 +0000 (18:22 +0000)]
Improve save layer handling in SkGpuDevice

http://codereview.appspot.com/5966048/

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

12 years agoregression unittest for the fix in rev. 3558 (handling nan in antihairpaths)
reed@google.com [Fri, 30 Mar 2012 17:43:33 +0000 (17:43 +0000)]
regression unittest for the fix in rev. 3558 (handling nan in antihairpaths)

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

12 years agoUnify text flushing with other deferred drawing
bsalomon@google.com [Fri, 30 Mar 2012 17:35:12 +0000 (17:35 +0000)]
Unify text flushing with other deferred drawing

Review URL: http://codereview.appspot.com/5936054/

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

12 years agoAdd assert to catch circular drawing higher up the call stack.
bsalomon@google.com [Fri, 30 Mar 2012 17:24:17 +0000 (17:24 +0000)]
Add assert to catch circular drawing higher up the call stack.

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

12 years agocheck for integer-nan (0x8000...) and don't draw those as antihairlines
reed@google.com [Fri, 30 Mar 2012 16:24:00 +0000 (16:24 +0000)]
check for integer-nan (0x8000...) and don't draw those as antihairlines

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

12 years agoMake fewer copies when using GrDrawTarget::AutoStateRestore
bsalomon@google.com [Fri, 30 Mar 2012 15:55:32 +0000 (15:55 +0000)]
Make fewer copies when using GrDrawTarget::AutoStateRestore

Review URL: http://codereview.appspot.com/5938043/

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

12 years agoReverting r3555
robertphillips@google.com [Fri, 30 Mar 2012 15:18:14 +0000 (15:18 +0000)]
Reverting r3555

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

12 years agoAdded run-time switching between OpenGL & ANGLE in SampleApp
robertphillips@google.com [Fri, 30 Mar 2012 14:47:53 +0000 (14:47 +0000)]
Added run-time switching between OpenGL & ANGLE in SampleApp

http://codereview.appspot.com/5969044/

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

12 years agoReland 3507
bsalomon@google.com [Fri, 30 Mar 2012 14:35:04 +0000 (14:35 +0000)]
Reland 3507

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