bsalomon@google.com
8c0a0d3654
Avoid hairline coverage mul when possible
...
Review URL: http://codereview.appspot.com/5727062/
git-svn-id: http://skia.googlecode.com/svn/trunk@3315 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-05 16:01:18 +00:00
bungeman@google.com
10bfeb4a7b
Rebaseline for r3313.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3314 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-05 15:31:05 +00:00
bungeman@google.com
d0b6a2dd82
When guessing at the dest, use linear space instead of color space.
...
http://codereview.appspot.com/5732044/
--this line, and those below, will be ignored--
M src/ports/SkFontHost_FreeType.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@3313 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-05 15:07:25 +00:00
bsalomon@google.com
c2099d2707
simplify GrPathRenderer interface
...
Review URL: http://codereview.appspot.com/5706053/
git-svn-id: http://skia.googlecode.com/svn/trunk@3312 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-02 21:26:50 +00:00
vandebo@chromium.org
6a81b8a282
On Mac, also check for a loca table before calling a font true type.
...
Review URL: https://codereview.appspot.com/5720056
git-svn-id: http://skia.googlecode.com/svn/trunk@3311 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-02 21:11:54 +00:00
senorblanco@chromium.org
05054f1a78
Erode and dilate image filter effects, CPU and GPU implementations.
...
Review URL: http://codereview.appspot.com/5656067/
git-svn-id: http://skia.googlecode.com/svn/trunk@3310 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-02 21:05:45 +00:00
caryclark@google.com
c8ccfb0fba
Check to see if font is TrueType before making TrueType specific calls.
...
See chromium bug 116185
Review URL: https://codereview.appspot.com/5731046
git-svn-id: http://skia.googlecode.com/svn/trunk@3309 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-02 20:39:53 +00:00
bsalomon@google.com
c1dd88852a
Better workaround for osx / nv bug
...
Review URL: http://codereview.appspot.com/5727044/
git-svn-id: http://skia.googlecode.com/svn/trunk@3308 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-02 20:36:18 +00:00
bsalomon@google.com
80898bb77d
Rebaseline GPU paths
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3307 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-02 19:47:18 +00:00
reed@google.com
3a40f9c0ee
rebaseline after recent gpu change
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3306 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-02 19:23:51 +00:00
bsalomon@google.com
b4a4ab1e99
Remove offscreen supersampler.
...
THIS IS EXPECTED TO BREAK MANY GM TESTS. They will be rebaselined.
Review URL: http://codereview.appspot.com/5722044/
git-svn-id: http://skia.googlecode.com/svn/trunk@3305 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-02 18:57:25 +00:00
tomhudson@google.com
d33b26efe4
Restore SkImageDecoder_libjpeg, which may still be used by the Android build.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3304 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-02 16:12:14 +00:00
reed@google.com
d61b92b63c
restore old no-gamma behavior when requested
...
Review URL: https://codereview.appspot.com/5722047
git-svn-id: http://skia.googlecode.com/svn/trunk@3303 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-02 16:02:07 +00:00
tomhudson@google.com
3f5ebb431f
Remove libjpeg image decoder, since we've never built it since we changed
...
to gyp.
http://codereview.appspot.com/5722046/
git-svn-id: http://skia.googlecode.com/svn/trunk@3302 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-02 15:38:23 +00:00
bsalomon@google.com
b27a8d5c8a
minor fix: remove unnecessary init
...
Review URL: http://codereview.appspot.com/5720048/
git-svn-id: http://skia.googlecode.com/svn/trunk@3301 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-02 15:08:16 +00:00
reed@google.com
10d2d4d106
move the post cleanup of the rec until after we wack it for maskfilter
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3297 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-01 22:32:51 +00:00
bsalomon@google.com
b665a6b148
Fix cycling through buffers in buffer alloc pool
...
Review URL: http://codereview.appspot.com/5716050/
git-svn-id: http://skia.googlecode.com/svn/trunk@3296 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-01 20:59:28 +00:00
reed@google.com
9c88bafd28
rebaseline with unclipped lcd text edges
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3295 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-01 19:55:27 +00:00
reed@google.com
ec9ed81b4d
allow gamma params to be changed in .gyp
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3294 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-01 19:40:21 +00:00
reed@google.com
a1c32563cf
fix clipping of lcd edge pixels
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3293 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-01 19:38:23 +00:00
reed@google.com
48a4cbc668
add experimental files to encapsulate device-level font settings
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3292 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-01 19:21:11 +00:00
caryclark@google.com
cd4421df50
work in progress
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3291 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-01 19:16:31 +00:00
bsalomon@google.com
f6fc404409
Remove ref in buffer alloc pool.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3290 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-01 16:12:45 +00:00
bsalomon@google.com
5ffd5baeef
Workaround for chrome on mac buffer object performance issue.
...
Review URL: http://codereview.appspot.com/5713051/
git-svn-id: http://skia.googlecode.com/svn/trunk@3289 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-01 15:29:07 +00:00
reed@google.com
c256cd11e9
remove fragile assert
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3286 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-29 21:57:36 +00:00
reed@google.com
087d5aafb1
fix edgecase in chopcubic where we computed duplicate tvalues
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3285 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-29 20:59:24 +00:00
reed@google.com
8822266651
rebaseline after gamma tweak
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3284 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-29 15:35:38 +00:00
reed@google.com
613e9fe072
apply contrast before blend-gamma-calc
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3283 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-29 15:08:00 +00:00
reed@google.com
9b0da23f0a
fix bug and add test for aaclip when blitV is called
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3281 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-29 13:59:15 +00:00
reed@google.com
aefdd06271
move SKPaint's defaults (that might be configurable) into a header
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3280 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-29 13:03:00 +00:00
tomhudson@google.com
893ff3053f
Remove references to svg.gyp from projects that don't use it.
...
svg is now an orphan and can be deprecated.
http://codereview.appspot.com/5703047/
git-svn-id: http://skia.googlecode.com/svn/trunk@3279 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-28 19:03:13 +00:00
reed@google.com
89d30ee020
rebaseline after gamma correction change
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3278 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-28 18:14:50 +00:00
reed@google.com
1ac8350821
implement gamma correction for freetype text.
...
Need to opt-in to have it applied to kA8 text (which chrome can't for a while)
A8 text needs to use Slight hinting to look better, but that is not forced...
git-svn-id: http://skia.googlecode.com/svn/trunk@3277 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-28 17:06:02 +00:00
caryclark@google.com
cef7e3fc4b
work in progress
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3276 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-28 16:57:05 +00:00
tomhudson@google.com
301968088a
Remove referenecs to nonexistent file SkImageDecoder_libpvjpeg.c from gyp
...
http://codereview.appspot.com/5707046/
git-svn-id: http://skia.googlecode.com/svn/trunk@3275 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-28 16:46:01 +00:00
reed@google.com
d76dafb261
handle checking for large bounds correctly when SkScalar is fixed
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3274 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-28 16:34:29 +00:00
tomhudson@google.com
98a5b420aa
Improve SSE2 code for Blending BlitRow functions, producing 10% speedup.
...
Courtesy of Evan Nier.
http://codereview.appspot.com/5518045/
git-svn-id: http://skia.googlecode.com/svn/trunk@3273 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-28 16:15:26 +00:00
tomhudson@google.com
5efaf26893
SSE2 version of ClampX_ClampY_{no}filter_affine, courtesy of Jin Yang.
...
Speeds up drawing rotated bitmaps by 20-30%.
http://codereview.appspot.com/5700076/
git-svn-id: http://skia.googlecode.com/svn/trunk@3272 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-28 15:41:49 +00:00
reed@google.com
07db86126a
since SkScalarCeil/Floor do not explicitly detect overflows from float->int,
...
create special version of roundOut that checks if the result can fit, and if
not we abort the draw. 32bits (or 30 for antialiasing) should be enough for
anyone...
git-svn-id: http://skia.googlecode.com/svn/trunk@3271 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-28 15:32:42 +00:00
junov@chromium.org
5e5a095a94
reverting r3268 because of test failures
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3270 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-28 15:27:59 +00:00
junov@chromium.org
1c70074ffa
build fix
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3269 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-28 15:08:55 +00:00
junov@chromium.org
feba689917
SkDeferredCanvas, performance: small refactor to remove unnecessary conditional branches on all canvas API calls
...
REVIEW=http://codereview.appspot.com/5700086/
git-svn-id: http://skia.googlecode.com/svn/trunk@3268 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-28 15:02:06 +00:00
reed@google.com
a4e923824d
Disable check for large bounds in antipath
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3267 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-27 22:10:21 +00:00
djsollen@google.com
710c269dc1
fix reorder initialization warning
...
http://codereview.appspot.com/5699084/
git-svn-id: http://skia.googlecode.com/svn/trunk@3264 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-27 16:22:48 +00:00
djsollen@google.com
92d2a299d2
reapply r3259 (that was reverted) with fix.
...
The SkASSERT was incorrect and failing on debug runs.
Review URL: https://codereview.appspot.com/5699071
git-svn-id: http://skia.googlecode.com/svn/trunk@3263 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-27 16:17:59 +00:00
junov@chromium.org
c16ca92fd1
Coding style corrections in SkDeferredCanvas.cpp: brace placement, 80col, etc.
...
unreviewed.
git-svn-id: http://skia.googlecode.com/svn/trunk@3262 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-24 22:06:27 +00:00
junov@chromium.org
a907ac3e3e
Modify SkDeferredCanvas so that it uses its inherited SkCanvas to track matrix and clipping state
...
Removed 'virtual' from a few canvas methods that no longer need it thanks to this change.
BUG=http://code.google.com/p/skia/issues/detail?id=506
TEST=Canvas unit test
REVIEW=http://codereview.appspot.com/5697052/
git-svn-id: http://skia.googlecode.com/svn/trunk@3261 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-24 21:54:07 +00:00
djsollen@google.com
3cc0d8a6f0
reverting r3259 because of gm/test failure.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3260 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-24 21:21:51 +00:00
djsollen@google.com
42bbef71c7
Enable quickRejectY in SkCanvas to be inlined.
...
This CL was tested against the picturePlayback bench and
showed an approx 10-13% improvement on Android when playing
back text.
Review URL: https://codereview.appspot.com/5687083
git-svn-id: http://skia.googlecode.com/svn/trunk@3259 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-24 21:03:42 +00:00
junov@chromium.org
0b5b0ce39c
reverting r3257 because of gm failure.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3258 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-24 20:44:56 +00:00