bsalomon@google.com
af90f7f142
Recommit r3321 with fix for path orientation reversal.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3328 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-05 20:50:10 +00:00
senorblanco@chromium.org
3b4dd90282
Refactor Gaussian blur and morphology from SkGpuDevice into GrContext.
...
Review URL: http://codereview.appspot.com/5720060/
git-svn-id: http://skia.googlecode.com/svn/trunk@3327 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-05 20:41:22 +00:00
bsalomon@google.com
67ca522bca
Revert accidentally checked in gm image in r3323.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3324 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-05 20:29:22 +00:00
bsalomon@google.com
6d2733a1eb
Revert r3321 because of GM failure
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3323 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-05 20:13:48 +00:00
bsalomon@google.com
84405e095c
make skpaint2grpaint functions be local to skgpudevice.cpp
...
Review URL: http://codereview.appspot.com/5726061/
git-svn-id: http://skia.googlecode.com/svn/trunk@3322 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-05 19:57:21 +00:00
bsalomon@google.com
c759af3444
Avoid making a copy of the path in GrAAConvexPathRenderer
...
Review URL: http://codereview.appspot.com/5720074/
git-svn-id: http://skia.googlecode.com/svn/trunk@3321 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-05 19:55:43 +00:00
vandebo@chromium.org
cc46a0ab52
Fix copy paste error in test ref counting.
...
TBR=reed@google.com
Review URL: https://codereview.appspot.com/5727066
git-svn-id: http://skia.googlecode.com/svn/trunk@3320 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-05 19:14:37 +00:00
vandebo@chromium.org
c0376febfc
[PDF] Fix name objects containing characters > 0x80 and add a test.
...
This fixes chrome bug http://crbug.com/115258
Review URL: https://codereview.appspot.com/5726048
git-svn-id: http://skia.googlecode.com/svn/trunk@3319 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-05 18:44:33 +00:00
tomhudson@google.com
178b8e0b8c
Add SK_OVERRIDE where appropriate.
...
http://codereview.appspot.com/5734044/
git-svn-id: http://skia.googlecode.com/svn/trunk@3318 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-05 18:29:23 +00:00
bsalomon@google.com
68a5b260e2
Prealloc space for ~10 segments in GrAAConvexPathRenderer
...
Review URL: http://codereview.appspot.com/5726058/
git-svn-id: http://skia.googlecode.com/svn/trunk@3317 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-05 18:24:07 +00:00
bsalomon@google.com
9b1517edc7
minor improvement, remove some conditionals in GrAAConvexPathRenderer
...
Review URL: http://codereview.appspot.com/5728060
git-svn-id: http://skia.googlecode.com/svn/trunk@3316 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-05 17:58:34 +00:00
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