platform/upstream/libSkiaSharp.git
10 years agochange benchmark to use surfaces instead of devices to specify its backends
reed@google.com [Tue, 4 Feb 2014 14:02:44 +0000 (14:02 +0000)]
change benchmark to use surfaces instead of devices to specify its backends

BUG=skia:
R=mtklein@google.com

Review URL: https://codereview.chromium.org/153133002

git-svn-id: http://skia.googlecode.com/svn/trunk@13297 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoSanitizing source files in Housekeeper-Nightly
skia.committer@gmail.com [Tue, 4 Feb 2014 03:01:56 +0000 (03:01 +0000)]
Sanitizing source files in Housekeeper-Nightly

git-svn-id: http://skia.googlecode.com/svn/trunk@13296 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoMore bot whack-a-mole: fix Win build.
senorblanco@chromium.org [Tue, 4 Feb 2014 00:28:46 +0000 (00:28 +0000)]
More bot whack-a-mole: fix Win build.

BUG=skia:
TBR=fmalita@chromium.org

Review URL: https://codereview.chromium.org/146073006

git-svn-id: http://skia.googlecode.com/svn/trunk@13295 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoSpeculative build fix after r13292.
fmalita@google.com [Mon, 3 Feb 2014 23:25:32 +0000 (23:25 +0000)]
Speculative build fix after r13292.

TBR=senorblanco@chromium.org

Review URL: https://codereview.chromium.org/153213002

git-svn-id: http://skia.googlecode.com/svn/trunk@13294 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoFix skia_gpu=0 build.
senorblanco@chromium.org [Mon, 3 Feb 2014 22:36:39 +0000 (22:36 +0000)]
Fix skia_gpu=0 build.

BUG=skia:
TBR=bsalomon@google.com

Review URL: https://codereview.chromium.org/132503006

git-svn-id: http://skia.googlecode.com/svn/trunk@13293 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoFix image filter crop offsets for GPU path.
senorblanco@chromium.org [Mon, 3 Feb 2014 22:22:16 +0000 (22:22 +0000)]
Fix image filter crop offsets for GPU path.

This is the GPU-side version of
https://codereview.chromium.org/112803004/.
Also factored the crop offset unit test into a function, so we can
call it with both CPU & GPU devices.

R=bsalomon@google.com

Review URL: https://codereview.chromium.org/153113003

git-svn-id: http://skia.googlecode.com/svn/trunk@13292 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoWhitespace change to test the DownloadSKImageFiles fix.
fmalita@google.com [Mon, 3 Feb 2014 21:50:06 +0000 (21:50 +0000)]
Whitespace change to test the DownloadSKImageFiles fix.

TBR=borenet@google.com
NOTRY=true

Review URL: https://codereview.chromium.org/142093005

git-svn-id: http://skia.googlecode.com/svn/trunk@13291 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agofix script so that the error is actually printed if ant is not installed
commit-bot@chromium.org [Mon, 3 Feb 2014 21:20:09 +0000 (21:20 +0000)]
fix script so that the error is actually printed if ant is not installed

R=scroggo@google.com, hcm@google.com

Author: djsollen@google.com

Review URL: https://codereview.chromium.org/148793003

git-svn-id: http://skia.googlecode.com/svn/trunk@13290 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoremove tools/test_rendering.py and tools/test_pictures.py
commit-bot@chromium.org [Mon, 3 Feb 2014 21:19:04 +0000 (21:19 +0000)]
remove tools/test_rendering.py and tools/test_pictures.py

BUG=skia:2035
R=borenet@google.com

Author: epoger@google.com

Review URL: https://codereview.chromium.org/153083003

git-svn-id: http://skia.googlecode.com/svn/trunk@13289 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoRevert of Use GrConvexPolyEffect when clip is a single convex polygon (https://codere...
bsalomon@google.com [Mon, 3 Feb 2014 20:09:56 +0000 (20:09 +0000)]
Revert of Use GrConvexPolyEffect when clip is a single convex polygon (https://codereview.chromium.org/151523005/)

Reason for revert:
unit tests crashing on windows?

Original issue's description:
> Use GrConvexPolyEffect when clip is a single convex polygon
>
> BUG=skia:2051
>
> Committed: http://code.google.com/p/skia/source/detail?r=13286

TBR=robertphillips@google.com
NOTREECHECKS=true
NOTRY=true
BUG=skia:2051

Review URL: https://codereview.chromium.org/142443006

git-svn-id: http://skia.googlecode.com/svn/trunk@13288 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agorename tracing parameter to be more consistent with other methods
commit-bot@chromium.org [Mon, 3 Feb 2014 19:47:13 +0000 (19:47 +0000)]
rename tracing parameter to be more consistent with other methods

BUG=skia:
R=bsalomon@google.com

Author: humper@google.com

Review URL: https://codereview.chromium.org/136753013

git-svn-id: http://skia.googlecode.com/svn/trunk@13287 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoUse GrConvexPolyEffect when clip is a single convex polygon
commit-bot@chromium.org [Mon, 3 Feb 2014 19:42:42 +0000 (19:42 +0000)]
Use GrConvexPolyEffect when clip is a single convex polygon

BUG=skia:2051
R=robertphillips@google.com

Author: bsalomon@google.com

Review URL: https://codereview.chromium.org/151523005

git-svn-id: http://skia.googlecode.com/svn/trunk@13286 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoAdding int cast to prevent warning
commit-bot@chromium.org [Mon, 3 Feb 2014 19:40:32 +0000 (19:40 +0000)]
Adding int cast to prevent warning

BUG=skia:
R=fmalita@google.com, fmalita@chromium.org, bsalomon@google.com, bsalomon@chromium.org

Author: sugoi@chromium.org

Review URL: https://codereview.chromium.org/149463009

git-svn-id: http://skia.googlecode.com/svn/trunk@13285 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agodon't initialize the default Skia tracer if one has already been provided
commit-bot@chromium.org [Mon, 3 Feb 2014 19:36:20 +0000 (19:36 +0000)]
don't initialize the default Skia tracer if one has already been provided

BUG=skia:
R=bsalomon@google.com

Author: humper@google.com

Review URL: https://codereview.chromium.org/152903005

git-svn-id: http://skia.googlecode.com/svn/trunk@13284 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoclean up a couple of parameters in the tracing interface
commit-bot@chromium.org [Mon, 3 Feb 2014 18:09:32 +0000 (18:09 +0000)]
clean up a couple of parameters in the tracing interface

BUG=skia:
R=bsalomon@google.com

Author: humper@google.com

Review URL: https://codereview.chromium.org/145973011

git-svn-id: http://skia.googlecode.com/svn/trunk@13283 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoInitial QuadTree implementation
commit-bot@chromium.org [Mon, 3 Feb 2014 18:08:33 +0000 (18:08 +0000)]
Initial QuadTree implementation

In an effort to find a faster bounding box hierarchy than the R-Tree, a QuadTree has been implemented here.
For now, the QuadTree construction is generally faster than the R-Tree and the queries are a bit slower, so overall, SKP local tests showed QuadTree performance similar to the R-Tree performance.

Tests and bench are included in this cl.

At this point, I'd like to be able to commit this in order to more easily use the bots to test multiple configurations and a larger number of SKPs. The R-Tree BBH is still used by default so this change shouldn't affect chromium.

BUG=skia:
R=junov@chromium.org, junov@google.com, senorblanco@google.com, senorblanco@chromium.org, reed@google.com, sugoi@google.com, fmalita@google.com

Author: sugoi@chromium.org

Review URL: https://codereview.chromium.org/131343011

git-svn-id: http://skia.googlecode.com/svn/trunk@13282 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoRebaseline imagefiltersgraph_gpu (Test-Mac10.6-MacMini4.1-GeForce320M-x86-Release)
fmalita@google.com [Mon, 3 Feb 2014 17:58:31 +0000 (17:58 +0000)]
Rebaseline imagefiltersgraph_gpu (Test-Mac10.6-MacMini4.1-GeForce320M-x86-Release)

BUG=skia:2118
TBR=senorblanco@chromium.org

Review URL: https://codereview.chromium.org/148283012

git-svn-id: http://skia.googlecode.com/svn/trunk@13281 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agohopefully last set of rebaselines for blurrect
commit-bot@chromium.org [Mon, 3 Feb 2014 15:11:48 +0000 (15:11 +0000)]
hopefully last set of rebaselines for blurrect

BUG=skia:2108
R=epoger@google.com
TBR=epoger

Author: humper@google.com

Review URL: https://codereview.chromium.org/152803002

git-svn-id: http://skia.googlecode.com/svn/trunk@13280 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoAllow GMs to be used as benchmarks. Make convex_poly_clip opt in.
commit-bot@chromium.org [Mon, 3 Feb 2014 14:48:17 +0000 (14:48 +0000)]
Allow GMs to be used as benchmarks. Make convex_poly_clip opt in.

R=reed@google.com

Author: bsalomon@google.com

Review URL: https://codereview.chromium.org/151843002

git-svn-id: http://skia.googlecode.com/svn/trunk@13279 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoWhitespace change to test the new PRESUBMIT authors check
commit-bot@chromium.org [Mon, 3 Feb 2014 14:29:55 +0000 (14:29 +0000)]
Whitespace change to test the new PRESUBMIT authors check

BUG=skia:2072
NOTRY=true
TBR=
(SkipBuildbotRuns)

Author: rmistry@google.com

Review URL: https://codereview.chromium.org/139993010

git-svn-id: http://skia.googlecode.com/svn/trunk@13278 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoCheck if the issue owner is in the AUTHORS file in PRESUBMIT.py
commit-bot@chromium.org [Mon, 3 Feb 2014 14:18:32 +0000 (14:18 +0000)]
Check if the issue owner is in the AUTHORS file in PRESUBMIT.py

BUG=skia:2072
NOTRY=true
(SkipBuildbotRuns)

R=borenet@google.com, hcm@google.com

Author: rmistry@google.com

Review URL: https://codereview.chromium.org/131293005

git-svn-id: http://skia.googlecode.com/svn/trunk@13277 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoFix valgrind issue in SkBase64Test.cpp
robertphillips@google.com [Sat, 1 Feb 2014 15:45:23 +0000 (15:45 +0000)]
Fix valgrind issue in SkBase64Test.cpp

https://codereview.chromium.org/152153002/

git-svn-id: http://skia.googlecode.com/svn/trunk@13276 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoPerformance trigger rebaselines
robertphillips@google.com [Sat, 1 Feb 2014 15:44:30 +0000 (15:44 +0000)]
Performance trigger rebaselines

https://codereview.chromium.org/151833004/

git-svn-id: http://skia.googlecode.com/svn/trunk@13275 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoSanitizing source files in Housekeeper-Nightly
skia.committer@gmail.com [Sat, 1 Feb 2014 03:01:57 +0000 (03:01 +0000)]
Sanitizing source files in Housekeeper-Nightly

git-svn-id: http://skia.googlecode.com/svn/trunk@13274 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoSplit GrUnitTests.cpp into two separate unit tests.
tfarina@chromium.org [Fri, 31 Jan 2014 21:48:52 +0000 (21:48 +0000)]
Split GrUnitTests.cpp into two separate unit tests.

GrUnitTests is too generic. Instead we split this file between the two
APIs being tested there, GrTBSearch and GrBinHashKey.

BUG=None
TEST=tests -m GrTBSearchTest && tests -m GrBinHashKeyTest
R=brian@thesalomons.net, robertphillips@google.com

Review URL: https://codereview.chromium.org/150943002

git-svn-id: http://skia.googlecode.com/svn/trunk@13273 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoadd SkCanvas constructor that explicitly creates no_config with dimensions
commit-bot@chromium.org [Fri, 31 Jan 2014 19:42:58 +0000 (19:42 +0000)]
add SkCanvas constructor that explicitly creates no_config with dimensions

BUG=skia:
R=scroggo@google.com, halcanary@google.com

Author: reed@google.com

Review URL: https://codereview.chromium.org/137833016

git-svn-id: http://skia.googlecode.com/svn/trunk@13272 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoAdding Chromium authors to the AUTHORS file.
commit-bot@chromium.org [Fri, 31 Jan 2014 19:12:43 +0000 (19:12 +0000)]
Adding Chromium authors to the AUTHORS file.

Some Googlers commit code into Skia using their chromium.org accounts.
The Chromium AUTHORS file has a similar entry:
http://src.chromium.org/viewvc/chrome/trunk/src/AUTHORS

(SkipBuildbotRuns)

NOTRY=true
BUG=skia:2072
R=hcm@google.com

Author: rmistry@google.com

Review URL: https://codereview.chromium.org/146853004

git-svn-id: http://skia.googlecode.com/svn/trunk@13271 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoDo not enforce the public API presubmit check for Revert CLs.
commit-bot@chromium.org [Fri, 31 Jan 2014 17:33:04 +0000 (17:33 +0000)]
Do not enforce the public API presubmit check for Revert CLs.

NOTRY=true

BUG=skia:2068
R=borenet@google.com

Author: rmistry@google.com

Review URL: https://codereview.chromium.org/151573002

git-svn-id: http://skia.googlecode.com/svn/trunk@13270 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agofix leaks in SkConf
commit-bot@chromium.org [Fri, 31 Jan 2014 17:32:03 +0000 (17:32 +0000)]
fix leaks in SkConf

These leaks were small and would only happen with non-default
runtime configuration things set, but they were still leaks
and they should be squished.

Valgrind reported leaks pre-patch, and all the rtconf leaks are gone after patch.

BUG=skia:1722
R=reed@google.com

Author: humper@google.com

Review URL: https://codereview.chromium.org/136963004

git-svn-id: http://skia.googlecode.com/svn/trunk@13269 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agorebaselines for https://skia.googlesource.com/skia.git/+/0b9ada1318acf7d5fe90c57331c2...
commit-bot@chromium.org [Fri, 31 Jan 2014 17:05:33 +0000 (17:05 +0000)]
rebaselines for https://skia.googlesource.com/skia.git/+/0b9ada1318acf7d5fe90c57331c2a4548aad8b98

BUG=skia:2113

NOTREECHECKS=True
NOTRY=True
R=epoger@google.com

Author: reed@google.com

Review URL: https://codereview.chromium.org/151623002

git-svn-id: http://skia.googlecode.com/svn/trunk@13268 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoremaining rebaselines for rects GM test
commit-bot@chromium.org [Fri, 31 Jan 2014 16:52:15 +0000 (16:52 +0000)]
remaining rebaselines for rects GM test

BUG=skia:2108
NOTREECHECKS=True
NOTRY=True
R=humper@google.com
TBR=humper

Author: epoger@google.com

Review URL: https://codereview.chromium.org/148483005

git-svn-id: http://skia.googlecode.com/svn/trunk@13267 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoremaining GM rebaselines for blurquickreject and megalooper tests
commit-bot@chromium.org [Fri, 31 Jan 2014 16:47:18 +0000 (16:47 +0000)]
remaining GM rebaselines for blurquickreject and megalooper tests

BUG=skia:2108
NOTREECHECKS=True
NOTRY=True
R=humper@google.com
TBR=humper

Author: epoger@google.com

Review URL: https://codereview.chromium.org/134923007

git-svn-id: http://skia.googlecode.com/svn/trunk@13266 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoHave peek32 return uint32_t& to make it harder to look at more than 4 bytes.
commit-bot@chromium.org [Fri, 31 Jan 2014 16:22:57 +0000 (16:22 +0000)]
Have peek32 return uint32_t& to make it harder to look at more than 4 bytes.

BUG=skia:
R=reed@google.com, robertphillips@google.com

Author: mtklein@google.com

Review URL: https://codereview.chromium.org/145053003

git-svn-id: http://skia.googlecode.com/svn/trunk@13265 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agofix bad gyp file move
commit-bot@chromium.org [Fri, 31 Jan 2014 16:16:22 +0000 (16:16 +0000)]
fix bad gyp file move

BUG=skia:
R=robertphillips@google.com

Author: humper@google.com

Review URL: https://codereview.chromium.org/151353004

git-svn-id: http://skia.googlecode.com/svn/trunk@13264 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoRebase simpleblurroundrect and bleed GMs after GPU blur radius changes.
bsalomon@google.com [Fri, 31 Jan 2014 15:17:34 +0000 (15:17 +0000)]
Rebase simpleblurroundrect and bleed GMs after GPU blur radius changes.

BUG=skia:1998

Review URL: https://codereview.chromium.org/151503005

git-svn-id: http://skia.googlecode.com/svn/trunk@13263 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoAdd GM with convex polygon clips
commit-bot@chromium.org [Fri, 31 Jan 2014 14:48:58 +0000 (14:48 +0000)]
Add GM with convex polygon clips

BUG=skia:2051
R=reed@google.com

Author: bsalomon@google.com

Review URL: https://codereview.chromium.org/136563004

git-svn-id: http://skia.googlecode.com/svn/trunk@13262 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoSet the horizontal scanline to NULL when the vertical one fails
commit-bot@chromium.org [Fri, 31 Jan 2014 14:47:57 +0000 (14:47 +0000)]
Set the horizontal scanline to NULL when the vertical one fails

BUG=skia:
R=robertphillips@google.com

Author: humper@google.com

Review URL: https://codereview.chromium.org/150013004

git-svn-id: http://skia.googlecode.com/svn/trunk@13261 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agorelease the scanline textures in GrRectBlurEffect
commit-bot@chromium.org [Fri, 31 Jan 2014 14:00:58 +0000 (14:00 +0000)]
release the scanline textures in GrRectBlurEffect

BUG=skia:
R=robertphillips@google.com

Author: humper@google.com

Review URL: https://codereview.chromium.org/131163007

git-svn-id: http://skia.googlecode.com/svn/trunk@13260 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoAdd shim for SkOrderedReadBuffer.h too.
commit-bot@chromium.org [Fri, 31 Jan 2014 13:10:05 +0000 (13:10 +0000)]
Add shim for SkOrderedReadBuffer.h too.

Sorry, I specifically looked for this and failed the first time.

BUG=skia:
R=robertphillips@google.com

Author: mtklein@chromium.org

Review URL: https://codereview.chromium.org/151093002

git-svn-id: http://skia.googlecode.com/svn/trunk@13259 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoSanitizing source files in Housekeeper-Nightly
skia.committer@gmail.com [Fri, 31 Jan 2014 03:01:59 +0000 (03:01 +0000)]
Sanitizing source files in Housekeeper-Nightly

git-svn-id: http://skia.googlecode.com/svn/trunk@13258 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agofix auto-delete bug that crept in with new fast blur path; is causing
commit-bot@chromium.org [Fri, 31 Jan 2014 01:00:49 +0000 (01:00 +0000)]
fix auto-delete bug that crept in with new fast blur path; is causing
some of the valgrind errors.

BUG=skia:2111
R=bsalomon@google.com, robertphillips@google.com

Author: humper@google.com

Review URL: https://codereview.chromium.org/148593003

git-svn-id: http://skia.googlecode.com/svn/trunk@13257 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoinitial import of Chrome's trace_event into skia framework
commit-bot@chromium.org [Fri, 31 Jan 2014 00:04:25 +0000 (00:04 +0000)]
initial import of Chrome's trace_event into skia framework

This patch includes a modified version of Chrome's trace_event.h, which provides
tracing macros that can easily integrate into the about://tracing framework.

Currently the macros link to a default implementation of the (narrow) tracing
class SkDefaultEventTracer which does nothing; next step will be to have Chrome
subclass the SkEventTracer with a shim that bolts Skia's trace events to its own,
allowing Skia's trace events to show up in about://tracing.

I've verified that this file builds properly, and when I added a simple scoped
TRACE_EVENT0 to SkCanvas::drawRect, along with some debug prints in the NOP
implementation of tracing, I saw what I expected printed to the screen.

BUG=skia:
R=nduca@chromium.org, reed@google.com, mtklein@google.com, bsalomon@google.com

Author: humper@google.com

Review URL: https://codereview.chromium.org/149563004

git-svn-id: http://skia.googlecode.com/svn/trunk@13256 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoeven more rebaselines for blur
commit-bot@chromium.org [Thu, 30 Jan 2014 23:10:41 +0000 (23:10 +0000)]
even more rebaselines for blur

BUG=skia:2108
R=epoger@google.com

Author: humper@google.com

Review URL: https://codereview.chromium.org/149823003

git-svn-id: http://skia.googlecode.com/svn/trunk@13255 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoPort SkBase64 test to our test driver.
tfarina@chromium.org [Thu, 30 Jan 2014 22:51:42 +0000 (22:51 +0000)]
Port SkBase64 test to our test driver.

BUG=None
TESTS=tests --match SkBase64Test
R=mtklein@google.com, reed@google.com

Review URL: https://codereview.chromium.org/132233060

git-svn-id: http://skia.googlecode.com/svn/trunk@13254 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoSet write buffer flags only in SkWriteBuffer and SkFlatController constructors.
commit-bot@chromium.org [Thu, 30 Jan 2014 22:16:32 +0000 (22:16 +0000)]
Set write buffer flags only in SkWriteBuffer and SkFlatController constructors.

This is a baby step toward refactored (and faster in-process) typeface and flattenable factory encoding and decoding.  The sooner SkWriteBuffer knows its flags, the better.

Next steps will be to rearrange Sk{Read,Write}Buffer members into disjoint strategies to handle typefaces and flattenable factories: one for in-process, one for cross-process, one when validating.

BUG=skia:
R=reed@google.com, scroggo@google.com

Author: mtklein@google.com

Review URL: https://codereview.chromium.org/138803005

git-svn-id: http://skia.googlecode.com/svn/trunk@13253 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoremove (unnecessary) SkScalarMul and SkScalarMulAdd macros from SkMatrix.cpp.
commit-bot@chromium.org [Thu, 30 Jan 2014 22:13:12 +0000 (22:13 +0000)]
remove (unnecessary) SkScalarMul and SkScalarMulAdd macros from SkMatrix.cpp.

SkScalarMulDiv remains, but it can be removed later (though it is slightly clearer to use it at times).

BUG=skia:
R=caryclark@google.com, mtklein@google.com, halcanary@google.com

Author: reed@google.com

Review URL: https://codereview.chromium.org/150493002

git-svn-id: http://skia.googlecode.com/svn/trunk@13252 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoadd_codereview_message script to append messages to a CL
commit-bot@chromium.org [Thu, 30 Jan 2014 22:12:30 +0000 (22:12 +0000)]
add_codereview_message script to append messages to a CL

Add add_codereview_message.py script.  This script takes a message and
a codereview URL as arguments calls `git cl upload` to append the
message to the given codereview issue.

Motivation: We are automating a process of testing Chromium/Skia DEPS
rolls where roll_deps.py is automatically run every night, and then at
a later time, compare_codereview.py is run to generate a report of the
trybot results.  This script can be used to append that report to the
DEPS roll Cl.

This CL also refactors functioanlity common to roll_deps and
add_codereview_message:
*   Add tools/git_utils.py module.
    -   ChangeGitBranch class was factored out of
        roll_deps.GitBranchCLUpload.  The other half of that class
        became roll_deps.git_cl_uploader function.  I make use of
        this new class in both roll_deps and upload_deps_roll.
    -   test_git_executable moved to this new module.
*   Add tools/misc_utils.py - move VerboseSubprocess, ChangeDir,
    and ReSearch classes from roll_deps module.
*   Remove generic functions from roll_deps.
*   Add git_cl_uploader function to roll_deps.  Refactor
    roll_deps.roll_deps function to make use of it

BUG=skia:
R=borenet@google.com, robertphillips@google.com

Author: halcanary@google.com

Review URL: https://codereview.chromium.org/141483011

git-svn-id: http://skia.googlecode.com/svn/trunk@13251 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agomark imageblur_gpu gm tests as ignore-failure on IntelRhb
commit-bot@chromium.org [Thu, 30 Jan 2014 22:08:36 +0000 (22:08 +0000)]
mark imageblur_gpu gm tests as ignore-failure on IntelRhb

BUG=skia:2085
NOTRY=True
R=senorblanco@google.com
TBR=senorblanco

Author: epoger@google.com

Review URL: https://codereview.chromium.org/150813002

git-svn-id: http://skia.googlecode.com/svn/trunk@13250 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoReplace factory generation of TextContexts with persistent objects.
commit-bot@chromium.org [Thu, 30 Jan 2014 22:05:47 +0000 (22:05 +0000)]
Replace factory generation of TextContexts with persistent objects.

BUG=skia:2018
R=bsalomon@google.com

Author: jvanverth@google.com

Review URL: https://codereview.chromium.org/150743002

git-svn-id: http://skia.googlecode.com/svn/trunk@13249 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoremove GM expectations for all ASAN/Valgrind builders
commit-bot@chromium.org [Thu, 30 Jan 2014 22:00:56 +0000 (22:00 +0000)]
remove GM expectations for all ASAN/Valgrind builders

BUG=skia:2112
NOTRY=True
R=borenet@google.com

Author: epoger@google.com

Review URL: https://codereview.chromium.org/140323020

git-svn-id: http://skia.googlecode.com/svn/trunk@13248 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agomore blurrect rebaselines
commit-bot@chromium.org [Thu, 30 Jan 2014 21:07:33 +0000 (21:07 +0000)]
more blurrect rebaselines

BUG=skia:2108
R=epoger@google.com

Author: humper@google.com

Review URL: https://codereview.chromium.org/136813005

git-svn-id: http://skia.googlecode.com/svn/trunk@13247 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agocreate empty expectations for Logan bots
commit-bot@chromium.org [Thu, 30 Jan 2014 19:22:33 +0000 (19:22 +0000)]
create empty expectations for Logan bots

BUG=skia:2107
NOTRY=True
R=borenet@google.com

Author: epoger@google.com

Review URL: https://codereview.chromium.org/150543004

git-svn-id: http://skia.googlecode.com/svn/trunk@13246 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoRefactor read and write buffers.
commit-bot@chromium.org [Thu, 30 Jan 2014 18:58:24 +0000 (18:58 +0000)]
Refactor read and write buffers.

Eliminates SkFlattenable{Read,Write}Buffer, promoting SkOrdered{Read,Write}Buffer
a step each in the hierarchy.

What used to be this:

SkFlattenableWriteBuffer -> SkOrderedWriteBuffer
SkFlattenableReadBuffer  -> SkOrderedReadBuffer
SkFlattenableReadBuffer  -> SkValidatingReadBuffer

is now

SkWriteBuffer
SkReadBuffer -> SkValidatingReadBuffer

Benefits:
  - code is simpler, names are less wordy
  - the generic SkFlattenableFooBuffer code in SkPaint was incorrect; removed
  - write buffers are completely devirtualized, important for record speed

This refactoring was mostly mechanical.  You aren't going to find anything
interesting in files with less than 10 lines changed.

BUG=skia:
R=reed@google.com, scroggo@google.com, djsollen@google.com, mtklein@google.com

Author: mtklein@chromium.org

Review URL: https://codereview.chromium.org/134163010

git-svn-id: http://skia.googlecode.com/svn/trunk@13245 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoSuppress new valgrind complaint
robertphillips@google.com [Thu, 30 Jan 2014 18:51:29 +0000 (18:51 +0000)]
Suppress new valgrind complaint

https://codereview.chromium.org/144853006/

git-svn-id: http://skia.googlecode.com/svn/trunk@13244 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agorebaseline GM changes resulting from fast GPU blur algorithm
commit-bot@chromium.org [Thu, 30 Jan 2014 18:17:06 +0000 (18:17 +0000)]
rebaseline GM changes resulting from fast GPU blur algorithm

BUG=skia:
R=bsalomon@google.com

Author: humper@google.com

Review URL: https://codereview.chromium.org/150493005

git-svn-id: http://skia.googlecode.com/svn/trunk@13243 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoAdd convex polygon rendering effect and GM to test it.
commit-bot@chromium.org [Thu, 30 Jan 2014 18:15:51 +0000 (18:15 +0000)]
Add convex polygon rendering effect and GM to test it.

BUG=skia:2051
R=robertphillips@google.com, jvanverth@google.com

Author: bsalomon@google.com

Review URL: https://codereview.chromium.org/149683004

git-svn-id: http://skia.googlecode.com/svn/trunk@13242 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agorebaseline imagefiltersgraph_gpu GMs on Nexus10
commit-bot@chromium.org [Thu, 30 Jan 2014 17:59:22 +0000 (17:59 +0000)]
rebaseline imagefiltersgraph_gpu GMs on Nexus10

BUG=skia:2106
NOTREECHECKS=True
NOTRY=True
R=bsalomon@google.com
TBR=bsalomon

Author: epoger@google.com

Review URL: https://codereview.chromium.org/150113003

git-svn-id: http://skia.googlecode.com/svn/trunk@13241 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agorebaseline perf because of faster tests after GPU glur changes
commit-bot@chromium.org [Thu, 30 Jan 2014 17:27:45 +0000 (17:27 +0000)]
rebaseline perf because of faster tests after GPU glur changes

BUG=skia:
R=robertphillips@google.com

Author: humper@google.com

Review URL: https://codereview.chromium.org/150563002

git-svn-id: http://skia.googlecode.com/svn/trunk@13240 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoMove GrTextContext to private interface
commit-bot@chromium.org [Thu, 30 Jan 2014 16:41:23 +0000 (16:41 +0000)]
Move GrTextContext to private interface

NOTRY=true
R=bsalomon@google.com, reed@google.com

Author: jvanverth@google.com

Review URL: https://codereview.chromium.org/145073005

git-svn-id: http://skia.googlecode.com/svn/trunk@13239 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agopatch from issue 119343003
commit-bot@chromium.org [Thu, 30 Jan 2014 15:34:43 +0000 (15:34 +0000)]
patch from issue 119343003
compile on 10.6, exclude failing gms

Sorry for making another CL; rebasing ToT on the old one ended up with code in a tangled mess; was easier to start over.

NOTRY=true
R=bsalomon@google.com, epoger@google.com, reed@google.com

Author: humper@google.com

Review URL: https://codereview.chromium.org/148883005

git-svn-id: http://skia.googlecode.com/svn/trunk@13238 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoReland "Add --skip_cpu and --skip_gpu options to tests"
commit-bot@chromium.org [Thu, 30 Jan 2014 15:30:50 +0000 (15:30 +0000)]
Reland "Add --skip_cpu and --skip_gpu options to tests"

NOTRY=true

BUG=skia:2074
R=djsollen@google.com, mtklein@google.com

Author: borenet@google.com

Review URL: https://codereview.chromium.org/135163004

git-svn-id: http://skia.googlecode.com/svn/trunk@13237 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoAdd fallback code for TextContexts that don't support all features
commit-bot@chromium.org [Thu, 30 Jan 2014 15:22:54 +0000 (15:22 +0000)]
Add fallback code for TextContexts that don't support all features

BUG=skia:2018

NOTRY=true
R=bsalomon@google.com, reed@google.com

Author: jvanverth@google.com

Review URL: https://codereview.chromium.org/135683006

git-svn-id: http://skia.googlecode.com/svn/trunk@13236 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoAnd before I forget: Remove UnitTest() method declaration from GrRedBlackTree
tfarina@chromium.org [Thu, 30 Jan 2014 00:58:02 +0000 (00:58 +0000)]
And before I forget: Remove UnitTest() method declaration from GrRedBlackTree

I forgot to remove it while doing r13233
(https://codereview.chromium.org/137423009/)

BUG=None
TEST=tests
TBR=robertphillips@google.com

Review URL: https://codereview.chromium.org/145973010

git-svn-id: http://skia.googlecode.com/svn/trunk@13235 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoGrRedBlackTree test is GPU specific.
tfarina@chromium.org [Thu, 30 Jan 2014 00:28:54 +0000 (00:28 +0000)]
GrRedBlackTree test is GPU specific.

Wrapp the entire file/test in a SK_SUPPORT_GPU.

This should fix the tree breakage.

BUG=None
TEST=tests
TBR=robertphillips@google.com

Review URL: https://codereview.chromium.org/147843006

git-svn-id: http://skia.googlecode.com/svn/trunk@13234 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoReland "Unwrap GrRedBlackTree unit test and use REPORTER_ASSERT()."
tfarina@chromium.org [Wed, 29 Jan 2014 23:56:40 +0000 (23:56 +0000)]
Reland "Unwrap GrRedBlackTree unit test and use REPORTER_ASSERT()."

BUG=None
TEST=tests
R=robertphillips@google.com

Review URL: https://codereview.chromium.org/137423009

git-svn-id: http://skia.googlecode.com/svn/trunk@13233 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoWin8 baselines for displacement GM (razzin' frazzin' --keep-going-on-failure).
senorblanco@chromium.org [Wed, 29 Jan 2014 22:28:26 +0000 (22:28 +0000)]
Win8 baselines for displacement GM (razzin' frazzin' --keep-going-on-failure).

TBR=epoger
BUG=skia:

Review URL: https://codereview.chromium.org/149073008

git-svn-id: http://skia.googlecode.com/svn/trunk@13232 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoNew baselines for displacement GM.
senorblanco@chromium.org [Wed, 29 Jan 2014 21:41:39 +0000 (21:41 +0000)]
New baselines for displacement GM.

This had a new test case added in r12773.

TBR=epoger@google.com
BUG=skia:

Review URL: https://codereview.chromium.org/143263020

git-svn-id: http://skia.googlecode.com/svn/trunk@13231 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoNew baselines for GM tests affected by r13221.
senorblanco@chromium.org [Wed, 29 Jan 2014 20:00:54 +0000 (20:00 +0000)]
New baselines for GM tests affected by r13221.

The following tests were affected:

imagefiltersbase
imagefilterscropped
imagefiltersgraph
imagefiltersscaled
dropshadowimagefilter
offsetimagefilter
spritebitmap
tileimagefilter

TBR=epoger@google.com
BUG=skia:

Review URL: https://codereview.chromium.org/148283008

git-svn-id: http://skia.googlecode.com/svn/trunk@13230 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoRebaslines for https://codereview.chromium.org/23835006/
commit-bot@chromium.org [Wed, 29 Jan 2014 11:48:31 +0000 (11:48 +0000)]
Rebaslines for https://codereview.chromium.org/23835006/

Signed-off-by: Kévin PETIT <kevin.petit@arm.com>
BUG=skia:
R=djsollen@google.com, mtklein@google.com, reed@google.com

Author: kevin.petit.arm@gmail.com

Review URL: https://codereview.chromium.org/137833005

git-svn-id: http://skia.googlecode.com/svn/trunk@13229 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoSanitizing source files in Housekeeper-Nightly
skia.committer@gmail.com [Wed, 29 Jan 2014 07:01:48 +0000 (07:01 +0000)]
Sanitizing source files in Housekeeper-Nightly

git-svn-id: http://skia.googlecode.com/svn/trunk@13228 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoAdd standalone drawText for GrTextContext.
commit-bot@chromium.org [Tue, 28 Jan 2014 22:02:07 +0000 (22:02 +0000)]
Add standalone drawText for GrTextContext.

This unifies the interface between GrBitmapTextContext and
GrDistanceFieldTextContext so that they don't need special case code.
The future GrNVPRTextContext will also use this interface.

BUG=skia:2018
R=bsalomon@google.com, reed@google.com

Author: jvanverth@google.com

Review URL: https://codereview.chromium.org/141863005

git-svn-id: http://skia.googlecode.com/svn/trunk@13227 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agotests: add --veryVerbose / -V
commit-bot@chromium.org [Tue, 28 Jan 2014 21:15:42 +0000 (21:15 +0000)]
tests: add --veryVerbose / -V

BUG=skia:
R=caryclark@google.com

Author: mtklein@google.com

Review URL: https://codereview.chromium.org/135723013

git-svn-id: http://skia.googlecode.com/svn/trunk@13226 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoRemove BOM from SkFontHost_FreeType.cpp.
bungeman@google.com [Tue, 28 Jan 2014 20:33:09 +0000 (20:33 +0000)]
Remove BOM from SkFontHost_FreeType.cpp.

With r12822 a UTF-8 BOM was added to SkFontHost_FreeType.cpp.
This change removes it.

Running

find . -type f \( -name '*.cpp' -o -name '*.h' \) -exec file {} \; | grep BOM

makes it look like this is the only file with a UTF-8 BOM at this time.
The BOM is easily removed with

tail -c +4 <filename>

R=rmistry@google.com

Review URL: https://codereview.chromium.org/141433025

git-svn-id: http://skia.googlecode.com/svn/trunk@13225 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoRevert of Add --skip_cpu and --skip_gpu options to tests (https://codereview.chromium...
commit-bot@chromium.org [Tue, 28 Jan 2014 20:21:23 +0000 (20:21 +0000)]
Revert of Add --skip_cpu and --skip_gpu options to tests (https://codereview.chromium.org/144343004/)

Reason for revert:
Broke tests on Win7 and Mac

Original issue's description:
> Add --skip_cpu and --skip_gpu options to tests
>
> BUG=skia:2074
>
> Committed: http://code.google.com/p/skia/source/detail?r=13223

R=djsollen@google.com, mtklein@google.com
TBR=djsollen@google.com, mtklein@google.com
NOTREECHECKS=true
NOTRY=true
BUG=skia:2074

Author: borenet@google.com

Review URL: https://codereview.chromium.org/148173010

git-svn-id: http://skia.googlecode.com/svn/trunk@13224 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoAdd --skip_cpu and --skip_gpu options to tests
commit-bot@chromium.org [Tue, 28 Jan 2014 20:02:45 +0000 (20:02 +0000)]
Add --skip_cpu and --skip_gpu options to tests

BUG=skia:2074
R=djsollen@google.com, mtklein@google.com

Author: borenet@google.com

Review URL: https://codereview.chromium.org/144343004

git-svn-id: http://skia.googlecode.com/svn/trunk@13223 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoGive correct bounds to SkCanvas's AutoDrawLooper use for filter draws.
senorblanco@chromium.org [Tue, 28 Jan 2014 19:22:35 +0000 (19:22 +0000)]
Give correct bounds to SkCanvas's AutoDrawLooper use for filter draws.

In conjuction with https://codereview.chromium.org/137423005/, this allows the canvas to tighten the bounds passed to saveLayer() only the affected region.

R=reed@google.com
BUG=100703

Review URL: https://codereview.chromium.org/141433017

git-svn-id: http://skia.googlecode.com/svn/trunk@13221 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoClamp negative sigma to 0 in SkDropShadowImageFilter.
senorblanco@chromium.org [Tue, 28 Jan 2014 17:57:26 +0000 (17:57 +0000)]
Clamp negative sigma to 0 in SkDropShadowImageFilter.

This can occur when the matrix includes a perspective transform.

BUG=skia:2094
R=bsalomon@google.com

Review URL: https://codereview.chromium.org/137833004

git-svn-id: http://skia.googlecode.com/svn/trunk@13220 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agochange setAlphaType to not modify the pixelref's genID
reed@google.com [Tue, 28 Jan 2014 16:05:39 +0000 (16:05 +0000)]
change setAlphaType to not modify the pixelref's genID

BUG=skia:
R=bsalomon@google.com, halcanary@google.com

Review URL: https://codereview.chromium.org/137263009

git-svn-id: http://skia.googlecode.com/svn/trunk@13219 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoARM Skia NEON patches - 20 - New improved BitmapProcState code
commit-bot@chromium.org [Tue, 28 Jan 2014 15:18:54 +0000 (15:18 +0000)]
ARM Skia NEON patches - 20 - New improved BitmapProcState code

BitmapProcState: new factorised code

This one basically factorises the clamp and repeat transformations with
some performance improvements. It has the benefit of being faster, much
easier to maintain (nearly three times less code for more work
done :-)), and more complete (all persp transformations weren't optimised
in the previous version).

It also introduces the use of can_truncate_to_fixed_for_decal where
useful.

The effect on benchmarks ranges from a 5% penalty to a 25% gain on a
Cortex-A9 and from a 5% penalty to a 100% gain on a Cortex-A15.

Signed-off-by: Kévin PETIT <kevin.petit@arm.com>
BUG=
R=djsollen@google.com, mtklein@google.com, luisjoseromeroesclusa@hotmail.com, reed@google.com

Author: kevin.petit.arm@gmail.com

Review URL: https://codereview.chromium.org/23835006

git-svn-id: http://skia.googlecode.com/svn/trunk@13218 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoSkGrPixelRef can only reference the subset of the Surface specified by its SkImageInfo
commit-bot@chromium.org [Tue, 28 Jan 2014 15:16:45 +0000 (15:16 +0000)]
SkGrPixelRef can only reference the subset of the Surface specified by its SkImageInfo

BUG=skia:
R=bsalomon@google.com, halcanary@google.com

Author: reed@google.com

Review URL: https://codereview.chromium.org/138143022

git-svn-id: http://skia.googlecode.com/svn/trunk@13217 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoThat's confusing. Make it clear we're working with 3 points == 9 scalars.
commit-bot@chromium.org [Tue, 28 Jan 2014 14:36:52 +0000 (14:36 +0000)]
That's confusing.  Make it clear we're working with 3 points == 9 scalars.

BUG=skia:
R=reed@google.com, mtklein@google.com

Author: mtklein@chromium.org

Review URL: https://codereview.chromium.org/148383009

git-svn-id: http://skia.googlecode.com/svn/trunk@13216 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoRemove nvpr bench_pictures_cfg
commit-bot@chromium.org [Tue, 28 Jan 2014 14:35:51 +0000 (14:35 +0000)]
Remove nvpr bench_pictures_cfg

BUG=skia:2042
R=bsalomon@google.com

Author: borenet@google.com

Review URL: https://codereview.chromium.org/148393002

git-svn-id: http://skia.googlecode.com/svn/trunk@13215 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoSanitizing source files in Housekeeper-Nightly
skia.committer@gmail.com [Tue, 28 Jan 2014 07:01:53 +0000 (07:01 +0000)]
Sanitizing source files in Housekeeper-Nightly

git-svn-id: http://skia.googlecode.com/svn/trunk@13214 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoRevert of Fast blurred rectangles on GPU (https://codereview.chromium.org/119343003/)
commit-bot@chromium.org [Tue, 28 Jan 2014 01:55:24 +0000 (01:55 +0000)]
Revert of Fast blurred rectangles on GPU (https://codereview.chromium.org/119343003/)

Reason for revert:
Two problems:

1. broke compile on Build-Mac10.6-* bots
2. broke GM expectations on many bots

We'll need to examine the GM impact before re-landing.  I can work with you to do this on Tuesday if you like; just IM or email me.

Original issue's description:
> Perform the same analytic blur calculation on the GPU that we do on the CPU.  Results in significant performance gains when using Ganesh to render drop shadows in Chrome.
>
> BUG=
>
> Committed: http://code.google.com/p/skia/source/detail?r=13210

R=bsalomon@google.com, reed@google.com, humper@google.com, rmistry@google.com
TBR=bsalomon@google.com, humper@google.com, reed@google.com
NOTREECHECKS=true
NOTRY=true
BUG=

Author: epoger@google.com

Review URL: https://codereview.chromium.org/140853008

git-svn-id: http://skia.googlecode.com/svn/trunk@13213 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoAdding rmistry for emergency reverts.
commit-bot@chromium.org [Tue, 28 Jan 2014 01:52:49 +0000 (01:52 +0000)]
Adding rmistry for emergency reverts.

(SkipBuildbotRuns)

TBR=
NOTRY=true
NOTREECHECKS=true
BUG=skia:

Author: rmistry@google.com

Review URL: https://codereview.chromium.org/148583005

git-svn-id: http://skia.googlecode.com/svn/trunk@13212 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoAdd the NOTRY command on roll_deps.py
commit-bot@chromium.org [Mon, 27 Jan 2014 22:42:51 +0000 (22:42 +0000)]
Add the NOTRY command on roll_deps.py

Motivation: The current workflow is to submit via `git cl dcommit`.
As we move to automated nightly creation of the DEPS roll CLs, we want
to make it easier for the submitter to speed along a clean roll.

BUG=skia:
R=borenet@google.com, robertphillips@google.com, rmistry@google.com

Author: halcanary@google.com

Review URL: https://codereview.chromium.org/133933009

git-svn-id: http://skia.googlecode.com/svn/trunk@13211 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoPerform the same analytic blur calculation on the GPU that we do on the CPU. Results...
commit-bot@chromium.org [Mon, 27 Jan 2014 22:41:45 +0000 (22:41 +0000)]
Perform the same analytic blur calculation on the GPU that we do on the CPU.  Results in significant performance gains when using Ganesh to render drop shadows in Chrome.

BUG=
R=bsalomon@google.com, reed@google.com

Author: humper@google.com

Review URL: https://codereview.chromium.org/119343003

git-svn-id: http://skia.googlecode.com/svn/trunk@13210 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoRevert of Unwrap GrRedBlackTree unit test and use REPORTER_ASSERT(). (https://coderev...
commit-bot@chromium.org [Mon, 27 Jan 2014 21:54:18 +0000 (21:54 +0000)]
Revert of Unwrap GrRedBlackTree unit test and use REPORTER_ASSERT(). (https://codereview.chromium.org/147713002/)

Reason for revert:
broke http://108.170.217.252:10115/builders/Build-Mac10.8-Clang-x86_64-Release/builds/2908/steps/Retry_BuildTests/logs/stdio and other builders:

GrRedBlackTreeTest.cpp:24:36: error: use of undeclared identifier 'xi'

Original issue's description:
> Unwrap GrRedBlackTree unit test and use REPORTER_ASSERT().
>
> This fixes the mtklein's TODO in GrUnitTests.cpp.
>
> BUG=None
> TEST=out/Debug/tests
> R=mtklein@google.com, robertphillips@google.com
>
> Committed: https://code.google.com/p/skia/source/detail?r=13208

R=mtklein@google.com, robertphillips@google.com, reed@google.com, tfarina@chromium.org
TBR=mtklein@google.com, reed@google.com, robertphillips@google.com, tfarina@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=None

Author: epoger@google.com

Review URL: https://codereview.chromium.org/148653002

git-svn-id: http://skia.googlecode.com/svn/trunk@13209 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoUnwrap GrRedBlackTree unit test and use REPORTER_ASSERT().
tfarina@chromium.org [Mon, 27 Jan 2014 21:40:14 +0000 (21:40 +0000)]
Unwrap GrRedBlackTree unit test and use REPORTER_ASSERT().

This fixes the mtklein's TODO in GrUnitTests.cpp.

BUG=None
TEST=out/Debug/tests
R=mtklein@google.com, robertphillips@google.com

Review URL: https://codereview.chromium.org/147713002

git-svn-id: http://skia.googlecode.com/svn/trunk@13208 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoImplement a computeFastBounds() traversal for SkImageFilter.
senorblanco@chromium.org [Mon, 27 Jan 2014 21:03:17 +0000 (21:03 +0000)]
Implement a computeFastBounds() traversal for SkImageFilter.

This allows for correct culling of primitives which have image filters applied.

R=reed@google.com
BUG=skia:

Review URL: https://codereview.chromium.org/137423005

git-svn-id: http://skia.googlecode.com/svn/trunk@13207 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agomove getAdvancedTypefaceMetrics into private, as only skia internals call it
reed@google.com [Mon, 27 Jan 2014 21:02:14 +0000 (21:02 +0000)]
move getAdvancedTypefaceMetrics into private, as only skia internals call it

BUG=skia:
R=bungeman@google.com, vandebo@chromium.org

Review URL: https://codereview.chromium.org/148583002

git-svn-id: http://skia.googlecode.com/svn/trunk@13206 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoTrying once again to rebaseline IntelRhb bots.
senorblanco@chromium.org [Mon, 27 Jan 2014 20:47:11 +0000 (20:47 +0000)]
Trying once again to rebaseline IntelRhb bots.

This seems to be putting the hashes back to what they were at r13191, so if this doesn't work I'm going to call flake and suppress the failures.

TBR=epoger@google.com

Review URL: https://codereview.chromium.org/148573003

git-svn-id: http://skia.googlecode.com/svn/trunk@13205 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoEnsure SSE2/3 is always enabled on Android.
commit-bot@chromium.org [Mon, 27 Jan 2014 20:41:03 +0000 (20:41 +0000)]
Ensure SSE2/3 is always enabled on Android.

R=mtklein@google.com, reed@google.com

Author: djsollen@google.com

Review URL: https://codereview.chromium.org/132883008

git-svn-id: http://skia.googlecode.com/svn/trunk@13204 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoRevert "Revert of Workaround for assertion in NVPR config in bench. (https://coderevi...
commit-bot@chromium.org [Mon, 27 Jan 2014 19:52:51 +0000 (19:52 +0000)]
Revert "Revert of Workaround for assertion in NVPR config in bench. (https://codereview.chromium.org/131503007/)"

add SK_SUPPORT_GPU check

BUG=skia:2042

TBR=robertphillips@google.com

Author: bsalomon@google.com

Review URL: https://codereview.chromium.org/148173005

git-svn-id: http://skia.googlecode.com/svn/trunk@13203 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoRevert "Revert of nvpr baselines (https://codereview.chromium.org/132333008/)"
commit-bot@chromium.org [Mon, 27 Jan 2014 19:45:02 +0000 (19:45 +0000)]
Revert "Revert of nvpr baselines (https://codereview.chromium.org/132333008/)"

BUG=skia:2042

TBR=robertphillips@google.com

Author: bsalomon@google.com

Review URL: https://codereview.chromium.org/131513012

git-svn-id: http://skia.googlecode.com/svn/trunk@13202 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoRebaseline imageblur on IntelRhb Debug.
senorblanco@chromium.org [Mon, 27 Jan 2014 18:15:49 +0000 (18:15 +0000)]
Rebaseline imageblur on IntelRhb Debug.

TBR=epoger@google.com
BUG=skia:

Review URL: https://codereview.chromium.org/148263004

git-svn-id: http://skia.googlecode.com/svn/trunk@13201 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoroll_deps.py: Make default_bots_list a module-level variable
borenet@google.com [Mon, 27 Jan 2014 18:08:55 +0000 (18:08 +0000)]
roll_deps.py: Make default_bots_list a module-level variable

This allows us to import the script rather than run it in a sub-shell.

BUG=skia:
R=halcanary@google.com

Review URL: https://codereview.chromium.org/140973003

git-svn-id: http://skia.googlecode.com/svn/trunk@13200 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoRevert of Workaround for assertion in NVPR config in bench. (https://codereview.chrom...
commit-bot@chromium.org [Mon, 27 Jan 2014 18:06:03 +0000 (18:06 +0000)]
Revert of Workaround for assertion in NVPR config in bench. (https://codereview.chromium.org/131503007/)

Reason for revert:
broke the build.

Original issue's description:
> Workaround for assertion in NVPR config in bench.
>
> BUG=skia:2078
>
> Committed: http://code.google.com/p/skia/source/detail?r=13196

R=robertphillips@google.com
TBR=robertphillips@google.com
NOTREECHECKS=true
NOTRY=true
BUG=skia:2078

Author: bsalomon@google.com

Review URL: https://codereview.chromium.org/148473002

git-svn-id: http://skia.googlecode.com/svn/trunk@13199 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoRevert of nvpr baselines (https://codereview.chromium.org/132333008/)
commit-bot@chromium.org [Mon, 27 Jan 2014 18:05:21 +0000 (18:05 +0000)]
Revert of nvpr baselines (https://codereview.chromium.org/132333008/)

Reason for revert:
broke the build

Original issue's description:
> nvpr baselines
>
> BUG=skia:2042
>
> Committed: https://code.google.com/p/skia/source/detail?r=13195

TBR=
NOTREECHECKS=true
NOTRY=true
BUG=skia:2042

Author: bsalomon@google.com

Review URL: https://codereview.chromium.org/148013003

git-svn-id: http://skia.googlecode.com/svn/trunk@13198 2bbb7eff-a529-9590-31e7-b0007b416f81

10 years agoNew baselines for Win7 DirectWrite (shader2 and bezier_conic) and Intel Rhb (imagefil...
senorblanco@chromium.org [Mon, 27 Jan 2014 17:51:12 +0000 (17:51 +0000)]
New baselines for Win7 DirectWrite (shader2 and bezier_conic) and Intel Rhb (imagefiltersbase and imageblur). All failures are pixel intensity mismatch <= 3.

BUG=skia:2085,skia:2081
TBR=epoger@google.com

Review URL: https://codereview.chromium.org/138623007

git-svn-id: http://skia.googlecode.com/svn/trunk@13197 2bbb7eff-a529-9590-31e7-b0007b416f81