Commit Graph

3093 Commits

Author SHA1 Message Date
reed@google.com
f444e8ccda don't flip the fractional bits (low 4) for bilerp when in kMirror_TileMode
Review URL: https://codereview.appspot.com/5795043

git-svn-id: http://skia.googlecode.com/svn/trunk@3357 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-09 19:59:46 +00:00
vandebo@chromium.org
54ff85c79d [PDF] Fix some fixed/float-point mismatches for image shaders.
BUG=520

Review URL: https://codereview.appspot.com/5787061

git-svn-id: http://skia.googlecode.com/svn/trunk@3356 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-09 17:18:50 +00:00
tomhudson@google.com
4c4337291d If we try to clip against a path and the path only contains a rect, treat it as a clip against a rect.
(Works around a performance issue: JavaScript Canvas2D API only provides canvas.clipPath(), and we don't
optimize path clips nearly as much as we can rects; this shows up more in Ganesh than in the software
rasterizer.)

http://codereview.appspot.com/5795044/



git-svn-id: http://skia.googlecode.com/svn/trunk@3355 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-09 16:48:20 +00:00
epoger@google.com
4ce3da5e9e whitespace change to trigger Skia buildbot
git-svn-id: http://skia.googlecode.com/svn/trunk@3354 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-09 11:40:45 +00:00
reed@google.com
b0b462b93b add more modes/flags to giantbitmap test
git-svn-id: http://skia.googlecode.com/svn/trunk@3353 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-08 22:13:39 +00:00
reed@google.com
26b73d3128 defer any drawing until our first time, so we don't do it in our
constructor (which may get called multiple times)



git-svn-id: http://skia.googlecode.com/svn/trunk@3352 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-08 22:13:04 +00:00
reed@google.com
a1bfa214c5 reenable vertical lcd support
git-svn-id: http://skia.googlecode.com/svn/trunk@3351 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-08 21:57:12 +00:00
reed@google.com
d115ca51c7 delete for now, as I rework this test
git-svn-id: http://skia.googlecode.com/svn/trunk@3350 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-08 20:49:27 +00:00
reed@google.com
c5039dd9f1 disable 64bit opt for now, as I debug skew failure in DRT
git-svn-id: http://skia.googlecode.com/svn/trunk@3349 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-08 20:48:28 +00:00
reed@google.com
411215ae2b apply FractionalInt improvement to rotated
git-svn-id: http://skia.googlecode.com/svn/trunk@3348 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-08 20:13:46 +00:00
bsalomon@google.com
9183216a7c use floats to compute texture matrix / coords
Review URL: http://codereview.appspot.com/5781059/



git-svn-id: http://skia.googlecode.com/svn/trunk@3347 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-08 19:53:02 +00:00
bungeman@google.com
ee329defb9 Rebaseline for r3344.
git-svn-id: http://skia.googlecode.com/svn/trunk@3346 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-08 19:49:28 +00:00
vandebo@chromium.org
d41e70de19 [PDF] Treat TTF Fonts that report zero glyphs as other font type.
Fix crbug.com/117322 crash

Patch from Arthur Hsu, Original CL: http://codereview.appspot.com/5786057/

Review URL: https://codereview.appspot.com/5792050

git-svn-id: http://skia.googlecode.com/svn/trunk@3345 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-08 19:41:01 +00:00
bungeman@google.com
f4f2b8010a Don't override the user's hinting level.
http://codereview.appspot.com/5792049/


git-svn-id: http://skia.googlecode.com/svn/trunk@3344 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-08 19:19:51 +00:00
bsalomon@google.com
d850c18fdf Turn off pedantic check that causes too much noise in GL logs.
git-svn-id: http://skia.googlecode.com/svn/trunk@3343 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-08 16:45:22 +00:00
bsalomon@google.com
3f5a95e974 Misc bug fix in GrInOrderDrawBuffer
Code review: http://codereview.appspot.com/5787054/



git-svn-id: http://skia.googlecode.com/svn/trunk@3342 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-08 16:41:42 +00:00
bsalomon@google.com
ab9e2c6fc8 Annotate overridden functions with SK_OVERRIDE in OverView class.
R=bsalomon@google.com

Signed-off-by: Thiago Farina <tfarina@chromium.org>


Committed on behalf of tfarina@chromium.org
Review URL: https://codereview.appspot.com/5752057/



git-svn-id: http://skia.googlecode.com/svn/trunk@3341 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-08 16:20:16 +00:00
reed@google.com
ce151d0eba return false if the typeface cannot be found
from https://codereview.appspot.com/5756059/



git-svn-id: http://skia.googlecode.com/svn/trunk@3340 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-08 16:10:57 +00:00
bsalomon@google.com
d510809317 Fix GrBufferAllocPool to include padding in bytes used for an allocation
Review URL: http://codereview.appspot.com/5784053/



git-svn-id: http://skia.googlecode.com/svn/trunk@3339 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-08 15:10:39 +00:00
reed@google.com
584493e653 disable PDF for now, until http://code.google.com/p/skia/issues/detail?id=520
is fixed



git-svn-id: http://skia.googlecode.com/svn/trunk@3338 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-08 14:40:07 +00:00
reed@google.com
170b769f7b add new baselines (still need to debug gpu version)
git-svn-id: http://skia.googlecode.com/svn/trunk@3337 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-07 21:50:37 +00:00
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