senorblanco@chromium.org [Mon, 4 Nov 2013 16:07:33 +0000 (16:07 +0000)]
Change SkBlurImageFilter to use fixed-point division. Yields ~1.8X speedup on
MacBookPro.
Note: this will require defining SK_DISABLE_BLUR_DIVISION_OPTIMIZATION in
Chrome, a la https://codereview.chromium.org/
49973005.
R=mtklein@google.com
Review URL: https://codereview.chromium.org/
57513002
git-svn-id: http://skia.googlecode.com/svn/trunk@12113
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Mon, 4 Nov 2013 12:57:42 +0000 (12:57 +0000)]
fix baselines for arcofzorro hairlines shadertext shadertext2
git-svn-id: http://skia.googlecode.com/svn/trunk@12109
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Sun, 3 Nov 2013 13:40:34 +0000 (13:40 +0000)]
Fix for Chromium-side compilation complaint:
src/pathops/SkIntersectionHelper.h:10:13: error: #if with no expression
git-svn-id: http://skia.googlecode.com/svn/trunk@12108
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Sat, 2 Nov 2013 07:02:02 +0000 (07:02 +0000)]
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@12101
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Fri, 1 Nov 2013 21:15:01 +0000 (21:15 +0000)]
fix more expectations for shadertext shadertext2 hairlines
git-svn-id: http://skia.googlecode.com/svn/trunk@12099
2bbb7eff-a529-9590-31e7-
b0007b416f81
vandebo@chromium.org [Fri, 1 Nov 2013 21:10:17 +0000 (21:10 +0000)]
Update missed expectations for xfermodes
ref: r12034, r12053
Review URL: https://codereview.chromium.org/
56473003
git-svn-id: http://skia.googlecode.com/svn/trunk@12098
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Fri, 1 Nov 2013 20:45:49 +0000 (20:45 +0000)]
update ignored tests with rebaselines
git-svn-id: http://skia.googlecode.com/svn/trunk@12097
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Fri, 1 Nov 2013 20:34:24 +0000 (20:34 +0000)]
fix shadertext2 expectations
git-svn-id: http://skia.googlecode.com/svn/trunk@12096
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Fri, 1 Nov 2013 20:25:47 +0000 (20:25 +0000)]
fix shadedtext expectations
git-svn-id: http://skia.googlecode.com/svn/trunk@12095
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Fri, 1 Nov 2013 20:16:50 +0000 (20:16 +0000)]
fix hairline expectations
git-svn-id: http://skia.googlecode.com/svn/trunk@12094
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Fri, 1 Nov 2013 20:02:16 +0000 (20:02 +0000)]
fix expectations for arcofzorro
git-svn-id: http://skia.googlecode.com/svn/trunk@12093
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Fri, 1 Nov 2013 19:28:33 +0000 (19:28 +0000)]
ignore gm roundrect errors including arcofzorro
git-svn-id: http://skia.googlecode.com/svn/trunk@12092
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Fri, 1 Nov 2013 19:22:42 +0000 (19:22 +0000)]
Reverting r12082 (Add bevel-stroke support in GrAARectRenderer) due to GM failures
git-svn-id: http://skia.googlecode.com/svn/trunk@12091
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Fri, 1 Nov 2013 19:18:59 +0000 (19:18 +0000)]
ignore gm roundrect errors
git-svn-id: http://skia.googlecode.com/svn/trunk@12090
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Fri, 1 Nov 2013 17:36:03 +0000 (17:36 +0000)]
pathops work in progress
BUG=
Review URL: https://codereview.chromium.org/
52653002
git-svn-id: http://skia.googlecode.com/svn/trunk@12089
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Fri, 1 Nov 2013 16:46:41 +0000 (16:46 +0000)]
rebaseline_server: make default landing page list supported query URLs
(SkipBuildbotRuns)
Originally, the default landing page redirected to view.html?resultsToLoad=all
(which displays all results, and can take a while).
Instead, start with a fast-loading page that shows the user all the result
sets that are available.
R=scroggo@google.com
Review URL: https://codereview.chromium.org/
46413004
git-svn-id: http://skia.googlecode.com/svn/trunk@12088
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 1 Nov 2013 16:25:59 +0000 (16:25 +0000)]
Revert "Avoid re-rendering stencil clip for every draw with reducable clip stack"
This reverts commit
92a7d4bf6a371f1f864154be902e8d86938e560b.
Revert "fix mac 10.6 build"
This reverts commit
114cd1a9f2734aaed6914718814364811b78bd7f.
BUG=
Review URL: https://codereview.chromium.org/
54543008
git-svn-id: http://skia.googlecode.com/svn/trunk@12087
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 1 Nov 2013 16:15:01 +0000 (16:15 +0000)]
fix mac 10.6 build
- double -> float implicit conversion (for literals like 1.3)
- locally defined (and named) struct
R=scroggo@google.com
Review URL: https://codereview.chromium.org/
56103002
git-svn-id: http://skia.googlecode.com/svn/trunk@12086
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Fri, 1 Nov 2013 15:24:55 +0000 (15:24 +0000)]
Construct round rects with perpendicular tangents.
The round rects are constructed as before out of quadratics,
but without fudging the control points. Instead, the mid on-
curve point is nudged slightly outward to prevent the
convexity test from failing.
The convexity test now includes an error term for sign
inequality after computing the cross product of the control
lines. When the control points are represented as vectors,
the number of bits of precision may be greatly reduced.
Account for this by passing the number of bits available
from the original control point values into the equality
check.
Making round rect construction lines perpendicular improves
the chances of success when path ops encounters clips.
No new tests are needed -- this change is exercised by the
convex Path unit tests and the gm tests arcofzorro and
hairlines.
R=robertphillips@google.com, reed@google.com
Author: caryclark@google.com
Review URL: https://codereview.chromium.org/
48783002
git-svn-id: http://skia.googlecode.com/svn/trunk@12085
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Fri, 1 Nov 2013 15:24:20 +0000 (15:24 +0000)]
Avoid re-rendering stencil clip for every draw with reducable clip stack
Fixes the cases where clip stack reduction would cause clip to be
re-rendered to stencil for each draw call. This causes unneeded
slowdown.
Stencil cache would not be used because the clip stack generation id communicated
by the clip stack element list would be invalid. This happended due to
a) clip stack reduction creating new elements in the element list.
b) purging logic removing the generation id, but reduction logic
selecting already purged element, and thus the generation id, as
the representative state of the clip.
Cases of a) where reduction would flatten the stack to a single new
element were fixed by assigning the generation id of the top-most
element of the clip stack as the generation id of the new
element. This is not strictly minimal, but enables more caching than
using invalid id.
Cases of a) where reduction would substitute a stack element with a
new element the generation id of the substituted element is used.
The b) part was fixed by removing the purging logic. It was not
exactly correct, as the previously purged states were actually
used. The purging was not used for anything.
Changes SkClipStack API to highlight that invalid generation id is
never returned by SkClipStack. Empty stacks are wide open. Changes the
clients to reflect this.
Fixes a crash when not passing anti-alias out parameter to
GrReducedClip::ReduceClipStack. The crash is not exercised in the
current code.
R=bsalomon@google.com, robertphillips@google.com
Author: kkinnunen@nvidia.com
Review URL: https://codereview.chromium.org/
48593003
git-svn-id: http://skia.googlecode.com/svn/trunk@12084
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Fri, 1 Nov 2013 15:23:44 +0000 (15:23 +0000)]
Make GrContext cache the gpu paths
Creating paths for nv_path_rendering is costly. Try to reduce this
cost by caching paths based on the SkPath "hash" (i.e. SkPathRef
generation id) and stroke properties.
Adds the paths to GrContext::fTextureCache instance. Later this should
be renamed and the GrContext API should reflect the nature of the cache
better.
R=bsalomon@google.com, mtklein@google.com
Author: kkinnunen@nvidia.com
Review URL: https://codereview.chromium.org/
26557003
git-svn-id: http://skia.googlecode.com/svn/trunk@12083
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Fri, 1 Nov 2013 15:23:17 +0000 (15:23 +0000)]
Add bevel-stroke support in GrAARectRenderer
R=robertphillips@google.com, bsalomon@google.com
Author: yunchao.he@intel.com
Review URL: https://codereview.chromium.org/
23712005
git-svn-id: http://skia.googlecode.com/svn/trunk@12082
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Fri, 1 Nov 2013 15:11:18 +0000 (15:11 +0000)]
Rebaseline improved N4 images
https://codereview.chromium.org/
49983005/
git-svn-id: http://skia.googlecode.com/svn/trunk@12081
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Fri, 1 Nov 2013 15:03:34 +0000 (15:03 +0000)]
Only disable scratch texture reuse on the N10 and N4
https://codereview.chromium.org/
48903017/
git-svn-id: http://skia.googlecode.com/svn/trunk@12080
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Fri, 1 Nov 2013 14:29:03 +0000 (14:29 +0000)]
rebaseline_server: right-align "select/clear/toggle all tests" buttons with results table
(SkipBuildbotRuns)
R=edisonn@google.com
Review URL: https://codereview.chromium.org/
55073003
git-svn-id: http://skia.googlecode.com/svn/trunk@12079
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 1 Nov 2013 13:46:54 +0000 (13:46 +0000)]
move SkImage::ColorType into SkColorType
objective -- move clients over to SkImage
tasks
- use SkImageInfo instead of SkBitmap::Config
- add support for colortables to SkImage
- add drawImage to SkCanvas
- return SkImage from readPixels
This CL works towards the first task
R=robertphillips@google.com
Review URL: https://codereview.chromium.org/
54363008
git-svn-id: http://skia.googlecode.com/svn/trunk@12077
2bbb7eff-a529-9590-31e7-
b0007b416f81
edisonn@google.com [Fri, 1 Nov 2013 12:33:43 +0000 (12:33 +0000)]
Update results for a Nexus4 tests that don't render well with perspective
Review URL: https://codereview.chromium.org/
55633003
git-svn-id: http://skia.googlecode.com/svn/trunk@12076
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Fri, 1 Nov 2013 11:55:06 +0000 (11:55 +0000)]
Adding a way to disable SkOffsetImageFilter's optimized path in blink/chrome
BUG=
R=senorblanco@chromium.org, reed@google.com, sugoi@google.com
Author: sugoi@chromium.org
Review URL: https://codereview.chromium.org/
54543005
git-svn-id: http://skia.googlecode.com/svn/trunk@12075
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Fri, 1 Nov 2013 11:54:54 +0000 (11:54 +0000)]
Fix two inconsistencies in handling fixed-function texture coordinate set generation
Prevent off-by-one bug leaving the texture coordinate set 0 always enabled if
it ever was used. This makes the code consistent with its apparent purpose.
When enabling / disabling texture coordinate sets, call glPathTexGen
only if path rendering is applicable. This makes the functions
consistent with GrGpuGL::resetContext.
R=cdalton@nvidia.com, bsalomon@google.com
Author: kkinnunen@nvidia.com
Review URL: https://codereview.chromium.org/
54403003
git-svn-id: http://skia.googlecode.com/svn/trunk@12074
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Fri, 1 Nov 2013 11:54:29 +0000 (11:54 +0000)]
add some GM tests for rects
BUG=
R=robertphillips@google.com, bsalomon@google.com
Author: yunchao.he@intel.com
Review URL: https://codereview.chromium.org/
54213002
git-svn-id: http://skia.googlecode.com/svn/trunk@12073
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Fri, 1 Nov 2013 07:02:15 +0000 (07:02 +0000)]
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@12071
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Fri, 1 Nov 2013 01:55:40 +0000 (01:55 +0000)]
Fix for r12069 (actually turn on don't-reuse-scratch-textures feature)
git-svn-id: http://skia.googlecode.com/svn/trunk@12070
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Fri, 1 Nov 2013 00:40:47 +0000 (00:40 +0000)]
Turn on don't-reuse-scratch-textures for all Android devices
https://codereview.chromium.org/
54493005/
git-svn-id: http://skia.googlecode.com/svn/trunk@12069
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Thu, 31 Oct 2013 23:20:03 +0000 (23:20 +0000)]
Another rebaseline
https://codereview.chromium.org/
46043021/
git-svn-id: http://skia.googlecode.com/svn/trunk@12068
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Thu, 31 Oct 2013 22:42:33 +0000 (22:42 +0000)]
Disabling SK_ATTR_DEPRECATED the hard way
git-svn-id: http://skia.googlecode.com/svn/trunk@12067
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Thu, 31 Oct 2013 22:36:37 +0000 (22:36 +0000)]
More image rebaselines
git-svn-id: http://skia.googlecode.com/svn/trunk@12066
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Thu, 31 Oct 2013 22:21:25 +0000 (22:21 +0000)]
Yet more rebaselines
https://codereview.chromium.org/
55303004/
git-svn-id: http://skia.googlecode.com/svn/trunk@12065
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Thu, 31 Oct 2013 21:44:25 +0000 (21:44 +0000)]
Add can-ignore-rect hint to clear call
https://codereview.chromium.org/
53823003/
git-svn-id: http://skia.googlecode.com/svn/trunk@12064
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Thu, 31 Oct 2013 21:27:44 +0000 (21:27 +0000)]
Add suppressions for Issue 1784
https://codereview.chromium.org/
49533006/
git-svn-id: http://skia.googlecode.com/svn/trunk@12063
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Thu, 31 Oct 2013 20:22:47 +0000 (20:22 +0000)]
Partial fix for Skia issue 1769: GenerateGMs crashing (out of memory)
GenerateGMs was crashing because we were adding genID listeners for
textures even when creation failed -- in this case the key generated
is not valid, so when it comes time to purge it, it triggers an
assert and then an apparent crash. The solution is to not add
a genID listener in this case.
This doesn't solve the problem of running out of memory, it just prevents it
from causing a crash in Debug builds.
BUG=
R=bsalomon@google.com, robertphillips@google.com, mtklein@google.com
Author: jvanverth@google.com
Review URL: https://codereview.chromium.org/
55023005
git-svn-id: http://skia.googlecode.com/svn/trunk@12062
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Thu, 31 Oct 2013 19:43:24 +0000 (19:43 +0000)]
Rebaseline images that improved with 12037
https://codereview.chromium.org/
55193002/
git-svn-id: http://skia.googlecode.com/svn/trunk@12061
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Thu, 31 Oct 2013 19:36:42 +0000 (19:36 +0000)]
Rebaseline lingering RoundRect RHB images
https://codereview.chromium.org/
52713011/
git-svn-id: http://skia.googlecode.com/svn/trunk@12060
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Thu, 31 Oct 2013 18:37:50 +0000 (18:37 +0000)]
Adding size parameter to read array functions
In some cases, the allocated array into which the data will be read is using getArrayCount() to allocate itself, which should be safe, but some cases use fixed length arrays or compute the array size before reading, which could overflow if the stream is compromised.
To prevent that from happening, I added a check that will verify that the number of bytes to read will not exceed the capacity of the input buffer argument passed to all the read...Array() functions.
I chose to use the byte array for this initial version, so that "size" represents the same value across all read...Array() functions, but I could also use the element count, if it is preferred.
Note : readPointArray and writePointArray are unused, so I could also remove them
BUG=
R=reed@google.com, mtklein@google.com, senorblanco@chromium.org
Author: sugoi@chromium.org
Review URL: https://codereview.chromium.org/
37803002
git-svn-id: http://skia.googlecode.com/svn/trunk@12058
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 31 Oct 2013 17:28:30 +0000 (17:28 +0000)]
Revert "Revert "add SK_ATTR_DEPRECATED -- will need to disable for chrome, since it triggers a warning""
This reverts commit
1e787c38fa71f2a21fd728f1b1d620b9b09b0d3d.
BUG=
Review URL: https://codereview.chromium.org/
54603004
git-svn-id: http://skia.googlecode.com/svn/trunk@12057
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 31 Oct 2013 16:31:11 +0000 (16:31 +0000)]
Revert "add SK_ATTR_DEPRECATED -- will need to disable for chrome, since it triggers a warning"
This reverts commit
1d22c4aaf9d8f053f25194a1ed74b137bfb19497.
git-svn-id: http://skia.googlecode.com/svn/trunk@12056
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 31 Oct 2013 16:24:08 +0000 (16:24 +0000)]
add SK_ATTR_DEPRECATED -- will need to disable for chrome, since it triggers a warning
BUG=
R=robertphillips@google.com, senorblanco@chromium.org, vandebo@chromium.org
Review URL: https://codereview.chromium.org/
51033004
git-svn-id: http://skia.googlecode.com/svn/trunk@12055
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Thu, 31 Oct 2013 15:50:43 +0000 (15:50 +0000)]
Fix bug in don't-reuse-scratch-textures path
https://codereview.chromium.org/
50853003/
git-svn-id: http://skia.googlecode.com/svn/trunk@12054
2bbb7eff-a529-9590-31e7-
b0007b416f81
vandebo@chromium.org [Thu, 31 Oct 2013 15:46:38 +0000 (15:46 +0000)]
Rebaseline for r12034
xfermodes changed in all configs - added more src types.
The following gms changed only for pdf configs:
xfermodes2, xfermodes3, aarectmodes, colormatrix, lumafilter, mixed_xfermodes
R=edisonn@google.com
Review URL: https://codereview.chromium.org/
54763003
git-svn-id: http://skia.googlecode.com/svn/trunk@12053
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Thu, 31 Oct 2013 13:42:30 +0000 (13:42 +0000)]
Remove suppression of morphology image diffs
git-svn-id: http://skia.googlecode.com/svn/trunk@12050
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Thu, 31 Oct 2013 13:25:18 +0000 (13:25 +0000)]
Rebaselines of morphology GM for r11966
https://codereview.chromium.org/
54353004/
git-svn-id: http://skia.googlecode.com/svn/trunk@12049
2bbb7eff-a529-9590-31e7-
b0007b416f81
borenet@google.com [Thu, 31 Oct 2013 13:21:32 +0000 (13:21 +0000)]
Whitespace change to trigger builds after buildbot script changes
Review URL: https://codereview.chromium.org/
54673002
git-svn-id: http://skia.googlecode.com/svn/trunk@12047
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Thu, 31 Oct 2013 07:01:53 +0000 (07:01 +0000)]
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@12043
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Thu, 31 Oct 2013 00:51:18 +0000 (00:51 +0000)]
No longer use scratch textures on ARM devices
https://codereview.chromium.org/
50643003/
git-svn-id: http://skia.googlecode.com/svn/trunk@12042
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Wed, 30 Oct 2013 22:38:15 +0000 (22:38 +0000)]
Speculative Android build fix.
TBR=robertphillips
Review URL: https://codereview.chromium.org/
52693003
git-svn-id: http://skia.googlecode.com/svn/trunk@12041
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Wed, 30 Oct 2013 22:22:05 +0000 (22:22 +0000)]
Revert r1784: SK_API on a non-concrete template is strange.
TBR=bsalomon@google.com
Review URL: https://codereview.chromium.org/
52843004
git-svn-id: http://skia.googlecode.com/svn/trunk@12040
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Wed, 30 Oct 2013 22:14:24 +0000 (22:14 +0000)]
Mac build fix.
TBR=robertphillips
Review URL: https://codereview.chromium.org/
45963007
git-svn-id: http://skia.googlecode.com/svn/trunk@12039
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Wed, 30 Oct 2013 21:57:04 +0000 (21:57 +0000)]
Implement SSE2-based implementations of the morphology filters (dilate & erode). This gives a 3-5X speedup over the naive implementation, and also mitigates a timing-based security attack in Chrome (https://code.google.com/p/chromium/issues/detail?id=251711).
NOTE: this will require a corresponding GYP change on the Skia roll into Chrome: https://codereview.chromium.org/
52453004/
R=mtklein@google.com, reed@google.com
Review URL: https://codereview.chromium.org/
52603004
git-svn-id: http://skia.googlecode.com/svn/trunk@12038
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Wed, 30 Oct 2013 21:30:43 +0000 (21:30 +0000)]
Make not-reusing-scratch-textures only apply to texture uploads
https://codereview.chromium.org/
53133002/
git-svn-id: http://skia.googlecode.com/svn/trunk@12037
2bbb7eff-a529-9590-31e7-
b0007b416f81
vandebo@chromium.org [Wed, 30 Oct 2013 21:29:47 +0000 (21:29 +0000)]
Fix int/SkScalar mismatch in gm.
Review URL: https://codereview.chromium.org/
45953005
git-svn-id: http://skia.googlecode.com/svn/trunk@12036
2bbb7eff-a529-9590-31e7-
b0007b416f81
vandebo@chromium.org [Wed, 30 Oct 2013 21:00:47 +0000 (21:00 +0000)]
Fix int/SkScalar mismatch.
Review URL: https://codereview.chromium.org/
51043005
git-svn-id: http://skia.googlecode.com/svn/trunk@12035
2bbb7eff-a529-9590-31e7-
b0007b416f81
vandebo@chromium.org [Wed, 30 Oct 2013 20:48:05 +0000 (20:48 +0000)]
[PDF] Improve complex xfer mode support.
Xfer mode applies only to the shape of the source drawing, not everything in the clip as in currently implemented. It's just that the current gm examples draw a shape that fills the visible layer.
R=edisonn@google.com, reed@google.com
Review URL: https://codereview.appspot.com/
4631078
git-svn-id: http://skia.googlecode.com/svn/trunk@12034
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Wed, 30 Oct 2013 20:45:28 +0000 (20:45 +0000)]
DM: add --rtree.
BUG=
R=epoger@google.com
Author: mtklein@google.com
Review URL: https://codereview.chromium.org/
51243003
git-svn-id: http://skia.googlecode.com/svn/trunk@12033
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Wed, 30 Oct 2013 20:03:16 +0000 (20:03 +0000)]
Don't check if shaders compile or program links in release Chromium
R=robertphillips@google.com
Author: bsalomon@google.com
Review URL: https://codereview.chromium.org/
52843003
git-svn-id: http://skia.googlecode.com/svn/trunk@12032
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Wed, 30 Oct 2013 18:58:03 +0000 (18:58 +0000)]
Exclude verylargebitmap test from replay modes on windows.
BUG=skia:1756
R=epoger@google.com
Author: bsalomon@google.com
Review URL: https://codereview.chromium.org/
52903003
git-svn-id: http://skia.googlecode.com/svn/trunk@12030
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Wed, 30 Oct 2013 18:57:55 +0000 (18:57 +0000)]
Use SkPathRef gen id for SkPath::getGenerationID
R=mtklein@google.com, robertphillips@google.com
Author: bsalomon@google.com
Review URL: https://codereview.chromium.org/
49693002
git-svn-id: http://skia.googlecode.com/svn/trunk@12029
2bbb7eff-a529-9590-31e7-
b0007b416f81
edisonn@google.com [Wed, 30 Oct 2013 18:57:09 +0000 (18:57 +0000)]
Mark GMs that are not preserving the perspective for the canvas passed
Review URL: https://codereview.chromium.org/
52443005
git-svn-id: http://skia.googlecode.com/svn/trunk@12028
2bbb7eff-a529-9590-31e7-
b0007b416f81
edisonn@google.com [Wed, 30 Oct 2013 18:46:31 +0000 (18:46 +0000)]
update results for Nexus4 gms that run in perspespective mode
Review URL: https://codereview.chromium.org/
48623004
git-svn-id: http://skia.googlecode.com/svn/trunk@12026
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Wed, 30 Oct 2013 18:14:29 +0000 (18:14 +0000)]
semi-blindly rebaseline some GM results, keeping them marked as unreviewed
(they were unreviewed in the first place, so there's no particular reason
to think they are either better or worse than they were before)
As discussed live with bsalomon
TBR=bsalomon
Review URL: https://codereview.chromium.org/
53023002
git-svn-id: http://skia.googlecode.com/svn/trunk@12024
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Wed, 30 Oct 2013 17:56:17 +0000 (17:56 +0000)]
rebaseline GM results on Android-IntelRhb and Valgrind bots which were not running for a while
Mostly tiny diffs due to roundrect implementation changes. Also a couple of
GM tests that are known to have changed.
Visually reviewed by bsalomon and epoger
BUG=skia:1771
TBR=bsalomon
Review URL: https://codereview.chromium.org/
52963002
git-svn-id: http://skia.googlecode.com/svn/trunk@12023
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 30 Oct 2013 17:39:43 +0000 (17:39 +0000)]
remove contains(x,y) for rects and rrects ... not well defined, and unused
BUG=
R=robertphillips@google.com
Review URL: https://codereview.chromium.org/
51953003
git-svn-id: http://skia.googlecode.com/svn/trunk@12022
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Wed, 30 Oct 2013 17:04:16 +0000 (17:04 +0000)]
Allow specifying the max texture count on the bots
https://codereview.chromium.org/
50413011/
git-svn-id: http://skia.googlecode.com/svn/trunk@12020
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 30 Oct 2013 15:07:03 +0000 (15:07 +0000)]
prototype for kerning api
BUG=
R=bungeman@google.com
Review URL: https://codereview.chromium.org/
29363009
git-svn-id: http://skia.googlecode.com/svn/trunk@12018
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Wed, 30 Oct 2013 14:09:04 +0000 (14:09 +0000)]
rebaseline_server: report proper URL upon launch
BUG=skia:1767
(SkipBuildbotRuns)
R=jcgregorio@google.com
Review URL: https://codereview.chromium.org/
51353002
git-svn-id: http://skia.googlecode.com/svn/trunk@12016
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 30 Oct 2013 13:41:19 +0000 (13:41 +0000)]
add triangles to fatbits sample ('t')
git-svn-id: http://skia.googlecode.com/svn/trunk@12015
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Wed, 30 Oct 2013 07:01:56 +0000 (07:01 +0000)]
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@12013
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Tue, 29 Oct 2013 22:45:37 +0000 (22:45 +0000)]
Reverting r12010 (Use SkPathRef gen id for SkPath::getGenerationID https://codereview.chromium.org/
49693002) due to test failures in PathTest on Android
git-svn-id: http://skia.googlecode.com/svn/trunk@12012
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Tue, 29 Oct 2013 21:38:54 +0000 (21:38 +0000)]
GM is passing the wrong flag to beginRecording() for --rtree.
BUG=
R=epoger@google.com, reed@google.com
Author: mtklein@google.com
Review URL: https://codereview.chromium.org/
50713004
git-svn-id: http://skia.googlecode.com/svn/trunk@12011
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Tue, 29 Oct 2013 21:34:55 +0000 (21:34 +0000)]
Use SkPathRef gen id for SkPath::getGenerationID
R=mtklein@google.com
Author: bsalomon@google.com
Review URL: https://codereview.chromium.org/
49693002
git-svn-id: http://skia.googlecode.com/svn/trunk@12010
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Tue, 29 Oct 2013 21:08:51 +0000 (21:08 +0000)]
Remove SkMatrix44 float conversions without precision loss
BUG=none
R=reed@google.com
Author: enne@chromium.org
Review URL: https://codereview.chromium.org/
50423004
git-svn-id: http://skia.googlecode.com/svn/trunk@12009
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Tue, 29 Oct 2013 20:44:39 +0000 (20:44 +0000)]
All SkAnnotations are no-draw. Propose we fold that through.
BUG=
R=edisonn@google.com, reed@google.com
Author: mtklein@google.com
Review URL: https://codereview.chromium.org/
48523008
git-svn-id: http://skia.googlecode.com/svn/trunk@12008
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Tue, 29 Oct 2013 20:29:38 +0000 (20:29 +0000)]
Little changes to SkAnnotation in pipe:
- store size in the op data field rather than separately (saves 4 bytes);
- trim out a malloc/memcpy in each of read and write;
- remove unused enum value;
- use the right _unpackOp function;
- make sure we call needOpBytes().
BUG=
R=reed@google.com, scroggo@google.com
Author: mtklein@google.com
Review URL: https://codereview.chromium.org/
50523004
git-svn-id: http://skia.googlecode.com/svn/trunk@12007
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Tue, 29 Oct 2013 19:55:00 +0000 (19:55 +0000)]
Allow SkLazyPixelRef to use SkScaledImageCache
- SkScaledImageCache:
- Add new FindAndLock/AddAndLock variants that work well with
SkLazyPixelRefs (take width, height, generation_id).
- Add static versions of these new variants.
- SkLazyPixelRef:
- If NULL passed in as SkImageCache* in the constructor, it will
now default to using the static SkScaledImageCache methods to
cache decoded images.
- If (fImageCache==NULL), the default allocator can be changed
with the setAllocator method. If (fImageCache!=NULL), the
SkImageCache handles allocation.
- CachedDecodingPixelRefTest to test the new functionality.
BUG=
R=scroggo@google.com, mtklein@google.com, reed@google.com
Author: halcanary@google.com
Review URL: https://codereview.chromium.org/
37343002
git-svn-id: http://skia.googlecode.com/svn/trunk@12006
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Tue, 29 Oct 2013 19:50:39 +0000 (19:50 +0000)]
tests: Provide a default resources path.
This is cuts down noise when running from skia/trunk, where this is the right
path to look in.
BUG=
R=epoger@google.com
Author: mtklein@google.com
Review URL: https://codereview.chromium.org/
51263002
git-svn-id: http://skia.googlecode.com/svn/trunk@12005
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Tue, 29 Oct 2013 19:23:26 +0000 (19:23 +0000)]
Fix pipe/annotation.
We weren't keeping track of the annotation that's on the other side of the pipe.
BUG=skia:1761
R=scroggo@google.com
Author: mtklein@google.com
Review URL: https://codereview.chromium.org/
48273011
git-svn-id: http://skia.googlecode.com/svn/trunk@12004
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Tue, 29 Oct 2013 17:39:09 +0000 (17:39 +0000)]
rebaseline_server: replace TODOs section with link to documentation/roadmap
(SkipBuildbotRuns)
R=bsalomon@google.com
Review URL: https://codereview.chromium.org/
47543008
git-svn-id: http://skia.googlecode.com/svn/trunk@12002
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Tue, 29 Oct 2013 15:49:40 +0000 (15:49 +0000)]
rebaseline_server: allow substring filtering for builder and test
If the user clicks on a particular value for one of these fields, that field's
value will go into the filtering box (so you will only see results matching
that field value).
(SkipBuildbotRuns)
R=borenet@google.com
Review URL: https://codereview.chromium.org/
47423002
git-svn-id: http://skia.googlecode.com/svn/trunk@12000
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Tue, 29 Oct 2013 15:32:09 +0000 (15:32 +0000)]
commit-bot@chromium.org [Tue, 29 Oct 2013 15:02:17 +0000 (15:02 +0000)]
DM: add --quiet
This has been handy when tossing in other SkDebugf's.
BUG=
R=bsalomon@google.com
Author: mtklein@google.com
Review URL: https://codereview.chromium.org/
49323007
git-svn-id: http://skia.googlecode.com/svn/trunk@11998
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Tue, 29 Oct 2013 14:06:15 +0000 (14:06 +0000)]
Don't reuse scratch textures patch
https://codereview.chromium.org/
24222004/
git-svn-id: http://skia.googlecode.com/svn/trunk@11997
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Tue, 29 Oct 2013 13:59:31 +0000 (13:59 +0000)]
Fix bug in erosion filtering
https://codereview.chromium.org/
50813002/
git-svn-id: http://skia.googlecode.com/svn/trunk@11996
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 29 Oct 2013 13:55:29 +0000 (13:55 +0000)]
svndiff for the windows
R=epoger@google.com
Review URL: https://codereview.chromium.org/
49323006
git-svn-id: http://skia.googlecode.com/svn/trunk@11995
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Tue, 29 Oct 2013 07:01:50 +0000 (07:01 +0000)]
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@11992
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Mon, 28 Oct 2013 22:05:41 +0000 (22:05 +0000)]
Fix narrowing conversion errors from r11986
Although this function only gets used for SkMScalar=float, it gets
compiled in when SkMScalar=double.
R=epoger@google.com
BUG=1764
Author: enne@chromium.org
Review URL: https://codereview.chromium.org/
49463005
git-svn-id: http://skia.googlecode.com/svn/trunk@11991
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Mon, 28 Oct 2013 22:05:12 +0000 (22:05 +0000)]
A fix for annoying clang error "unused-const-variabl" in third_party code.
../../third_party/externals/libwebp/src/enc/quant.c:105:23: error: unused variable 'kCoeffThresh' [-Werror,-Wunused-const-variable]
static const uint16_t kCoeffThresh[16] = {
^
1 error generated.
BUG=None
TEST=build with clang, ninja -C out/Debug most.
R=bsalomon@google.com, epoger@google.com, thakis@chromium.org, mtklein@google.com
Author: tfarina@chromium.org
Review URL: https://codereview.chromium.org/
47603012
git-svn-id: http://skia.googlecode.com/svn/trunk@11990
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 28 Oct 2013 21:12:50 +0000 (21:12 +0000)]
rebase msaa4 tests that haven't run in a long time
Review URL: https://codereview.chromium.org/
48183006
git-svn-id: http://skia.googlecode.com/svn/trunk@11989
2bbb7eff-a529-9590-31e7-
b0007b416f81
mtklein@google.com [Mon, 28 Oct 2013 20:40:41 +0000 (20:40 +0000)]
skip android_paint GM in pipe mode
BUG=skia:1763
R=scroggo@google.com
Review URL: https://codereview.chromium.org/
48113010
git-svn-id: http://skia.googlecode.com/svn/trunk@11988
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Mon, 28 Oct 2013 20:21:12 +0000 (20:21 +0000)]
gm/internal_links test: add kSkipPipe_Flag until we fix bug 1761
BUG=skia:1761
TBR=reed
Review URL: https://codereview.chromium.org/
49693004
git-svn-id: http://skia.googlecode.com/svn/trunk@11987
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Mon, 28 Oct 2013 20:20:54 +0000 (20:20 +0000)]
Remove float/double conversions from SkMatrix44's map2_pf
BUG=chromium:303811
R=reed@google.com
Author: enne@chromium.org
Review URL: https://codereview.chromium.org/
37693004
git-svn-id: http://skia.googlecode.com/svn/trunk@11986
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Mon, 28 Oct 2013 19:51:26 +0000 (19:51 +0000)]
DM: add --pipe
internal_links is failing across all three versions. One of the rects doesn't draw.
BUG=
R=epoger@google.com
Author: mtklein@google.com
Review URL: https://codereview.chromium.org/
47773002
git-svn-id: http://skia.googlecode.com/svn/trunk@11985
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Mon, 28 Oct 2013 18:22:19 +0000 (18:22 +0000)]
Whitespace change to pick up buildbot change https://code.google.com/p/skia/source/detail?r=11983
git-svn-id: http://skia.googlecode.com/svn/trunk@11984
2bbb7eff-a529-9590-31e7-
b0007b416f81