caryclark@google.com [Thu, 10 Nov 2011 13:37:48 +0000 (13:37 +0000)]
remove common fields from Offscreen utility class
http://codereview.appspot.com/
5373046/
M src/ports/SkFontHost_mac_coretext.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@2652
2bbb7eff-a529-9590-31e7-
b0007b416f81
tomhudson@google.com [Wed, 9 Nov 2011 22:15:08 +0000 (22:15 +0000)]
Removes warnings generated by gcc and clang.
git-svn-id: http://skia.googlecode.com/svn/trunk@2651
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Wed, 9 Nov 2011 21:00:43 +0000 (21:00 +0000)]
change m to f
http://codereview.appspot.com/
5376043/
M src/ports/SkFontHost_mac_coretext.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@2650
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Wed, 9 Nov 2011 18:27:09 +0000 (18:27 +0000)]
New baseline images for GPU blurs and shadows, to greenify bots after r2643.
BUG=391
TBR=senorblanco
Review URL: http://codereview.appspot.com/
5370044
git-svn-id: http://skia.googlecode.com/svn/trunk@2649
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 9 Nov 2011 17:12:08 +0000 (17:12 +0000)]
add experimental test for blending math (disabled for now)
git-svn-id: http://skia.googlecode.com/svn/trunk@2648
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Wed, 9 Nov 2011 17:02:15 +0000 (17:02 +0000)]
Build fix; unreviewed.
Remove the imageblur test from gmslides.gypi for now, since SkPicture output
is incorrect. SkImageFilter is not flattenable, so the output is black.
git-svn-id: http://skia.googlecode.com/svn/trunk@2647
2bbb7eff-a529-9590-31e7-
b0007b416f81
tomhudson@google.com [Wed, 9 Nov 2011 16:39:17 +0000 (16:39 +0000)]
Speed up GrDrawState handling.
Compact GrDrawState and nested structs; dynamically only copy and compare
the fields actually active on the structs in question.
Yields 10-20% speedup of text benchmarks in GPU configuration.
Could probably get additional marginal speedup by ignoring unused
kernel fields.
Has some fragile constructs: pointer math on members to compute
sizes of portions of structs.
Removes fields necessary for GrTesselatedPathRenderer.
git-svn-id: http://skia.googlecode.com/svn/trunk@2644
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Wed, 9 Nov 2011 16:05:58 +0000 (16:05 +0000)]
Implement Gaussian blurs for images. The caller creates an an
SkBlurImageFilter, sets it on an SkPaint, passes that paint to saveLayer(),
draws the primitives which are to be blurred, then calls restore(), which
applies the blur. The blurs have separate sizes in the horizontal and vertical
direction. This feature is GPU-only for now.
NB: Due to the clipping change, there are slight pixel differences on the
blurs_gpu and shadows_gpu tests, so those will require rebaselining on all
platforms, as will some of the WebKit layout tests (TBD).
Review URL: http://codereview.appspot.com/
5322068/
git-svn-id: http://skia.googlecode.com/svn/trunk@2643
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 9 Nov 2011 15:32:29 +0000 (15:32 +0000)]
Interim function for reseting GrDrawTarget state, this should be folded into GrDrawState when it has getters / setters
Review URL: http://codereview.appspot.com/
5369045/
git-svn-id: http://skia.googlecode.com/svn/trunk@2642
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Wed, 9 Nov 2011 15:23:41 +0000 (15:23 +0000)]
whitespace commit to trigger linux build
git-svn-id: http://skia.googlecode.com/svn/trunk@2641
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 9 Nov 2011 14:14:38 +0000 (14:14 +0000)]
[GPU] when writing to unpremult dest and alpha is 0, make rgb=0
Review URL: http://codereview.appspot.com/
5340062/
git-svn-id: http://skia.googlecode.com/svn/trunk@2640
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Wed, 9 Nov 2011 13:35:17 +0000 (13:35 +0000)]
New baseline images for r2638
TBR=vandebo
Review URL: http://codereview.appspot.com/
5369044
git-svn-id: http://skia.googlecode.com/svn/trunk@2639
2bbb7eff-a529-9590-31e7-
b0007b416f81
vandebo@chromium.org [Tue, 8 Nov 2011 23:42:53 +0000 (23:42 +0000)]
[PDF] add drawTextOnPath support.
BUG=239
TBR=reed@google.com
Review URL: http://codereview.appspot.com/
5363045
git-svn-id: http://skia.googlecode.com/svn/trunk@2638
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Tue, 8 Nov 2011 21:28:15 +0000 (21:28 +0000)]
whitespace commit to trigger buildbots
git-svn-id: http://skia.googlecode.com/svn/trunk@2637
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Tue, 8 Nov 2011 21:09:31 +0000 (21:09 +0000)]
whitespace commit to trigger buildbots
git-svn-id: http://skia.googlecode.com/svn/trunk@2636
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Tue, 8 Nov 2011 21:02:58 +0000 (21:02 +0000)]
whitespace commit to trigger buildbots
git-svn-id: http://skia.googlecode.com/svn/trunk@2635
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 8 Nov 2011 20:03:48 +0000 (20:03 +0000)]
use new PurgeFontCache() api
git-svn-id: http://skia.googlecode.com/svn/trunk@2633
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 8 Nov 2011 19:41:23 +0000 (19:41 +0000)]
handle NaN values in clipPath
git-svn-id: http://skia.googlecode.com/svn/trunk@2632
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 8 Nov 2011 19:20:57 +0000 (19:20 +0000)]
When GL_RGBA readPixels are slow do swizzle using a draw then readPixels with GL_BGRA
Review URL: http://codereview.appspot.com/
5339051/
git-svn-id: http://skia.googlecode.com/svn/trunk@2631
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Tue, 8 Nov 2011 19:03:43 +0000 (19:03 +0000)]
Cleanup for the Android build.
git-svn-id: http://skia.googlecode.com/svn/trunk@2630
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Tue, 8 Nov 2011 19:00:26 +0000 (19:00 +0000)]
Update files to use SK_BUILD_FOR_ANDROID.
This CL also removes any unecessary references to
the ANDROID definition.
Review URL: http://codereview.appspot.com/
5354049
git-svn-id: http://skia.googlecode.com/svn/trunk@2629
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 8 Nov 2011 18:21:20 +0000 (18:21 +0000)]
fix prev. change for __OpenBSD__
git-svn-id: http://skia.googlecode.com/svn/trunk@2628
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 8 Nov 2011 18:14:08 +0000 (18:14 +0000)]
up default limit to 2Mg
git-svn-id: http://skia.googlecode.com/svn/trunk@2627
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 8 Nov 2011 15:52:21 +0000 (15:52 +0000)]
Remove old and GL-specific defines from GrUserConfig.h comments
git-svn-id: http://skia.googlecode.com/svn/trunk@2626
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 8 Nov 2011 15:18:10 +0000 (15:18 +0000)]
post event to ourself to update the title after our constructor
(so we can see the title of the first slide)
git-svn-id: http://skia.googlecode.com/svn/trunk@2625
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 8 Nov 2011 15:06:34 +0000 (15:06 +0000)]
prefix GM names with "GM " so I know that's what they are.
git-svn-id: http://skia.googlecode.com/svn/trunk@2624
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 8 Nov 2011 14:59:38 +0000 (14:59 +0000)]
suppress font-purge messages
git-svn-id: http://skia.googlecode.com/svn/trunk@2623
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 8 Nov 2011 13:55:36 +0000 (13:55 +0000)]
return the prev value from SetFontCacheLimit
git-svn-id: http://skia.googlecode.com/svn/trunk@2622
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 8 Nov 2011 13:48:32 +0000 (13:48 +0000)]
add api to SkGraphics to get/set font cache limit
add SK_DEFAULT_FONT_CACHE_LIMIT to SkUserConfig, to override our default value
git-svn-id: http://skia.googlecode.com/svn/trunk@2621
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 7 Nov 2011 16:56:39 +0000 (16:56 +0000)]
Fix logic about who flips y in gpu readpixels
git-svn-id: http://skia.googlecode.com/svn/trunk@2620
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Mon, 7 Nov 2011 16:33:40 +0000 (16:33 +0000)]
Add font scaler gm.
http://codereview.appspot.com/
5337044/
git-svn-id: http://skia.googlecode.com/svn/trunk@2619
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 7 Nov 2011 15:54:49 +0000 (15:54 +0000)]
[GPU] Add explicit byte order and PM vs. UPM 8888 configs
Review URL: http://codereview.appspot.com/
5347042/
git-svn-id: http://skia.googlecode.com/svn/trunk@2618
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Mon, 7 Nov 2011 15:43:57 +0000 (15:43 +0000)]
Add support for building Android SampleApp.
Review URL: http://codereview.appspot.com/
5342051
git-svn-id: http://skia.googlecode.com/svn/trunk@2617
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 7 Nov 2011 14:56:51 +0000 (14:56 +0000)]
Add support for GL_ARB_texture_swizzle
Review URL: http://codereview.appspot.com/
5347042/
git-svn-id: http://skia.googlecode.com/svn/trunk@2615
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 7 Nov 2011 13:29:52 +0000 (13:29 +0000)]
Recommit r2611 with fix for gm
git-svn-id: http://skia.googlecode.com/svn/trunk@2614
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 7 Nov 2011 02:30:51 +0000 (02:30 +0000)]
consolidate debug draw param checking code
git-svn-id: http://skia.googlecode.com/svn/trunk@2613
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 7 Nov 2011 01:58:39 +0000 (01:58 +0000)]
Revert r2611 until windows gm can be debugged
git-svn-id: http://skia.googlecode.com/svn/trunk@2612
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 7 Nov 2011 01:37:22 +0000 (01:37 +0000)]
Add replacement APIs for createPlatformSurface: createPlatformTexture and createPlatformRenderTarget
git-svn-id: http://skia.googlecode.com/svn/trunk@2611
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Sat, 5 Nov 2011 21:38:22 +0000 (21:38 +0000)]
Turn off annoying printfs
git-svn-id: http://skia.googlecode.com/svn/trunk@2610
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Sat, 5 Nov 2011 21:21:13 +0000 (21:21 +0000)]
Use timestamp to detect when client GL calls could cause Gr's cache of glTexParam values to be invalid.
git-svn-id: http://skia.googlecode.com/svn/trunk@2609
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Sat, 5 Nov 2011 14:51:01 +0000 (14:51 +0000)]
More removal of texture fUploadByteCount and rename fFormat to fConfig for consistency.
git-svn-id: http://skia.googlecode.com/svn/trunk@2608
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Sat, 5 Nov 2011 13:25:21 +0000 (13:25 +0000)]
Remove unneeded field from GrGLTexture
git-svn-id: http://skia.googlecode.com/svn/trunk@2607
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Sat, 5 Nov 2011 12:47:43 +0000 (12:47 +0000)]
bump GrGpu reset context timestamp size
git-svn-id: http://skia.googlecode.com/svn/trunk@2606
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Sat, 5 Nov 2011 12:18:58 +0000 (12:18 +0000)]
Add reset context count to GrGpu
git-svn-id: http://skia.googlecode.com/svn/trunk@2605
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Fri, 4 Nov 2011 16:06:33 +0000 (16:06 +0000)]
Back out fontscaler gm, as it seems to show up a gpu issue.
git-svn-id: http://skia.googlecode.com/svn/trunk@2604
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Fri, 4 Nov 2011 15:47:41 +0000 (15:47 +0000)]
Add font scaler gm.
http://codereview.appspot.com/
5337044/
git-svn-id: http://skia.googlecode.com/svn/trunk@2603
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Fri, 4 Nov 2011 13:00:18 +0000 (13:00 +0000)]
Move the Android sample app into the android repo.
Review URL: http://codereview.appspot.com/
5332054
git-svn-id: http://skia.googlecode.com/svn/trunk@2602
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 3 Nov 2011 20:29:47 +0000 (20:29 +0000)]
Override 32BPP format in SkCanvas::readPixels
Review URL: http://codereview.appspot.com/
5330073/
git-svn-id: http://skia.googlecode.com/svn/trunk@2600
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 3 Nov 2011 19:29:08 +0000 (19:29 +0000)]
experimental -- add SkImageFilter to paint. Not called yet.
git-svn-id: http://skia.googlecode.com/svn/trunk@2599
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Thu, 3 Nov 2011 17:31:41 +0000 (17:31 +0000)]
Update the Skia gyp files to use the external android sources.
Review URL: http://codereview.appspot.com/
5336048
git-svn-id: http://skia.googlecode.com/svn/trunk@2598
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 3 Nov 2011 14:29:38 +0000 (14:29 +0000)]
revert accidental change to lcd format pref
git-svn-id: http://skia.googlecode.com/svn/trunk@2596
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 3 Nov 2011 14:28:35 +0000 (14:28 +0000)]
create inline versions of common CGRect functions, since they appeared on
our profile of FontScalerBench
git-svn-id: http://skia.googlecode.com/svn/trunk@2595
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 3 Nov 2011 13:45:38 +0000 (13:45 +0000)]
custom memset32 to speed up erasing the offscreen when its width is small.
git-svn-id: http://skia.googlecode.com/svn/trunk@2594
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Thu, 3 Nov 2011 13:13:27 +0000 (13:13 +0000)]
Fix for missing file from previous CL that broke the build.
The file defines skia_target_arch to '' for non-arm platforms.
git-svn-id: http://skia.googlecode.com/svn/trunk@2593
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Thu, 3 Nov 2011 13:08:29 +0000 (13:08 +0000)]
Adding support to trunk for building Skia using the Android NDK.
This CL depends on a subsequent CL to add the appropriate NDK
toolchain and system sources to the skia repo.
Review URL: http://codereview.appspot.com/
5306089/
Review URL: http://codereview.appspot.com/
5306089
git-svn-id: http://skia.googlecode.com/svn/trunk@2592
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 2 Nov 2011 21:04:12 +0000 (21:04 +0000)]
speed up font cache creation (20x using FontScalerBench)
git-svn-id: http://skia.googlecode.com/svn/trunk@2591
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 2 Nov 2011 21:02:57 +0000 (21:02 +0000)]
add bench for building the font cache
git-svn-id: http://skia.googlecode.com/svn/trunk@2590
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 2 Nov 2011 21:02:36 +0000 (21:02 +0000)]
add hack for testing gSkSuppressFontCachePurgeSpew
git-svn-id: http://skia.googlecode.com/svn/trunk@2589
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 2 Nov 2011 20:10:48 +0000 (20:10 +0000)]
Line-endings only change (some windows line-endings snuck in)
git-svn-id: http://skia.googlecode.com/svn/trunk@2588
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 2 Nov 2011 20:06:25 +0000 (20:06 +0000)]
Make SkDevice::onReadPixels take a const& rather than const*
git-svn-id: http://skia.googlecode.com/svn/trunk@2587
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 2 Nov 2011 19:57:21 +0000 (19:57 +0000)]
Recommit r2584 with gpu pass of the new ReadPixels test disabled in fixed pt (gpu code doesn't work in general in fixed pt).
git-svn-id: http://skia.googlecode.com/svn/trunk@2586
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 2 Nov 2011 19:39:51 +0000 (19:39 +0000)]
Revert r2584 (new test fails in fixed pt builds)
git-svn-id: http://skia.googlecode.com/svn/trunk@2585
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 2 Nov 2011 19:34:16 +0000 (19:34 +0000)]
Changes the SkCanvas::readPixels API. Allows caller to read into prealloced bitmap pixels. Changes how clipping to device bounds is handled.
Review URL: http://codereview.appspot.com/
5307077/
git-svn-id: http://skia.googlecode.com/svn/trunk@2584
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Wed, 2 Nov 2011 18:16:22 +0000 (18:16 +0000)]
fix font id calculation
M src/ports/SkFontHost_mac_coretext.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@2583
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 2 Nov 2011 15:20:15 +0000 (15:20 +0000)]
up glyphcache hash table to 12bits (from 8bits).
Experimenting shows that is the sweetspot when drawing lots of CJK
git-svn-id: http://skia.googlecode.com/svn/trunk@2582
2bbb7eff-a529-9590-31e7-
b0007b416f81
vandebo@chromium.org [Tue, 1 Nov 2011 23:03:20 +0000 (23:03 +0000)]
[PDF] Add debug assert to detect failure of GDI cache hack.
If we start hitting this check, then it's likely that something has regressed in WebKit.
Original CL from arthurhsu@chromium.org: http://codereview.appspot.com/
5322063/
Review URL: http://codereview.appspot.com/
5320062
git-svn-id: http://skia.googlecode.com/svn/trunk@2581
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 1 Nov 2011 16:03:35 +0000 (16:03 +0000)]
remove tests for copyPixelsFrom (it is not gone)
git-svn-id: http://skia.googlecode.com/svn/trunk@2580
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 1 Nov 2011 15:53:28 +0000 (15:53 +0000)]
remove unused copyPixelsFrom ... (copyPixelsTo is next on the chopping block)
git-svn-id: http://skia.googlecode.com/svn/trunk@2579
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Tue, 1 Nov 2011 14:42:29 +0000 (14:42 +0000)]
fix monospace glyph bounds on Lion
M src/ports/SkFontHost_mac_coretext.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@2578
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 1 Nov 2011 14:24:23 +0000 (14:24 +0000)]
add getDeviceSize() so callers won't need to call getDevice() so much
... we hope to make devices private in the future
git-svn-id: http://skia.googlecode.com/svn/trunk@2577
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 1 Nov 2011 11:42:42 +0000 (11:42 +0000)]
match blitH computation for coverage in new blitRect for supersampler
git-svn-id: http://skia.googlecode.com/svn/trunk@2576
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 31 Oct 2011 19:37:58 +0000 (19:37 +0000)]
specialize blitRect in supersampler:
10% fast aa-roundrects blits,
2x faster aa-roundrect-clips building
git-svn-id: http://skia.googlecode.com/svn/trunk@2575
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Mon, 31 Oct 2011 18:06:07 +0000 (18:06 +0000)]
Delete DEPS.android in favor of a different approach
git-svn-id: http://skia.googlecode.com/svn/trunk@2573
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Mon, 31 Oct 2011 17:39:33 +0000 (17:39 +0000)]
First attempt at DEPS.android file
git-svn-id: http://skia.googlecode.com/svn/trunk@2572
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 31 Oct 2011 17:37:14 +0000 (17:37 +0000)]
internalDrawBitmap is using kShaderTextureIdx. It should be kBitmapTextureIdx. No functional change, both are names for 0.
git-svn-id: http://skia.googlecode.com/svn/trunk@2571
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 31 Oct 2011 16:47:13 +0000 (16:47 +0000)]
Remove SK_OVERRIDE from func defn
git-svn-id: http://skia.googlecode.com/svn/trunk@2570
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 31 Oct 2011 16:33:52 +0000 (16:33 +0000)]
support multiple (OR'd) -match parameters
git-svn-id: http://skia.googlecode.com/svn/trunk@2568
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 31 Oct 2011 16:30:04 +0000 (16:30 +0000)]
all for multiple --match foo args, which will be logically OR'd together
git-svn-id: http://skia.googlecode.com/svn/trunk@2567
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 31 Oct 2011 16:07:28 +0000 (16:07 +0000)]
implement blitRect for aaclip builder. This speeds up setRect by 15x (for 640x480)
git-svn-id: http://skia.googlecode.com/svn/trunk@2566
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 31 Oct 2011 14:33:35 +0000 (14:33 +0000)]
add bench for building aaclips
git-svn-id: http://skia.googlecode.com/svn/trunk@2565
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 31 Oct 2011 14:18:20 +0000 (14:18 +0000)]
Import all GMs as Samples.
Review URL: http://codereview.appspot.com/
5332043/
git-svn-id: http://skia.googlecode.com/svn/trunk@2564
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 31 Oct 2011 14:14:18 +0000 (14:14 +0000)]
call blitRect in our convex scanconverter (next: take advantage of that in our
region and soft-region builders, and in our supersampler)
git-svn-id: http://skia.googlecode.com/svn/trunk@2563
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 31 Oct 2011 12:55:49 +0000 (12:55 +0000)]
can't assume (ever :( ) that a 2-ptr src will convex
git-svn-id: http://skia.googlecode.com/svn/trunk@2562
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 31 Oct 2011 12:12:12 +0000 (12:12 +0000)]
don't assume a 2-point path is convex, unless its also not closed
git-svn-id: http://skia.googlecode.com/svn/trunk@2561
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Mon, 31 Oct 2011 02:58:27 +0000 (02:58 +0000)]
handle when initial edges don't agree on start-y
git-svn-id: http://skia.googlecode.com/svn/trunk@2560
2bbb7eff-a529-9590-31e7-
b0007b416f81
vandebo@chromium.org [Sun, 30 Oct 2011 19:13:26 +0000 (19:13 +0000)]
PDF: Fix bug in weak pointer pattern.
For Canonicalized objects, only remove an object from the canonical list if it is the canonical object and not if it is an instance equal to the canonical object.
BUG=381
TBR=reed@google.com
Review URL: http://codereview.appspot.com/
5330058
git-svn-id: http://skia.googlecode.com/svn/trunk@2559
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Sun, 30 Oct 2011 17:06:24 +0000 (17:06 +0000)]
be sure to erase complete (i.e. before the softclip)
git-svn-id: http://skia.googlecode.com/svn/trunk@2558
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Sun, 30 Oct 2011 16:25:09 +0000 (16:25 +0000)]
Can't put a variable sized array of non-pod on the stack. Use SkAutoTDeleteArray instead.
git-svn-id: http://skia.googlecode.com/svn/trunk@2557
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 28 Oct 2011 19:50:21 +0000 (19:50 +0000)]
Fix pure virtual call from destructor and turn VertBench back on
git-svn-id: http://skia.googlecode.com/svn/trunk@2556
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 28 Oct 2011 19:24:58 +0000 (19:24 +0000)]
disable for now (brian is fixing)
git-svn-id: http://skia.googlecode.com/svn/trunk@2555
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 28 Oct 2011 18:58:46 +0000 (18:58 +0000)]
add convex special case in scanconverter. about 10% faster for modest ovals and rrects
git-svn-id: http://skia.googlecode.com/svn/trunk@2554
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 28 Oct 2011 18:57:32 +0000 (18:57 +0000)]
add initial bench for drawVertices
git-svn-id: http://skia.googlecode.com/svn/trunk@2553
2bbb7eff-a529-9590-31e7-
b0007b416f81
tomhudson@google.com [Fri, 28 Oct 2011 15:34:49 +0000 (15:34 +0000)]
In debug builds, only run each benchmark 1 time (test for assertion-breakage,
not performance).
codereview.appspot.com/
5314064/
git-svn-id: http://skia.googlecode.com/svn/trunk@2552
2bbb7eff-a529-9590-31e7-
b0007b416f81
tomhudson@google.com [Fri, 28 Oct 2011 14:59:07 +0000 (14:59 +0000)]
Instead of using fixed size for GPU context in benchmain, walk list of
benchmarks and find the largest size required.
codereview.appspot.com/
5330045/
git-svn-id: http://skia.googlecode.com/svn/trunk@2551
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 28 Oct 2011 14:55:53 +0000 (14:55 +0000)]
clean up, add test for soft-clip
git-svn-id: http://skia.googlecode.com/svn/trunk@2550
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 28 Oct 2011 02:39:17 +0000 (02:39 +0000)]
reload base after we call memmove
git-svn-id: http://skia.googlecode.com/svn/trunk@2549
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 27 Oct 2011 21:47:03 +0000 (21:47 +0000)]
warning fixes
Review URL http://codereview.appspot.com/
5328050/
git-svn-id: http://skia.googlecode.com/svn/trunk@2548
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 27 Oct 2011 21:15:36 +0000 (21:15 +0000)]
fix bad return type (should have been void)
git-svn-id: http://skia.googlecode.com/svn/trunk@2547
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 27 Oct 2011 20:55:06 +0000 (20:55 +0000)]
Rebasline windows fixed point hairmodes
git-svn-id: http://skia.googlecode.com/svn/trunk@2546
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 27 Oct 2011 20:44:19 +0000 (20:44 +0000)]
Add NULL GL context implementation. Use in bench (-nullgl) and SampleApp (backspace key)
Review URL: http://codereview.appspot.com/
5303080/
git-svn-id: http://skia.googlecode.com/svn/trunk@2545
2bbb7eff-a529-9590-31e7-
b0007b416f81