robertphillips@google.com
cf9faf6ce9
Reverting r7545 (render target origin change) due to layout test issues (see https://codereview.chromium.org/12210002/ )
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7571 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-05 14:05:06 +00:00
skia.committer@gmail.com
0c38ed3b1d
Sanitizing source files in Skia_Periodic_House_Keeping
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7567 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-05 07:02:01 +00:00
mike@reedtribe.org
1c295e422b
remove define for SK_IGNORE_GRADIENT_DITHER_FIX to trigger rebaselines
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7564 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-05 02:58:00 +00:00
senorblanco@chromium.org
377c14a1e6
Nuke SkSingleInputImageFilter. 99% of its functionality was refactored into SkImageFilterUtils in https://code.google.com/p/skia/source/detail?r=7467 , so it has outlived its usefulness.
...
Review URL: https://codereview.appspot.com/7277055
git-svn-id: http://skia.googlecode.com/svn/trunk@7563 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-04 22:57:21 +00:00
reed@google.com
3d5b998bd7
use SkToS32 to turn a ptrdiff_t into an int (on 64bit build)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7562 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-04 22:40:28 +00:00
bsalomon@google.com
71cf3ae872
Use XQuartz's version of OSMesa rather than Mac SDK's. It is newer and has a fix for a bug that unit tests and GM trigger.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7561 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-04 22:17:13 +00:00
reed@google.com
ae97c065d3
remove vestiges of 32BIT_GRADIENT flag, as we always dither gradients now
...
(even in chrome)
Review URL: https://codereview.appspot.com/7281049
git-svn-id: http://skia.googlecode.com/svn/trunk@7558 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-04 21:03:11 +00:00
reed@google.com
394c8854b3
add kMultiply_Mode to switch statement (fix warning)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7556 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-04 20:46:08 +00:00
reed@google.com
25cfa69342
land https://codereview.appspot.com/7221086/ -- add Multiply xfermode matching CSS spec
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7553 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-04 20:06:00 +00:00
bungeman@google.com
4e5a89570b
Simplify and speed up SkIntroSort.
...
https://codereview.appspot.com/7273048/
git-svn-id: http://skia.googlecode.com/svn/trunk@7552 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-04 19:54:15 +00:00
bsalomon@google.com
a45afcf14b
Commit file missing from r7550
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7551 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-04 18:46:49 +00:00
bsalomon@google.com
042a2861b2
Attempt to fix GLPrograms test on ANGLE bot.
...
R=senorblanco@chromium.org
Review URL: https://codereview.appspot.com/7281050
git-svn-id: http://skia.googlecode.com/svn/trunk@7550 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-04 18:39:24 +00:00
reed@google.com
60040292be
Go from a 1x2 to a 2x2 dither cell, and change/simplify the logic for how we
...
compute the "dithered" version of a color to just a graduated fixed-point-round.
Also, add this new dither to conical and sweep, which before had no dithering.
Disabled for now using SK_IGNORE_GRADIENT_DITHER_FIX. Will enable this and
and rebaseline skia.
http://code.google.com/p/skia/issues/detail?id=1098
Review URL: https://codereview.appspot.com/7248046
git-svn-id: http://skia.googlecode.com/svn/trunk@7549 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-04 18:21:23 +00:00
reed@google.com
73349aa332
extend gradient_create bench to test opaque and alpha gradient ramps
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7548 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-04 18:09:58 +00:00
reed@google.com
58ba41034e
cleanup: use DEF_BENCH macro
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7547 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-04 18:00:54 +00:00
reed@google.com
7fbf5cfae8
fix unused variable warning
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7546 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-04 17:59:02 +00:00
senorblanco@chromium.org
ed8659b51d
Implement support for origin-TopLeft render targets in GL backend.
...
Review URL: https://codereview.appspot.com/7230049
git-svn-id: http://skia.googlecode.com/svn/trunk@7545 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-04 17:29:51 +00:00
reed@google.com
83f7c65946
add new gms for shallow_gradient, in preparation for improving their quality
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7544 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-04 16:56:15 +00:00
bungeman@google.com
5b7bac5ce1
Change comment to avoid warning (don't end line comment with '\').
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7542 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-04 16:24:44 +00:00
rmistry@google.com
bf486f8153
Rebaselined webpage image GMs for ['base-shuttle_ubuntu12_ati5770', 'base-shuttle-win7-intel-float', 'base-shuttle-win7-intel-angle', 'base-shuttle-win7-intel-directwrite'] on Google Storage.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7541 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-04 16:22:06 +00:00
bsalomon@google.com
67b915de99
Make GPU unit tests use GrContexts of different GL types.
...
Review URL: https://codereview.appspot.com/7281046
git-svn-id: http://skia.googlecode.com/svn/trunk@7540 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-04 16:13:32 +00:00
bungeman@google.com
7de18e5c7b
Add sk_ignore_unused_variable to avoid warnings.
...
https://codereview.appspot.com/7218045/
git-svn-id: http://skia.googlecode.com/svn/trunk@7539 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-04 15:58:08 +00:00
reed@google.com
c1f9011ceb
add benchmark for stroked drawRect/drawOval/drawRRect, to prepare for optimizing
...
those based on special-casing stroking for single-contour-convex shapes.
git-svn-id: http://skia.googlecode.com/svn/trunk@7537 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-04 14:57:28 +00:00
caryclark@google.com
f9502d7dfa
shape ops work in progress
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7535 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-04 14:06:49 +00:00
skia.committer@gmail.com
9dde018753
Sanitizing source files in Skia_Periodic_House_Keeping
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7533 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-04 12:57:42 +00:00
mike@reedtribe.org
aac2fb8019
move kStyleCount out of Style enum, and into its own, to avoid
...
1. someone passing kStyleCount as a parameter
2. warnings about not handling all enum values in a switch
We should probably move to remove kCountFoo from all of our enums for these reasons.
git-svn-id: http://skia.googlecode.com/svn/trunk@7532 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-04 05:17:10 +00:00
mike@reedtribe.org
0cf7b824ca
use DEF_BENCH macro
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7531 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-04 05:05:36 +00:00
rmistry@google.com
b025c9c72a
Rebaselined webpage image GMs for ['base-shuttle_ubuntu12_ati5770', 'base-shuttle-win7-intel-float', 'base-shuttle-win7-intel-angle', 'base-shuttle-win7-intel-directwrite'] on Google Storage.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7530 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-03 21:04:27 +00:00
junov@chromium.org
50a5cfb1a5
Accelerate handling of clipRRect in calls to SkPictureUtils::GatherPixelRefs
...
BUG=https://code.google.com/p/chromium/issues/detail?id=173718
Review URL: https://codereview.appspot.com/7252048
git-svn-id: http://skia.googlecode.com/svn/trunk@7527 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-01 20:39:48 +00:00
epoger@google.com
84a1802b07
gm: report max-pixel-error if comparing against PNG files (not checksums)
...
Review URL: https://codereview.appspot.com/7241064
git-svn-id: http://skia.googlecode.com/svn/trunk@7526 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-01 20:39:15 +00:00
reed@google.com
55853db3cc
Move dither toggle logic into common helper functions, to make it easier to
...
change their behavior later. No functional change.
Review URL: https://codereview.appspot.com/7241063
git-svn-id: http://skia.googlecode.com/svn/trunk@7525 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-01 19:34:59 +00:00
reed@google.com
bb89613380
landing https://codereview.appspot.com/7225077/ -- tweak for GIF 5.x api
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7523 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-01 19:05:48 +00:00
bsalomon@google.com
4d263406e3
Fix init order warning
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7522 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-01 18:42:50 +00:00
reed@google.com
408586e2a6
remove the kMultiply_Mode alias for kModulate_Mode. We plan to re-target kMultiply_Mode
...
in the future, to match the CSS spec.
git-svn-id: http://skia.googlecode.com/svn/trunk@7518 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-01 16:44:50 +00:00
junov@google.com
8b2f41b606
Prevent SkPictureUtils::GatherPixelRefs from generating bitmaps from gradient
...
shaders.
BUG=https://code.google.com/p/chromium/issues/detail?id=173657
Review URL: https://codereview.appspot.com/7220074
git-svn-id: http://skia.googlecode.com/svn/trunk@7517 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-01 16:41:47 +00:00
djsollen@google.com
d9b0f480be
Only support SkPicture abort for Android due to the fragility of the existing API
...
Review URL: https://codereview.appspot.com/7225083
git-svn-id: http://skia.googlecode.com/svn/trunk@7515 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-01 16:18:09 +00:00
djsollen@google.com
528a556514
Fix android errors when unflattening an SkImageRef_ashmem object.
...
Review URL: https://codereview.appspot.com/7228071
git-svn-id: http://skia.googlecode.com/svn/trunk@7514 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-01 15:57:13 +00:00
bsalomon@google.com
d11c91e7aa
Fix unused var warning-as-error
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7513 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-01 15:42:59 +00:00
reed@google.com
009dfe2cab
don't use NULL when comparing against ints/size_t (fixes warning)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7512 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-01 15:05:18 +00:00
reed@google.com
487b5606e2
add width() and height() helpers
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7511 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-01 15:01:24 +00:00
reed@google.com
ba3a3c93b2
revert name changes to SkBlendImageFilter. It (correctly) named its enum kMultiply_Mode,
...
and handled that itself internally, rather than calling SkXfermode. This CL removes
the kModulate_Mode alias from its list.
git-svn-id: http://skia.googlecode.com/svn/trunk@7509 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-01 14:35:09 +00:00
bsalomon@google.com
d62e88e5af
Make drawIndexedInstances non-virtual and rewrite GrIODB's drawRect on top of drawIndexedInstances.
...
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/7221078
git-svn-id: http://skia.googlecode.com/svn/trunk@7508 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-01 14:19:27 +00:00
rmistry@google.com
2bc4c35733
Rebaselined webpage image GMs for ['base-shuttle-win7-intel-angle'] on Google Storage.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7507 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-01 14:12:49 +00:00
reed@google.com
3c2102c2d2
restore cache-count for gradients to p.o.2. so we can perform fancier dithering
...
in the future.
Review URL: https://codereview.appspot.com/7254043
git-svn-id: http://skia.googlecode.com/svn/trunk@7506 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-02-01 12:59:40 +00:00
jvanverth@google.com
a63389843d
Change vertex buffer allocator functions to take size rather than layout, take two.
...
Resubmission of r7498.
https://codereview.appspot.com/7228078
git-svn-id: http://skia.googlecode.com/svn/trunk@7501 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-31 21:34:25 +00:00
bungeman@google.com
29dea74ca6
Fix warnings resulting from 7496.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7500 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-31 20:36:30 +00:00
skia.committer@gmail.com
747f1ecce6
Sanitizing source files in Skia_Periodic_House_Keeping
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7499 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-31 20:28:24 +00:00
jvanverth@google.com
84cd77c4eb
Change vertex buffer allocator functions to take size rather than layout.
...
https://codereview.appspot.com/7228078
git-svn-id: http://skia.googlecode.com/svn/trunk@7498 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-31 20:15:36 +00:00
bungeman@google.com
cfcb1bef94
Add SHA1 and MD5 to utils.
...
https://codereview.appspot.com/7071055/
git-svn-id: http://skia.googlecode.com/svn/trunk@7496 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-31 19:47:48 +00:00
robertphillips@google.com
cb9b4a5ce6
Added cast to make SkIntToScalar happy with size_t in debug (in SkDrawCommand.cpp)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7495 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-31 16:52:43 +00:00