platform/upstream/libSkiaSharp.git
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

12 years agoRemove deprecated names from Gr (WK is no longer using them)
bsalomon@google.com [Fri, 30 Mar 2012 14:22:41 +0000 (14:22 +0000)]
Remove deprecated names from Gr (WK is no longer using them)

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

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

12 years agoFix deadlock in Android's font deserializer.
djsollen@google.com [Fri, 30 Mar 2012 12:42:12 +0000 (12:42 +0000)]
Fix deadlock in Android's font deserializer.

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

12 years agoReverting bench tests to pre-3546 (i.e., readding "Debug" option) with a SK_DEBUG...
robertphillips@google.com [Fri, 30 Mar 2012 12:23:56 +0000 (12:23 +0000)]
Reverting bench tests to pre-3546 (i.e., readding "Debug" option) with a SK_DEBUG guard

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

12 years agoAlphabetize gl function pointer typedefs / decls. Wrap pointers to auto-NULL them.
bsalomon@google.com [Thu, 29 Mar 2012 21:04:52 +0000 (21:04 +0000)]
Alphabetize gl function pointer typedefs / decls. Wrap pointers to auto-NULL them.

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

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

12 years agowhitespace change to trigger Skia buildbot
epoger@google.com [Thu, 29 Mar 2012 20:53:50 +0000 (20:53 +0000)]
whitespace change to trigger Skia buildbot

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

12 years agoRemoving "Debug" option from bench tests to evaluate possible regression
robertphillips@google.com [Thu, 29 Mar 2012 19:16:07 +0000 (19:16 +0000)]
Removing "Debug" option from bench tests to evaluate possible regression

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

12 years agoDon't look at current vertex layout when vertex source hasn't been set
bsalomon@google.com [Thu, 29 Mar 2012 19:07:12 +0000 (19:07 +0000)]
Don't look at current vertex layout when vertex source hasn't been set

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

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

12 years agoRemove unused static functions from SampleApp and effects
djsollen@google.com [Thu, 29 Mar 2012 17:54:05 +0000 (17:54 +0000)]
Remove unused static functions from SampleApp and effects
Review URL: https://codereview.appspot.com/5956050

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

12 years agopartial revert of r3541 to removed accidentally uploaded file
djsollen@google.com [Thu, 29 Mar 2012 16:09:48 +0000 (16:09 +0000)]
partial revert of r3541 to removed accidentally uploaded file

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

12 years agoLanding arm patch from contributor.
djsollen@google.com [Thu, 29 Mar 2012 16:06:32 +0000 (16:06 +0000)]
Landing arm patch from contributor.

http://codereview.appspot.com/5649055

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

12 years agoCleanup code related to SkFlattenable::flatten()
djsollen@google.com [Thu, 29 Mar 2012 15:18:04 +0000 (15:18 +0000)]
Cleanup code related to SkFlattenable::flatten()

The following changes were made by this CL:

1. Make flatten() a protected method as callers should use
   SkFlattenableWriteBuffer to flatten an object
2. Make flatten a const method (including subclasses)
3. Mark subclass implementation of flatten with SK_OVERRIDE
4. Ensure overridden flatten impls call their parent
5. Remove no-op implementations of flatten from subclasses

Additionally, if necessary the unflattening constructor was
also moved to the protected section of the subclasses
header if it was not already there.

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

12 years agoRevert 3538.
bungeman@google.com [Thu, 29 Mar 2012 14:51:56 +0000 (14:51 +0000)]
Revert 3538.

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

12 years agoCorrect dependencies in gyp files.
bungeman@google.com [Thu, 29 Mar 2012 14:28:59 +0000 (14:28 +0000)]
Correct dependencies in gyp files.
http://codereview.appspot.com/5934044/

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

12 years agoRevert 3507
bsalomon@google.com [Wed, 28 Mar 2012 21:34:22 +0000 (21:34 +0000)]
Revert 3507

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

12 years agoFix coverity defects in FontHost_FreeType
vandebo@chromium.org [Wed, 28 Mar 2012 21:24:27 +0000 (21:24 +0000)]
Fix coverity defects in FontHost_FreeType

Reviewed in https://codereview.appspot.com/5940049/

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

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

12 years agoMove SkColorMatrix to effects.
bungeman@google.com [Wed, 28 Mar 2012 21:14:17 +0000 (21:14 +0000)]
Move SkColorMatrix to effects.

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

12 years agoFix Coverity reports. (Mostly use of uninitialised values.)
vandebo@chromium.org [Wed, 28 Mar 2012 21:03:22 +0000 (21:03 +0000)]
Fix Coverity reports.  (Mostly use of uninitialised values.)

CID=537,103419,103631,103632,103633

Initial review: https://codereview.appspot.com/5936047/

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

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

12 years agoConsolidate PixelRef flattables with the standard impl
djsollen@google.com [Wed, 28 Mar 2012 20:47:01 +0000 (20:47 +0000)]
Consolidate PixelRef flattables with the standard impl

The flatten method on these functions can no longer be
const as SkFlattenables declaration is not const and
would result in the const methods only being called when
the reference to the object was const.
Review URL: https://codereview.appspot.com/5941043

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

12 years agoFix a bunch of Coverity defects - class members not initialized in the constructor.
vandebo@chromium.org [Wed, 28 Mar 2012 20:29:38 +0000 (20:29 +0000)]
Fix a bunch of Coverity defects - class members not initialized in the constructor.

CID=14533,14036,9275,9271,4156,4153,4151,1666,1665,1618,1617,1616,1615

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

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

12 years agoMove SkTextBox.h from utils to views.
bungeman@google.com [Wed, 28 Mar 2012 20:01:06 +0000 (20:01 +0000)]
Move SkTextBox.h from utils to views.

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

12 years agoMoved mac, unix, win and mesa directories under src/gpu/gl
robertphillips@google.com [Wed, 28 Mar 2012 19:37:51 +0000 (19:37 +0000)]
Moved mac, unix, win and mesa directories under src/gpu/gl

http://codereview.appspot.com/5937052/

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

12 years agoRemove unused classes from the build.
djsollen@google.com [Wed, 28 Mar 2012 19:36:39 +0000 (19:36 +0000)]
Remove unused classes from the build.
Review URL: https://codereview.appspot.com/5938053

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

12 years agorebaseline
reed@google.com [Wed, 28 Mar 2012 19:34:27 +0000 (19:34 +0000)]
rebaseline

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

12 years agoFix comparison of GrPaint::fCoverage (which is a byte not a uint32_t)
bsalomon@google.com [Wed, 28 Mar 2012 18:45:58 +0000 (18:45 +0000)]
Fix comparison of GrPaint::fCoverage (which is a byte not a uint32_t)

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

12 years agoMoved Debug GL interface to src/gpu/gl/debug in preparation for splitting it up.
robertphillips@google.com [Wed, 28 Mar 2012 18:22:01 +0000 (18:22 +0000)]
Moved Debug GL interface to src/gpu/gl/debug in preparation for splitting it up.

http://codereview.appspot.com/5938054/

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

12 years agoUpdate skia's gyp to 1284 (was 1139).
bungeman@google.com [Wed, 28 Mar 2012 18:18:26 +0000 (18:18 +0000)]
Update skia's gyp to 1284 (was 1139).
http://codereview.appspot.com/5935050/

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

12 years agoRevert r3523 and r2522
vandebo@chromium.org [Wed, 28 Mar 2012 17:33:26 +0000 (17:33 +0000)]
Revert r3523 and r2522

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

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

12 years agoFix build break.
vandebo@chromium.org [Wed, 28 Mar 2012 17:30:12 +0000 (17:30 +0000)]
Fix build break.

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

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

12 years agoFix Coverity reports. (Mostly use of uninitialised values.)
vandebo@chromium.org [Wed, 28 Mar 2012 17:25:21 +0000 (17:25 +0000)]
Fix Coverity reports.  (Mostly use of uninitialised values.)

CID=537,103419,103631,103632,103633

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

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

12 years agoshape ops builders; fix typo
caryclark@google.com [Wed, 28 Mar 2012 17:04:08 +0000 (17:04 +0000)]
shape ops builders; fix typo

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

12 years agofirst support at shape ops support for quads
caryclark@google.com [Wed, 28 Mar 2012 16:20:21 +0000 (16:20 +0000)]
first support at shape ops support for quads

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

12 years agoCode changes for ANGLE GL interface. .gyp file changes will be delivered later.
robertphillips@google.com [Wed, 28 Mar 2012 16:19:11 +0000 (16:19 +0000)]
Code changes for ANGLE GL interface. .gyp file changes will be delivered later.

http://codereview.appspot.com/5940046/

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

12 years agohandle null-device correctly in setDevice
reed@google.com [Wed, 28 Mar 2012 16:19:15 +0000 (16:19 +0000)]
handle null-device correctly in setDevice

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

12 years agoFix a memory leak in SkAAClip::translate().
tomhudson@google.com [Wed, 28 Mar 2012 15:46:37 +0000 (15:46 +0000)]
Fix a memory leak in SkAAClip::translate().
Originally proposed by Jochen Eisinger.

http://codereview.appspot.com/5934053/

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

12 years agoMake printf in GrContext about partial pixel coverage be debug-only
bsalomon@google.com [Wed, 28 Mar 2012 15:35:05 +0000 (15:35 +0000)]
Make printf in GrContext about partial pixel coverage be debug-only

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

12 years agoshadows GPU GM rebaseline from r3514
bsalomon@google.com [Wed, 28 Mar 2012 15:33:55 +0000 (15:33 +0000)]
shadows GPU GM rebaseline from r3514

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

12 years agodisable GPU blur on small paths
bsalomon@google.com [Wed, 28 Mar 2012 14:44:37 +0000 (14:44 +0000)]
disable GPU blur on small paths

Change originally by Guanqun.Lu@gmail.com with minor edits and sample added by me

COULD POSSIBLY CHANGE GPU RESULTS OF GM SLIDES WITH BLUR, WILL REBASILINE IF SO.

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

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