Commit Graph

3302 Commits

Author SHA1 Message Date
reed@google.com
9b5ca29af8 allow the tolerance to be zero for nearlyzero
git-svn-id: http://skia.googlecode.com/svn/trunk@3652 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-12 12:51:32 +00:00
bsalomon@google.com
c9668ecdb7 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
2012-04-11 18:16:41 +00:00
epoger@google.com
94fa43c625 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
2012-04-11 17:51:01 +00:00
bsalomon@google.com
1647a1955f 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
2012-04-11 15:34:46 +00:00
bsalomon@google.com
c967795b8f 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
2012-04-10 21:03:23 +00:00
robertphillips@google.com
99a5ac0b67 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
2012-04-10 19:26:38 +00:00
reed@google.com
43e384bbe5 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
2012-04-10 19:16:21 +00:00
tomhudson@google.com
5efe0cb049 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
2012-04-10 19:14:48 +00:00
robertphillips@google.com
8637a36551 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
2012-04-10 18:32:35 +00:00
caryclark@google.com
fb173424e9 shape ops work in progress
more quadratics work

git-svn-id: http://skia.googlecode.com/svn/trunk@3643 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-10 18:28:55 +00:00
tomhudson@google.com
75589257c6 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
2012-04-10 17:42:21 +00:00
senorblanco@chromium.org
56dd630c41 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
2012-04-10 17:25:44 +00:00
bsalomon@google.com
0e5104c157 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
2012-04-10 16:20:41 +00:00
bsalomon@google.com
ddd40e5e96 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
2012-04-10 15:56:29 +00:00
robertphillips@google.com
4750fa55f2 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
2012-04-10 13:34:11 +00:00
bungeman@google.com
363a4c22af 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
2012-04-09 22:33:11 +00:00
bsalomon@google.com
1b3ac8b5f0 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
2012-04-09 21:40:54 +00:00
bungeman@google.com
9575fb8b1d 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
2012-04-09 20:49:03 +00:00
reed@google.com
8e529b7947 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
2012-04-09 20:20:10 +00:00
reed@google.com
0ba70658a6 rebaseline with added hairline case
git-svn-id: http://skia.googlecode.com/svn/trunk@3631 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-09 19:34:30 +00:00
reed@google.com
59ed2c22c0 safely handle null blur filter
git-svn-id: http://skia.googlecode.com/svn/trunk@3629 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-09 17:12:30 +00:00
thakis@chromium.org
0379ea275f 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
2012-04-09 13:57:45 +00:00
bsalomon@google.com
1195925b05 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
2012-04-06 20:13:38 +00:00
robertphillips@google.com
09042b80d2 Fixing Windows compiler complaints
http://codereview.appspot.com/5991056/



git-svn-id: http://skia.googlecode.com/svn/trunk@3626 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-06 20:01:46 +00:00
bsalomon@google.com
419400bf6e 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
2012-04-06 19:43:46 +00:00
robertphillips@google.com
38c3a30a97 Fixed issue with Fixed Point scalars in ReadWriteAlphaTest.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@3623 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-06 18:25:24 +00:00
robertphillips@google.com
6995068c5a 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
2012-04-06 18:06:10 +00:00
robertphillips@google.com
022976554c 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
2012-04-05 19:29:04 +00:00
bungeman@google.com
d998cbdbb7 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
2012-04-05 18:57:53 +00:00
junov@chromium.org
b0a7ace7cb 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
2012-04-05 18:33:23 +00:00
robertphillips@google.com
3a4553ea57 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
2012-04-05 14:52:01 +00:00
robertphillips@google.com
dd743fefad 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
2012-04-05 14:40:53 +00:00
junov@chromium.org
ded33215f6 Rebaselining gm/shadows
git-svn-id: http://skia.googlecode.com/svn/trunk@3615 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-05 13:57:14 +00:00
djsollen@google.com
59b7400287 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
2012-04-05 13:52:35 +00:00
robertphillips@google.com
7800e3008f 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
2012-04-05 13:38:27 +00:00
junov@chromium.org
7c545bddf8 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
2012-04-05 13:20:59 +00:00
robertphillips@google.com
f919147559 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
2012-04-05 13:20:35 +00:00
bsalomon@google.com
92edd316e5 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
2012-04-04 21:40:21 +00:00
junov@chromium.org
aad7e2781d 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
2012-04-04 21:01:08 +00:00
junov@chromium.org
cf3c7febb3 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
2012-04-04 20:10:34 +00:00
bsalomon@google.com
3286989f97 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
2012-04-04 19:05:31 +00:00
epoger@google.com
6c8a3876e3 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
2012-04-04 16:26:38 +00:00
junov@chromium.org
2ac4ef5e6e 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
2012-04-04 15:16:51 +00:00
junov@chromium.org
26be399261 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
2012-04-03 20:20:47 +00:00
bsalomon@google.com
8108c47b50 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
2012-04-03 19:33:08 +00:00
bsalomon@google.com
ed164836f3 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
2012-04-03 18:06:20 +00:00
bsalomon@google.com
3c4d032aeb Revert 3857 (which was committed from wrong tree)
git-svn-id: http://skia.googlecode.com/svn/trunk@3588 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-03 18:04:51 +00:00
bsalomon@google.com
5f017a4ab0 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
2012-04-03 18:03:03 +00:00
tomhudson@google.com
86bb9b73a0 Add usage message and -h|--help arguments to bench.
git-svn-id: http://skia.googlecode.com/svn/trunk@3583 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-03 13:28:57 +00:00
bsalomon@google.com
730ca3b5d9 Fix NULL as SkColor warning on clang.
git-svn-id: http://skia.googlecode.com/svn/trunk@3582 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-03 13:25:12 +00:00