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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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