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