bsalomon@google.com [Tue, 13 Mar 2012 14:41:19 +0000 (14:41 +0000)]
Fix missing return statement
git-svn-id: http://skia.googlecode.com/svn/trunk@3373
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 13 Mar 2012 14:32:07 +0000 (14:32 +0000)]
Add option to automatically flush GrInOrderDrawBuffer based on previewing vtx/idx request sizes
Review URL: http://codereview.appspot.com/5794079/
git-svn-id: http://skia.googlecode.com/svn/trunk@3372
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 13 Mar 2012 12:40:53 +0000 (12:40 +0000)]
Change interface on GrDrawTarget to reserve vtx/idx space at same time
Review URL: https://codereview.appspot.com/5796066/
git-svn-id: http://skia.googlecode.com/svn/trunk@3371
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 12 Mar 2012 21:31:00 +0000 (21:31 +0000)]
promote floats to scalars for the fixed-point build
git-svn-id: http://skia.googlecode.com/svn/trunk@3370
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 12 Mar 2012 21:14:09 +0000 (21:14 +0000)]
don't draw in constructor (makes debugging harder)
git-svn-id: http://skia.googlecode.com/svn/trunk@3369
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 12 Mar 2012 21:13:48 +0000 (21:13 +0000)]
add init() method, so we don't draw in our constructor (makes debugging harder)
git-svn-id: http://skia.googlecode.com/svn/trunk@3368
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 12 Mar 2012 21:11:18 +0000 (21:11 +0000)]
add unittest for rev. 3366 -- clipping antihairlines
git-svn-id: http://skia.googlecode.com/svn/trunk@3367
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 12 Mar 2012 20:26:17 +0000 (20:26 +0000)]
if we are extending past our clip in antihairlines, don't draw that last
row/col (setting its scale to 0), so we don't violate the clip-rule and
possibly double-draw the last pixel.
git-svn-id: http://skia.googlecode.com/svn/trunk@3366
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 12 Mar 2012 16:09:06 +0000 (16:09 +0000)]
detect all masks, and don't use masksuperblitter with those
git-svn-id: http://skia.googlecode.com/svn/trunk@3364
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Mon, 12 Mar 2012 14:39:20 +0000 (14:39 +0000)]
Updating SkAvoidXferMode to use new 4byte interp function.
Review URL: https://codereview.appspot.com/5795058
git-svn-id: http://skia.googlecode.com/svn/trunk@3363
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 12 Mar 2012 14:25:18 +0000 (14:25 +0000)]
add SkFourByteInterp256 variant, when the caller has already scaled the last
parameter to 0..256
git-svn-id: http://skia.googlecode.com/svn/trunk@3362
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 12 Mar 2012 13:15:33 +0000 (13:15 +0000)]
add/delete some comments to path renderer interface
Submitted by Guanqun.Lu@gmail.com
Review URL: http://codereview.appspot.com/5783060/
git-svn-id: http://skia.googlecode.com/svn/trunk@3361
2bbb7eff-a529-9590-31e7-
b0007b416f81
vandebo@chromium.org [Fri, 9 Mar 2012 22:16:58 +0000 (22:16 +0000)]
[PDF] Fix memory hungry inefficiency in pdf resource tracking.
When moving the content of a device into a PDF object like SkPDFFormXObject
or SkPDFShader does, we only need the top level resources in the new object's
resource list, not the recursive set of objects. Otherwise, when you
put a form on a form on form, etc, references to the objects multiply.
This fixed http://crbug.com/117321
Review URL: https://codereview.appspot.com/5796048
git-svn-id: http://skia.googlecode.com/svn/trunk@3360
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Fri, 9 Mar 2012 20:52:05 +0000 (20:52 +0000)]
Rebaseline for r3358.
git-svn-id: http://skia.googlecode.com/svn/trunk@3359
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Fri, 9 Mar 2012 20:31:17 +0000 (20:31 +0000)]
Use default lcd filter until we have the means to specify one.
git-svn-id: http://skia.googlecode.com/svn/trunk@3358
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 9 Mar 2012 19:59:46 +0000 (19:59 +0000)]
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
vandebo@chromium.org [Fri, 9 Mar 2012 17:18:50 +0000 (17:18 +0000)]
[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
tomhudson@google.com [Fri, 9 Mar 2012 16:48:20 +0000 (16:48 +0000)]
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
epoger@google.com [Fri, 9 Mar 2012 11:40:45 +0000 (11:40 +0000)]
whitespace change to trigger Skia buildbot
git-svn-id: http://skia.googlecode.com/svn/trunk@3354
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 8 Mar 2012 22:13:39 +0000 (22:13 +0000)]
add more modes/flags to giantbitmap test
git-svn-id: http://skia.googlecode.com/svn/trunk@3353
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 8 Mar 2012 22:13:04 +0000 (22:13 +0000)]
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
reed@google.com [Thu, 8 Mar 2012 21:57:12 +0000 (21:57 +0000)]
reenable vertical lcd support
git-svn-id: http://skia.googlecode.com/svn/trunk@3351
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 8 Mar 2012 20:49:27 +0000 (20:49 +0000)]
delete for now, as I rework this test
git-svn-id: http://skia.googlecode.com/svn/trunk@3350
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 8 Mar 2012 20:48:28 +0000 (20:48 +0000)]
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
reed@google.com [Thu, 8 Mar 2012 20:13:46 +0000 (20:13 +0000)]
apply FractionalInt improvement to rotated
git-svn-id: http://skia.googlecode.com/svn/trunk@3348
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 8 Mar 2012 19:53:02 +0000 (19:53 +0000)]
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
bungeman@google.com [Thu, 8 Mar 2012 19:49:28 +0000 (19:49 +0000)]
Rebaseline for r3344.
git-svn-id: http://skia.googlecode.com/svn/trunk@3346
2bbb7eff-a529-9590-31e7-
b0007b416f81
vandebo@chromium.org [Thu, 8 Mar 2012 19:41:01 +0000 (19:41 +0000)]
[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
bungeman@google.com [Thu, 8 Mar 2012 19:19:51 +0000 (19:19 +0000)]
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
bsalomon@google.com [Thu, 8 Mar 2012 16:45:22 +0000 (16:45 +0000)]
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
bsalomon@google.com [Thu, 8 Mar 2012 16:41:42 +0000 (16:41 +0000)]
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
bsalomon@google.com [Thu, 8 Mar 2012 16:20:16 +0000 (16:20 +0000)]
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
reed@google.com [Thu, 8 Mar 2012 16:10:57 +0000 (16:10 +0000)]
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
bsalomon@google.com [Thu, 8 Mar 2012 15:10:39 +0000 (15:10 +0000)]
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
reed@google.com [Thu, 8 Mar 2012 14:40:07 +0000 (14:40 +0000)]
disable PDF for now, until 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
reed@google.com [Wed, 7 Mar 2012 21:50:37 +0000 (21:50 +0000)]
add new baselines (still need to debug gpu version)
git-svn-id: http://skia.googlecode.com/svn/trunk@3337
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 7 Mar 2012 21:47:41 +0000 (21:47 +0000)]
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
bsalomon@google.com [Wed, 7 Mar 2012 19:13:28 +0000 (19:13 +0000)]
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
epoger@google.com [Wed, 7 Mar 2012 17:15:54 +0000 (17:15 +0000)]
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
reed@google.com [Wed, 7 Mar 2012 12:36:07 +0000 (12:36 +0000)]
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
bsalomon@google.com [Tue, 6 Mar 2012 20:43:53 +0000 (20:43 +0000)]
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
tomhudson@google.com [Tue, 6 Mar 2012 14:59:04 +0000 (14:59 +0000)]
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
caryclark@google.com [Mon, 5 Mar 2012 22:01:21 +0000 (22:01 +0000)]
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
senorblanco@chromium.org [Mon, 5 Mar 2012 20:53:36 +0000 (20:53 +0000)]
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
bsalomon@google.com [Mon, 5 Mar 2012 20:50:10 +0000 (20:50 +0000)]
Recommit r3321 with fix for path orientation reversal.
git-svn-id: http://skia.googlecode.com/svn/trunk@3328
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Mon, 5 Mar 2012 20:41:22 +0000 (20:41 +0000)]
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
bsalomon@google.com [Mon, 5 Mar 2012 20:29:22 +0000 (20:29 +0000)]
Revert accidentally checked in gm image in r3323.
git-svn-id: http://skia.googlecode.com/svn/trunk@3324
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 5 Mar 2012 20:13:48 +0000 (20:13 +0000)]
Revert r3321 because of GM failure
git-svn-id: http://skia.googlecode.com/svn/trunk@3323
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 5 Mar 2012 19:57:21 +0000 (19:57 +0000)]
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
bsalomon@google.com [Mon, 5 Mar 2012 19:55:43 +0000 (19:55 +0000)]
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
vandebo@chromium.org [Mon, 5 Mar 2012 19:14:37 +0000 (19:14 +0000)]
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
vandebo@chromium.org [Mon, 5 Mar 2012 18:44:33 +0000 (18:44 +0000)]
[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
tomhudson@google.com [Mon, 5 Mar 2012 18:29:23 +0000 (18:29 +0000)]
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
bsalomon@google.com [Mon, 5 Mar 2012 18:24:07 +0000 (18:24 +0000)]
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
bsalomon@google.com [Mon, 5 Mar 2012 17:58:34 +0000 (17:58 +0000)]
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
bsalomon@google.com [Mon, 5 Mar 2012 16:01:18 +0000 (16:01 +0000)]
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
bungeman@google.com [Mon, 5 Mar 2012 15:31:05 +0000 (15:31 +0000)]
Rebaseline for r3313.
git-svn-id: http://skia.googlecode.com/svn/trunk@3314
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Mon, 5 Mar 2012 15:07:25 +0000 (15:07 +0000)]
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
bsalomon@google.com [Fri, 2 Mar 2012 21:26:50 +0000 (21:26 +0000)]
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
vandebo@chromium.org [Fri, 2 Mar 2012 21:11:54 +0000 (21:11 +0000)]
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
senorblanco@chromium.org [Fri, 2 Mar 2012 21:05:45 +0000 (21:05 +0000)]
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
caryclark@google.com [Fri, 2 Mar 2012 20:39:53 +0000 (20:39 +0000)]
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
bsalomon@google.com [Fri, 2 Mar 2012 20:36:18 +0000 (20:36 +0000)]
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
bsalomon@google.com [Fri, 2 Mar 2012 19:47:18 +0000 (19:47 +0000)]
Rebaseline GPU paths
git-svn-id: http://skia.googlecode.com/svn/trunk@3307
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 2 Mar 2012 19:23:51 +0000 (19:23 +0000)]
rebaseline after recent gpu change
git-svn-id: http://skia.googlecode.com/svn/trunk@3306
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 2 Mar 2012 18:57:25 +0000 (18:57 +0000)]
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
tomhudson@google.com [Fri, 2 Mar 2012 16:12:14 +0000 (16:12 +0000)]
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
reed@google.com [Fri, 2 Mar 2012 16:02:07 +0000 (16:02 +0000)]
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
tomhudson@google.com [Fri, 2 Mar 2012 15:38:23 +0000 (15:38 +0000)]
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
bsalomon@google.com [Fri, 2 Mar 2012 15:08:16 +0000 (15:08 +0000)]
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
reed@google.com [Thu, 1 Mar 2012 22:32:51 +0000 (22:32 +0000)]
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
bsalomon@google.com [Thu, 1 Mar 2012 20:59:28 +0000 (20:59 +0000)]
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
reed@google.com [Thu, 1 Mar 2012 19:55:27 +0000 (19:55 +0000)]
rebaseline with unclipped lcd text edges
git-svn-id: http://skia.googlecode.com/svn/trunk@3295
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 1 Mar 2012 19:40:21 +0000 (19:40 +0000)]
allow gamma params to be changed in .gyp
git-svn-id: http://skia.googlecode.com/svn/trunk@3294
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 1 Mar 2012 19:38:23 +0000 (19:38 +0000)]
fix clipping of lcd edge pixels
git-svn-id: http://skia.googlecode.com/svn/trunk@3293
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 1 Mar 2012 19:21:11 +0000 (19:21 +0000)]
add experimental files to encapsulate device-level font settings
git-svn-id: http://skia.googlecode.com/svn/trunk@3292
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Thu, 1 Mar 2012 19:16:31 +0000 (19:16 +0000)]
work in progress
git-svn-id: http://skia.googlecode.com/svn/trunk@3291
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 1 Mar 2012 16:12:45 +0000 (16:12 +0000)]
Remove ref in buffer alloc pool.
git-svn-id: http://skia.googlecode.com/svn/trunk@3290
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 1 Mar 2012 15:29:07 +0000 (15:29 +0000)]
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
reed@google.com [Wed, 29 Feb 2012 21:57:36 +0000 (21:57 +0000)]
remove fragile assert
git-svn-id: http://skia.googlecode.com/svn/trunk@3286
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 29 Feb 2012 20:59:24 +0000 (20:59 +0000)]
fix edgecase in chopcubic where we computed duplicate tvalues
git-svn-id: http://skia.googlecode.com/svn/trunk@3285
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 29 Feb 2012 15:35:38 +0000 (15:35 +0000)]
rebaseline after gamma tweak
git-svn-id: http://skia.googlecode.com/svn/trunk@3284
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 29 Feb 2012 15:08:00 +0000 (15:08 +0000)]
apply contrast before blend-gamma-calc
git-svn-id: http://skia.googlecode.com/svn/trunk@3283
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 29 Feb 2012 13:59:15 +0000 (13:59 +0000)]
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
reed@google.com [Wed, 29 Feb 2012 13:03:00 +0000 (13:03 +0000)]
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
tomhudson@google.com [Tue, 28 Feb 2012 19:03:13 +0000 (19:03 +0000)]
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
reed@google.com [Tue, 28 Feb 2012 18:14:50 +0000 (18:14 +0000)]
rebaseline after gamma correction change
git-svn-id: http://skia.googlecode.com/svn/trunk@3278
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 28 Feb 2012 17:06:02 +0000 (17:06 +0000)]
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
caryclark@google.com [Tue, 28 Feb 2012 16:57:05 +0000 (16:57 +0000)]
work in progress
git-svn-id: http://skia.googlecode.com/svn/trunk@3276
2bbb7eff-a529-9590-31e7-
b0007b416f81
tomhudson@google.com [Tue, 28 Feb 2012 16:46:01 +0000 (16:46 +0000)]
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
reed@google.com [Tue, 28 Feb 2012 16:34:29 +0000 (16:34 +0000)]
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
tomhudson@google.com [Tue, 28 Feb 2012 16:15:26 +0000 (16:15 +0000)]
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
tomhudson@google.com [Tue, 28 Feb 2012 15:41:49 +0000 (15:41 +0000)]
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
reed@google.com [Tue, 28 Feb 2012 15:32:42 +0000 (15:32 +0000)]
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
junov@chromium.org [Tue, 28 Feb 2012 15:27:59 +0000 (15:27 +0000)]
reverting r3268 because of test failures
git-svn-id: http://skia.googlecode.com/svn/trunk@3270
2bbb7eff-a529-9590-31e7-
b0007b416f81
junov@chromium.org [Tue, 28 Feb 2012 15:08:55 +0000 (15:08 +0000)]
build fix
git-svn-id: http://skia.googlecode.com/svn/trunk@3269
2bbb7eff-a529-9590-31e7-
b0007b416f81
junov@chromium.org [Tue, 28 Feb 2012 15:02:06 +0000 (15:02 +0000)]
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
reed@google.com [Mon, 27 Feb 2012 22:10:21 +0000 (22:10 +0000)]
Disable check for large bounds in antipath
git-svn-id: http://skia.googlecode.com/svn/trunk@3267
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Mon, 27 Feb 2012 16:22:48 +0000 (16:22 +0000)]
fix reorder initialization warning
http://codereview.appspot.com/5699084/
git-svn-id: http://skia.googlecode.com/svn/trunk@3264
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Mon, 27 Feb 2012 16:17:59 +0000 (16:17 +0000)]
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