Commit Graph

3022 Commits

Author SHA1 Message Date
reed@google.com
4bc0a9db18 use higher precision (64bit) fixed-point for matrix proc
Review URL: https://codereview.appspot.com/5772044

git-svn-id: http://skia.googlecode.com/svn/trunk@3336 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-07 21:47:41 +00:00
bsalomon@google.com
b372942bbc make pathrenderers release their geometry before returning
Review URL: http://codereview.appspot.com/5753073/



git-svn-id: http://skia.googlecode.com/svn/trunk@3335 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-07 19:13:28 +00:00
epoger@google.com
bb2d36dfc9 Add libjpeg source as third_party/externals dependency
Review URL: https://codereview.appspot.com/5773043

git-svn-id: http://skia.googlecode.com/svn/trunk@3334 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-07 17:15:54 +00:00
reed@google.com
b8c39178ff add bench for various interp techniques used in bitmapshader_matrix
git-svn-id: http://skia.googlecode.com/svn/trunk@3333 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-07 12:36:07 +00:00
bsalomon@google.com
20c0a18e05 Change skia_target_arch != arm to skia_target_arch == x86 in gyp files
BUG= http://code.google.com/p/skia/issues/detail?id=478

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



git-svn-id: http://skia.googlecode.com/svn/trunk@3332 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-06 20:43:53 +00:00
tomhudson@google.com
ae29b88def SSSE3 code for drawing rotated bitmaps; produces 25-30% speedup.
Courtesy of Jin Yang.

http://codereview.appspot.com/5704055/



git-svn-id: http://skia.googlecode.com/svn/trunk@3331 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-06 14:59:04 +00:00
caryclark@google.com
4917f17bf6 work in progress
of note, all edge walker tests succeed at this point

git-svn-id: http://skia.googlecode.com/svn/trunk@3330 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-05 22:01:21 +00:00
senorblanco@chromium.org
ceb441476e Fix debug build: move assertions to GrContext callers, not static callees.
Debug build fix; unreviewed.



git-svn-id: http://skia.googlecode.com/svn/trunk@3329 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-05 20:53:36 +00:00
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