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
robertphillips@google.com
1917c7bb2c
Removed unused variable
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7494 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-31 16:45:43 +00:00
epoger@google.com
5f6a007755
gm: force all pixels opaque earlier in the process
...
Review URL: https://codereview.appspot.com/7251043
git-svn-id: http://skia.googlecode.com/svn/trunk@7493 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-31 16:30:55 +00:00
robertphillips@google.com
3b0a9fe567
Update filter tool to allow more flexible filtering
...
https://codereview.appspot.com/7227055/
git-svn-id: http://skia.googlecode.com/svn/trunk@7492 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-31 15:56:22 +00:00
reed@google.com
633c32b13b
optimize region::intersect when one wholly contains the other
...
clone of https://codereview.appspot.com/7237055/
git-svn-id: http://skia.googlecode.com/svn/trunk@7491 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-31 15:24:24 +00:00
reed@google.com
a3c1348976
add new test for region::intersect, when one is a rect, and it wholly contains
...
a complex region.
git-svn-id: http://skia.googlecode.com/svn/trunk@7490 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-31 15:23:44 +00:00
epoger@google.com
4688de1ee5
gm self-tests: add 565 mode testing, in addition to 8888 mode
...
Review URL: https://codereview.appspot.com/7229061
git-svn-id: http://skia.googlecode.com/svn/trunk@7489 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-31 15:06:36 +00:00
rmistry@google.com
6156bd0c46
All skp files in Google Storage have been updated (AddDashboardAnnotation)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7487 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-31 14:17:14 +00:00
rmistry@google.com
64c72534c6
Whitespace change to trigger rebuilds after r7485
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7486 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-31 12:18:51 +00:00
skia.committer@gmail.com
24d5ee4f88
Sanitizing source files in Skia_Periodic_House_Keeping
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7484 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-31 07:06:15 +00:00
robertphillips@google.com
c3ecf65c69
Speculative change to SkImageFilterUtils.cpp to try to get compiling in Chrome
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7483 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-31 02:33:09 +00:00
robertphillips@google.com
6cfe1fba33
Adding kMultiply_Mode (as an alias to kModulate_Mode) in SkBlendImageFilter.h to get Chrome compiling
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7482 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-31 01:47:58 +00:00
robertphillips@google.com
e7c843d2e5
Readding kMultiply_Mode (as an alias to kModulate_Mode) in SkXfermode.h to get Chrome to compile
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7480 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-31 01:23:39 +00:00
robertphillips@google.com
8857e7c460
Add SkImageFilterUtils.h to effects.gypi
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7479 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-31 00:03:27 +00:00
vandebo@chromium.org
3c974427a9
[PDF] Fix multi-level page count calculation.
...
BUG=1091
Review URL: https://codereview.appspot.com/7220045
git-svn-id: http://skia.googlecode.com/svn/trunk@7478 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-30 21:44:40 +00:00
reed@google.com
8d3cd7a170
clone of https://codereview.appspot.com/7208043/
...
Review URL: https://codereview.appspot.com/7232062
git-svn-id: http://skia.googlecode.com/svn/trunk@7476 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-30 21:36:11 +00:00
bungeman@google.com
118c1a70c7
SkNextLog2 requires positive values.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7474 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-30 21:23:13 +00:00