platform/upstream/libSkiaSharp.git
8 years agoMore cleanup in the Vulkan viewer
jvanverth [Fri, 8 Apr 2016 19:51:45 +0000 (12:51 -0700)]
More cleanup in the Vulkan viewer

* add animation support for GMs
* don't load all SkPictures at start, only as needed
* don't update constantly, only for animation or stats
* hide/show stats
* scale slides up/down

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1873733003

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

8 years agoFix race condition in SkROBuffer.
reed [Fri, 8 Apr 2016 19:47:14 +0000 (12:47 -0700)]
Fix race condition in SkROBuffer.

SkBufferBlock::fUsed may be updated by the writer while a reader is
attempting to read it.

BUG=chromium:601578
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1872853002

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

8 years agoSerialize invNormRotation in SkLightingShader.
mtklein [Fri, 8 Apr 2016 19:19:50 +0000 (12:19 -0700)]
Serialize invNormRotation in SkLightingShader.

This fixes a serialize-8888 / 8888 GM mismatch.

This requires a picture bump so we know not to bother trying to read the
invNormRotation vector from older .SKPs.   Any chance no one's ever made
one?

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1870443002

Just bumping the picture version.
TBR=reed@google.com

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

8 years agoUpgrade SkSpecialImage to have getTextureRef & getROPixels entry points
robertphillips [Fri, 8 Apr 2016 19:10:42 +0000 (12:10 -0700)]
Upgrade SkSpecialImage to have getTextureRef & getROPixels entry points

This more closely aligns the SkSpecialImage API with the SkImage API. In doing so it allows the image filters to handle SkImages that can sneak through while remaining encoded (e.g., if an input filter just returns a wrapped version of the source SkImage)

GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1861643003

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

8 years agoSkPDF: Fix links to be more valid PDF/A
halcanary [Fri, 8 Apr 2016 17:51:05 +0000 (10:51 -0700)]
SkPDF: Fix links to be more valid PDF/A

See:
  https://github.com/veraPDF/veraPDF-validation-profiles/wiki/PDFA-Parts-2-and-3-rules#rule-632-1
  https://github.com/veraPDF/veraPDF-validation-profiles/wiki/PDFA-Parts-2-and-3-rules#rule-632-2

BUG=skia:3010
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1867003004

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

8 years agoSkPDF: fix pessimizing-move in PDFA code
halcanary [Fri, 8 Apr 2016 16:55:20 +0000 (09:55 -0700)]
SkPDF: fix pessimizing-move in PDFA code

GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1863393004

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

8 years agoIncrease request cache size.
bungeman [Fri, 8 Apr 2016 15:57:00 +0000 (08:57 -0700)]
Increase request cache size.

BUG=chromium:424082
See comment #63.

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

8 years agoUpdate MatrixConvolutionImageFilter to sk_sp
robertphillips [Fri, 8 Apr 2016 15:01:20 +0000 (08:01 -0700)]
Update MatrixConvolutionImageFilter to sk_sp

TBR=reed@google.com

GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1869833002

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

8 years agoAdd slides to VulkanViewer
jvanverth [Fri, 8 Apr 2016 14:24:09 +0000 (07:24 -0700)]
Add slides to VulkanViewer

Adds SKP loading, matching, and moving backwards as well as forwards
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1873543003

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

8 years agoTest CTFonts for equality, not just name and style.
bungeman [Fri, 8 Apr 2016 14:22:29 +0000 (07:22 -0700)]
Test CTFonts for equality, not just name and style.

The current code looks up CTFonts from descriptors by just name and style.
This is not sufficient, for example Avenir Book and Avenir Roman have the
same family name but the same basic style, but are obviously not the same.

BUG=skia:5162
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1860993004

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

8 years agoConvert SkRefCnt to std::atomic.
bungeman [Fri, 8 Apr 2016 13:58:51 +0000 (06:58 -0700)]
Convert SkRefCnt to std::atomic.

This enables removing the more complicated atomic shims from SkAtomics.h.

TBR=reed
This doesn't actually change any API.

CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-TSAN-Trybot,Test-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-TSAN-Trybot

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

8 years agoAdd specialized rgba8888 unit sampler.
herb [Fri, 8 Apr 2016 13:49:59 +0000 (06:49 -0700)]
Add specialized rgba8888 unit sampler.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1868723003

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

8 years agoDecouple contrast boost from fake gamma.
brianosman [Fri, 8 Apr 2016 13:47:54 +0000 (06:47 -0700)]
Decouple contrast boost from fake gamma.

Replace FakeGamma with FontWeightFlags. Largely mechanical, except for
the changes in ignorePreBlend. With this change, text GMs generally look
the same (or at least more similar) in 8888/srgb/gpu/gpusrgb configs.

No public API changes.
TBR=reed@google.com

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1866293003

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

8 years agoMore valgrind appeasement
robertphillips [Fri, 8 Apr 2016 12:24:21 +0000 (05:24 -0700)]
More valgrind appeasement

BUG=skia:5164
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1867973004

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

8 years agoUpdate Skia milestone to 52
hcm [Fri, 8 Apr 2016 05:58:19 +0000 (22:58 -0700)]
Update Skia milestone to 52

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1868893003

TBR=reed@google.com

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

8 years agoRevert of For *ToFixed, in debug mode, assert that the value is in range. (patchset...
fmalita [Fri, 8 Apr 2016 02:27:45 +0000 (19:27 -0700)]
Revert of For *ToFixed, in debug mode, assert that the value is in range. (patchset #6 id:140001 of https://codereview.chromium.org/1824733002/ )

Reason for revert:
Asserts in Blink rolls:

https://storage.googleapis.com/chromium-layout-test-archives/linux_blink_rel/84520/layout-test-results/results.html

STDERR: [1:1:0407/120919:1455366829:INFO:SkFixed.h(88)] ../../third_party/skia/include/private/SkFixed.h:88: fatal error: ""truncf(x * (1 << 16)) == static_cast<float>

Original issue's description:
> For *ToFixed, in debug mode, assert that the value is in range.
>
> Use SkFloatPinToFixed in SkTwoPointConicalGradient.cpp because it is failing in DM. fmalita is working on replacing this code with the 4f version, so I'm not bothering to fix it. (The beginnings of a real fix are in https://codereview.chromium.org/1767163003, which I do not plan to commit.)
>
> BUG=skia:4632
> GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1824733002
>
> Committed: https://skia.googlesource.com/skia/+/93dc33972cd6a418e84270298b856d2de08d9c1c

TBR=mtklein@google.com,reed@google.com,benjaminwagner@google.com
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:4632

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

8 years agoTrack GL buffer state based on unique resource ID
cdalton [Fri, 8 Apr 2016 01:13:29 +0000 (18:13 -0700)]
Track GL buffer state based on unique resource ID

Reworks GrGLGpu to track GL buffer state based on the unique
GrGpuResource ID. This eliminates the need to notify the gpu object
whenever a buffer is deleted.

This change also allows us to remove the type specifier from GrBuffer.
At this point a buffer is just a chunk of memory, and the type
given at creation time is just a suggestion to the GL backend about
which target to bind to for updates.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1854283004

Committed: https://skia.googlesource.com/skia/+/deacc97bc63513b5eacaf21f858727f6e8b98ce5

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

8 years agoadd header guard to SkPM4fPriv.h to prevent accidental multiple inclusion
lsalzman [Thu, 7 Apr 2016 21:04:32 +0000 (14:04 -0700)]
add header guard to SkPM4fPriv.h to prevent accidental multiple inclusion

This works around some issues with Firefox's unified sources build system.

BUG=skia:5173
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1869613003

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

8 years agoLimit the size of descriptor pools in vulkan
egdaniel [Thu, 7 Apr 2016 20:49:01 +0000 (13:49 -0700)]
Limit the size of descriptor pools in vulkan

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1867973002

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

8 years ago[4fGradient] Veto blitters for non-opaque paints
fmalita [Thu, 7 Apr 2016 20:16:13 +0000 (13:16 -0700)]
[4fGradient] Veto blitters for non-opaque paints

The current blitters don't support SrcOver, so we must ensure the colors
are opaque.  Checking shader.colorsAreOpaque() is not enough as it
doesn't reflect the paint alpha.

Instead we should check for context flags & kOpaqueAlpha_Flag, which is
only set when both the color stops AND the paint are opaque.

R=reed@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1870773002

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

8 years agoSkPDF Fix PDF/A to be more valid
halcanary [Thu, 7 Apr 2016 19:34:59 +0000 (12:34 -0700)]
SkPDF Fix PDF/A to be more valid

Some produced PDFs are recognized by veraPDF 0.13.2
(http://verapdf.org/software/) as valid PDF/A-2B.

BUG=skia:4535

GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1864173004

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

8 years agoSome more improvements/fixes to the VulkanViewer
jvanverth [Thu, 7 Apr 2016 18:09:51 +0000 (11:09 -0700)]
Some more improvements/fixes to the VulkanViewer

* display GM name in title bar
* add ms timer for update loop
* add ms/frame meter
* fix vsync
* add some notes for later

GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1873453002

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

8 years agoAdd support for pyadb to setup_adb.sh
kjlubick [Thu, 7 Apr 2016 17:57:27 +0000 (10:57 -0700)]
Add support for pyadb to setup_adb.sh

BUG=skia:5156
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1869813002

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

8 years agoFix a bunch of memory issues in Vulkan
egdaniel [Thu, 7 Apr 2016 17:17:47 +0000 (10:17 -0700)]
Fix a bunch of memory issues in Vulkan

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1867883002

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

8 years agoFor *ToFixed, in debug mode, assert that the value is in range.
benjaminwagner [Thu, 7 Apr 2016 16:52:19 +0000 (09:52 -0700)]
For *ToFixed, in debug mode, assert that the value is in range.

Use SkFloatPinToFixed in SkTwoPointConicalGradient.cpp because it is failing in DM. fmalita is working on replacing this code with the 4f version, so I'm not bothering to fix it. (The beginnings of a real fix are in https://codereview.chromium.org/1767163003, which I do not plan to commit.)

BUG=skia:4632
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1824733002

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

8 years agoAdd pinned versions of *ToFixed.
benjaminwagner [Thu, 7 Apr 2016 16:23:11 +0000 (09:23 -0700)]
Add pinned versions of *ToFixed.

BUG=skia:4632
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1707023002

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

8 years agoAppease valgrind wrt testing code initialization
robertphillips [Thu, 7 Apr 2016 16:01:20 +0000 (09:01 -0700)]
Appease valgrind wrt testing code initialization

The new swarming valgrind bot appears to be higher maintenance. These changes seem harmless and will, hopefully, unblock the bot.

TBR=bsalomon@google.com

https://build.chromium.org/p/client.skia.fyi/builders/Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-SwarmingValgrind/builds/57

BUG=skia:5164
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1867053002

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

8 years agoSkPDF: fix PDF/A
halcanary [Thu, 7 Apr 2016 15:56:15 +0000 (08:56 -0700)]
SkPDF:  fix PDF/A

TODO: get a bot to start testing this.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1864163004

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

8 years agoReverse dependency between SkScalar.h and SkFixed.h.
benjaminwagner [Thu, 7 Apr 2016 15:49:31 +0000 (08:49 -0700)]
Reverse dependency between SkScalar.h and SkFixed.h.

The following are unused in Chromium, Android, Mozilla, and Google3:
 - SkFixedToScalar
 - SkScalarToFixed

The following are additionally unused in Skia:
 - SkStrAppendFixed
 - SkWriteBuffer::writeFixed

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1841123002

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

8 years agoRevert conversion of SkColorFilterImageFilter to new API
robertphillips [Thu, 7 Apr 2016 15:10:45 +0000 (08:10 -0700)]
Revert conversion of SkColorFilterImageFilter to new API

BUG=598028

GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1864263002

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

8 years agoUse a faster repeat tiler when translate only matrix.
herb [Thu, 7 Apr 2016 14:56:12 +0000 (07:56 -0700)]
Use a faster repeat tiler when translate only matrix.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1861253003

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

8 years agoFix vulkan layer callback bug
egdaniel [Thu, 7 Apr 2016 14:51:22 +0000 (07:51 -0700)]
Fix vulkan layer callback bug

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1870673002

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

8 years agoUpdate MagnifierImageFilter to sk_sp
robertphillips [Thu, 7 Apr 2016 14:34:15 +0000 (07:34 -0700)]
Update MagnifierImageFilter to sk_sp

TBR=reed@google.com

GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1864843002

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

8 years agosRGB text fake-gamma progress:
brianosman [Thu, 7 Apr 2016 13:25:45 +0000 (06:25 -0700)]
sRGB text fake-gamma progress:

Determine if we should use fake-gamma based on the render target format
and paint parameters (ie will gamma-correct blending happen?). Plumb that
down to the appropriate places in the bitmap text rendering for now.

Still need to alter the behavior of the DF text renderer (using the same
cue, most likely?). Also, this still doesn't account for the contrast
hack. The end result of this change is a pleasant normalizing of weight
when viewing text in the gpusrgb config. (Dark text gets heavier, light
text gets lighter).

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1865953003

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

8 years agoRevert of Track GL buffer state based on unique resource ID (patchset #6 id:100001...
mtklein [Thu, 7 Apr 2016 01:24:34 +0000 (18:24 -0700)]
Revert of Track GL buffer state based on unique resource ID (patchset #6 id:100001 of https://codereview.chromium.org/1854283004/ )

Reason for revert:
Chrome roll's broken, seems to be missing fTarget:

https://codereview.chromium.org/1861473005

Original issue's description:
> Track GL buffer state based on unique resource ID
>
> Reworks GrGLGpu to track GL buffer state based on the unique
> GrGpuResource ID. This eliminates the need to notify the gpu object
> whenever a buffer is deleted.
>
> This change also allows us to remove the type specifier from GrBuffer.
> At this point a buffer is just a chunk of memory, and the type
> given at creation time is just a suggestion to the GL backend about
> which target to bind to for updates.
>
> BUG=skia:
> GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1854283004
>
> Committed: https://skia.googlesource.com/skia/+/deacc97bc63513b5eacaf21f858727f6e8b98ce5

TBR=bsalomon@google.com,jvanverth@google.com,cdalton@nvidia.com
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:

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

8 years agoMark webps as sRGB
msarett [Wed, 6 Apr 2016 22:45:41 +0000 (15:45 -0700)]
Mark webps as sRGB

This may cause some diffs in Gold.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1838603002

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

8 years agoFix lazy coding in ViaSingletonPictures.
mtklein [Wed, 6 Apr 2016 22:01:57 +0000 (15:01 -0700)]
Fix lazy coding in ViaSingletonPictures.

I was using SkRect::MakeLargest() as bounds, which is sort of nutso,
as that clearly is way out of bounds for how big a picture can feasibly
be, i.e. something closer to SkIRect::MakeLargest().

This was causing spurious quick rejects in drawPatch().  I didn't really
look much deeper to figure out why.  It's easy enough to just feed it the
proper bounds of the entire content.

This means patch_primitive draws correctly in sp-8888 mode.
I also noticed the GM was too small... it clipped off most of its content.
So I've made it larger.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1865143002

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

8 years agoTrack GL buffer state based on unique resource ID
cdalton [Wed, 6 Apr 2016 21:26:33 +0000 (14:26 -0700)]
Track GL buffer state based on unique resource ID

Reworks GrGLGpu to track GL buffer state based on the unique
GrGpuResource ID. This eliminates the need to notify the gpu object
whenever a buffer is deleted.

This change also allows us to remove the type specifier from GrBuffer.
At this point a buffer is just a chunk of memory, and the type
given at creation time is just a suggestion to the GL backend about
which target to bind to for updates.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1854283004

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

8 years agopath_stroke_with_zero_length: turn off drawFat() by default.
mtklein [Wed, 6 Apr 2016 21:25:35 +0000 (14:25 -0700)]
path_stroke_with_zero_length: turn off drawFat() by default.

The replay modes cannot readback, and so cannot draw the fat parts, which
means we've had to exempt them from checking that they draw identically.

I don't mind if we leave it alone, but I thought I'd check to see your opinion.

BUG=skia:4095
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1862113004

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

8 years agoMake existing unit tests only run on GL contexts
bsalomon [Wed, 6 Apr 2016 21:02:39 +0000 (14:02 -0700)]
Make existing unit tests only run on GL contexts

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1869503002

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

8 years agoalternate textblobgeometrychange fix... just make our own surface if needed
mtklein [Wed, 6 Apr 2016 20:57:38 +0000 (13:57 -0700)]
alternate textblobgeometrychange fix... just make our own surface if needed

This should decopple fixing the replay modes from revising the API.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1868553005

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

8 years agoSwitch uniforms to be descriptor set 0 in Vulkan
egdaniel [Wed, 6 Apr 2016 20:47:08 +0000 (13:47 -0700)]
Switch uniforms to be descriptor set 0 in Vulkan

This (plus some cleanup) gives us some minor perf gains and as a side effect
the perf debug layer no longer complains when we bind certain descriptor sets.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1864303002

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

8 years agoFix null context GenBuffers
cdalton [Wed, 6 Apr 2016 20:36:38 +0000 (13:36 -0700)]
Fix null context GenBuffers

Fixes the null context to not return 0 for GenBuffers.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1863923003

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

8 years agoRemove conditional flavor text on blend GM.
mtklein [Wed, 6 Apr 2016 19:42:48 +0000 (12:42 -0700)]
Remove conditional flavor text on blend GM.

This was breaking replay modes for no good reason.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1864253002

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

8 years agoRegister SkLocalMatrixImageFilter for serialization.
mtklein [Wed, 6 Apr 2016 19:27:07 +0000 (12:27 -0700)]
Register SkLocalMatrixImageFilter for serialization.

This fixes one of the zillions of serialize-8888 backlisted tests.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1868453003

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

8 years agoClean up input handling in VulkanViewer
jvanverth [Wed, 6 Apr 2016 19:08:51 +0000 (12:08 -0700)]
Clean up input handling in VulkanViewer

Sets up proper handling of characters and keycodes, and event modifiers.
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1865553005

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

8 years agoMore iOS swarming bot fixes
borenet [Wed, 6 Apr 2016 18:38:55 +0000 (11:38 -0700)]
More iOS swarming bot fixes

- Copy the packaged app into xcodebuild/...
- Isolate ios/bin directory

BUG=skia:5155
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1860333002

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

8 years agoAlter dm_flags.py logic flow for certain configs to be subtractive
bsalomon [Wed, 6 Apr 2016 16:22:36 +0000 (09:22 -0700)]
Alter dm_flags.py logic flow for certain configs to be subtractive

Replace msaa4 on Shield Tablet with glmsaa4.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1868473003

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

8 years agocubic stroke fix
caryclark [Wed, 6 Apr 2016 15:54:06 +0000 (08:54 -0700)]
cubic stroke fix

Normally parallel tangents means that the stroke can
be represented with a line. But looping cubics can
have parallel tangents if the loop is 180 degrees.

Check to see if the tangents direction is opposite
to subdivide further.

R=reed@google.com
BUG=skia:5099
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1862753002

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

8 years agoUpdate DropShadowImageFilter to sk_sp
robertphillips [Wed, 6 Apr 2016 15:40:59 +0000 (08:40 -0700)]
Update DropShadowImageFilter to sk_sp

TBR=reed@google.com

GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1861843002

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

8 years agoAdd exclusion for keymobi_shop_mobileweb_ebay_com.skp on N5
bsalomon [Wed, 6 Apr 2016 15:35:15 +0000 (08:35 -0700)]
Add exclusion for keymobi_shop_mobileweb_ebay_com.skp on N5

BUG=skia:5178
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1857123005

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

8 years agoUpdate DownSampleImageFilter to sk_sp
robertphillips [Wed, 6 Apr 2016 14:44:01 +0000 (07:44 -0700)]
Update DownSampleImageFilter to sk_sp

TBR=reed@google.com

GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1864583005

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

8 years agoSkSurfaceProps now has a gamma-correct ("AllowSRGBInputs") flag. That's propagated...
brianosman [Wed, 6 Apr 2016 14:38:23 +0000 (07:38 -0700)]
SkSurfaceProps now has a gamma-correct ("AllowSRGBInputs") flag. That's propagated in a few places so that the backend can do the right thing for L32 vs S32 mode.

Also added SkSurfaceProps to SkSpecialImage, so that Image -> Surface conversion can preserve the desired behavior during filtering.

Many small changes, including a bunch of comments about places where we may be losing information right now. My approach was to ensure that if anything fails, it will always fall back to "legacy" mode - gamma-correctness is opt-in, so I'll just have to feed things through as missing cases are exposed.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1838953007

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

8 years agoAdd mipmap procs for F16 format.
brianosman [Wed, 6 Apr 2016 14:32:08 +0000 (07:32 -0700)]
Add mipmap procs for F16 format.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1831353002

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

8 years agoEnable RAW codec for Windows
yujieqin [Wed, 6 Apr 2016 13:47:15 +0000 (06:47 -0700)]
Enable RAW codec for Windows

BUG=skia:4890 b/26973157
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1853093002

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

8 years agoAnother NDK release. Still just bug fixes.
mtklein [Wed, 6 Apr 2016 13:12:01 +0000 (06:12 -0700)]
Another NDK release.  Still just bug fixes.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1864073002

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

8 years agoFirst pass at VulkanViewer
jvanverth [Wed, 6 Apr 2016 13:08:59 +0000 (06:08 -0700)]
First pass at VulkanViewer

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1848833005

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

8 years ago"Fix" compiler issue in SkRandomScalerContext
robertphillips [Tue, 5 Apr 2016 23:55:41 +0000 (16:55 -0700)]
"Fix" compiler issue in SkRandomScalerContext

BUG=skia:5164
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1862643002

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

8 years agoUpdate SkMatrixImageFilter to sk_sp
robertphillips [Tue, 5 Apr 2016 22:09:00 +0000 (15:09 -0700)]
Update SkMatrixImageFilter to sk_sp

TBR=reed@google.com

GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1858353002

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

8 years agoGet back on mainline libpng 1.6 now that 3bpp perf patches are merged.
mtklein [Tue, 5 Apr 2016 20:46:00 +0000 (13:46 -0700)]
Get back on mainline libpng 1.6 now that 3bpp perf patches are merged.

Checked manually in Instruments that we're still running our SSE filters for both RGB and RGBA PNGs.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1865633002

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

8 years agoOne signature for creating unit tests that run on premade GrContexts
bsalomon [Tue, 5 Apr 2016 19:59:06 +0000 (12:59 -0700)]
One signature for creating unit tests that run on premade GrContexts
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1860593002

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

8 years agoDo an in-place replacement of SkRandom with Fuzz for FilterFuzz
kjlubick [Tue, 5 Apr 2016 19:48:47 +0000 (12:48 -0700)]
Do an in-place replacement of SkRandom with Fuzz for FilterFuzz

This feels rather clunky, because we aren't using the full potential of the
fuzzer, but it works, it seems.

BUG=skia:4969
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1710183002

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

8 years agoUpdate SkXfermodeImageFilter to sk_sp
robertphillips [Tue, 5 Apr 2016 19:48:34 +0000 (12:48 -0700)]
Update SkXfermodeImageFilter to sk_sp

TBR=reed@google.com

GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1852123002

Committed: https://skia.googlesource.com/skia/+/3bc969264d4720d67f0b137552b3777a03b431a8

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

8 years agoSet 'device_cfg' parameter for iOS bots
borenet [Tue, 5 Apr 2016 19:14:59 +0000 (12:14 -0700)]
Set 'device_cfg' parameter for iOS bots

For https://codereview.chromium.org/1859993003/

BUG=skia:5155
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1862723002

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

8 years agoRevert of Delete SkFlattenable::Type (part 1) (patchset #1 id:1 of https://codereview...
msarett [Tue, 5 Apr 2016 19:00:49 +0000 (12:00 -0700)]
Revert of Delete SkFlattenable::Type (part 1) (patchset #1 id:1 of https://codereview.chromium.org/1861013002/ )

Reason for revert:
See sugoi's comment.

Original issue's description:
> Delete SkFlattenable::Type (part 1)
>
> This should allow me to delete uses of SkFlattenable::Type in Chrome.
> Then I'll follow up with the full delete.
> https://codereview.chromium.org/1834303003/
>
> TBR=reed@google.com
>
> BUG=skia:
> GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1861013002
>
> Committed: https://skia.googlesource.com/skia/+/6b63536e917d86028630199c4eef4aa1597292ce

TBR=reed@google.com,mtklein@google.com,sugoi@chromium.org,senorblanco@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:

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

8 years agoUpdate SkColorFilterImageFilter to sk_sp
robertphillips [Tue, 5 Apr 2016 18:50:42 +0000 (11:50 -0700)]
Update SkColorFilterImageFilter to sk_sp

TBR=reed@google.com

GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1858813002

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

8 years agoCreate output directory in skdiff
brianosman [Tue, 5 Apr 2016 18:37:49 +0000 (11:37 -0700)]
Create output directory in skdiff

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1865563002

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

8 years agoRename enums in GrContextFactory to remove "GL"
bsalomon [Tue, 5 Apr 2016 18:06:27 +0000 (11:06 -0700)]
Rename enums in GrContextFactory to remove "GL"

Also, remove kNative as a separate context type and instead make it an alias for kGL or kGLES based on OS.

GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1845923004

Committed: https://skia.googlesource.com/skia/+/2d9c6f81353597aebf5934547e5cba7a872196fb

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

8 years agoFix vulkan dual source blending
egdaniel [Tue, 5 Apr 2016 18:00:29 +0000 (11:00 -0700)]
Fix vulkan dual source blending

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1856283003

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

8 years agoRemove 'native' context unit test macro.
bsalomon [Tue, 5 Apr 2016 17:57:13 +0000 (10:57 -0700)]
Remove 'native' context unit test macro.

The only test ran long is GLPrograms. I halved its iteration count to preserve the runtime on devices that support GL and GLES.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1855993002

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

8 years agoReland of Whitespace change to test Bugdroid+AutoRoll (patchset #1 id:1 of https...
borenet [Tue, 5 Apr 2016 17:12:56 +0000 (10:12 -0700)]
Reland of Whitespace change to test Bugdroid+AutoRoll (patchset #1 id:1 of https://codereview.chromium.org/1861713002/ )

Reason for revert:
Retry again

Original issue's description:
> Revert of Whitespace change to test Bugdroid+AutoRoll (patchset #1 id:1 of https://codereview.chromium.org/1856373003/ )
>
> Reason for revert:
> Try again.
>
> Original issue's description:
> > Whitespace change to test Bugdroid+AutoRoll
> >
> > BUG=598773
> > GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1856373003
> >
> > Committed: https://skia.googlesource.com/skia/+/74f047b58b70935f21cc08d30b7cc789b22bc7cf
>
> TBR=borenet@chromium.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=598773
>
> Committed: https://skia.googlesource.com/skia/+/cd76ae50e9bba22282a283eb18d092291b1f98ad

TBR=borenet@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=598773

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

8 years agoDelete SkFlattenable::Type (part 1)
msarett [Tue, 5 Apr 2016 16:32:35 +0000 (09:32 -0700)]
Delete SkFlattenable::Type (part 1)

This should allow me to delete uses of SkFlattenable::Type in Chrome.
Then I'll follow up with the full delete.
https://codereview.chromium.org/1834303003/

TBR=reed@google.com

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1861013002

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

8 years agoUpdate SkMorphology ImageFilters to sk_sp
robertphillips [Tue, 5 Apr 2016 16:09:36 +0000 (09:09 -0700)]
Update SkMorphology ImageFilters to sk_sp

TBR=reed@google.com

GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1860573002

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

8 years agoAdd predfined configs for msaa4, nvpr4, nvpr4dit, and srgb that explictly use OpenGL...
bsalomon [Tue, 5 Apr 2016 15:49:38 +0000 (08:49 -0700)]
Add predfined configs for msaa4, nvpr4, nvpr4dit, and srgb that explictly use OpenGL rather than GLES and use them on the X1 bot
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1853103003

Committed: https://skia.googlesource.com/skia/+/74cb44dee50b5db94c1374cbcf0b0a1babd09d89

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

8 years agoAdd valgrind suppression file to infrabots.isolate
rmistry [Tue, 5 Apr 2016 15:31:48 +0000 (08:31 -0700)]
Add valgrind suppression file to infrabots.isolate

BUG=skia:5149
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1859083002

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

8 years agoRevert of Whitespace change to test Bugdroid+AutoRoll (patchset #1 id:1 of https...
borenet [Tue, 5 Apr 2016 15:25:38 +0000 (08:25 -0700)]
Revert of Whitespace change to test Bugdroid+AutoRoll (patchset #1 id:1 of https://codereview.chromium.org/1856373003/ )

Reason for revert:
Try again.

Original issue's description:
> Whitespace change to test Bugdroid+AutoRoll
>
> BUG=598773
> GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1856373003
>
> Committed: https://skia.googlesource.com/skia/+/74f047b58b70935f21cc08d30b7cc789b22bc7cf

TBR=borenet@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=598773

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

8 years agoDo not set do_perf_steps for Build-Ubuntu-GCC-x86_64-Release-SwarmingValgrind
rmistry [Tue, 5 Apr 2016 15:24:29 +0000 (08:24 -0700)]
Do not set do_perf_steps for Build-Ubuntu-GCC-x86_64-Release-SwarmingValgrind

BUG=skia:5149
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1856403002

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

8 years agogive up if huge paths have unresolvable coincidence
caryclark [Tue, 5 Apr 2016 14:28:48 +0000 (07:28 -0700)]
give up if huge paths have unresolvable coincidence

This fuzzy test has enormous curves with coincidence runs that break numerics.
If the computed intersections identify that the span of coincidence has been deleted,
give up and return that the path op failed.

TBR=reed@google.com
BUG=597926
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1854333002

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

8 years agoRevert of Add predfined configs for msaa4, nvpr4, nvpr4dit, and srgb that explictly...
bsalomon [Tue, 5 Apr 2016 14:26:28 +0000 (07:26 -0700)]
Revert of Add predfined configs for msaa4, nvpr4, nvpr4dit, and srgb that explictly use OpenGL rather than GL… (patchset #3 id:40001 of https://codereview.chromium.org/1853103003/ )

Reason for revert:
causing crashes on win8 bot?

Original issue's description:
> Add predfined configs for msaa4, nvpr4, nvpr4dit, and srgb that explictly use OpenGL rather than GLES and use them on the X1 bot
> GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1853103003
>
> Committed: https://skia.googlesource.com/skia/+/74cb44dee50b5db94c1374cbcf0b0a1babd09d89

TBR=egdaniel@google.com,jvanverth@google.com
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

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

8 years agoImplement blit image for copySurface in Vulkan
egdaniel [Tue, 5 Apr 2016 14:23:38 +0000 (07:23 -0700)]
Implement blit image for copySurface in Vulkan

Also allows CopyImage to handle GrRenderTargets which are not textures.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1852413002

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

8 years agoAdd predfined configs for msaa4, nvpr4, nvpr4dit, and srgb that explictly use OpenGL...
bsalomon [Tue, 5 Apr 2016 14:03:42 +0000 (07:03 -0700)]
Add predfined configs for msaa4, nvpr4, nvpr4dit, and srgb that explictly use OpenGL rather than GLES and use them on the X1 bot
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1853103003

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

8 years agoremove avoid and pixelxor xfermodes
reed [Tue, 5 Apr 2016 13:25:14 +0000 (06:25 -0700)]
remove avoid and pixelxor xfermodes

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1853103005

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

8 years agoWhitespace change to test Bugdroid+AutoRoll
borenet [Tue, 5 Apr 2016 12:57:46 +0000 (05:57 -0700)]
Whitespace change to test Bugdroid+AutoRoll

BUG=598773
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1856373003

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

8 years agoFix failed filter followed by an affects-transparent-black filter.
senorblanco [Tue, 5 Apr 2016 11:43:45 +0000 (04:43 -0700)]
Fix failed filter followed by an affects-transparent-black filter.

When an upstream filter returns null, either through failure or clipping, a downstream affects-transparent-black
filter should still produce non-transparent pixels.

This patch fixes SkColorFilterImageFilter.

Note: this will affect the results of the imagefilterscropexpand GM.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1844593002

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

8 years agoRevert of Delete SkFlattenable::Type (patchset #2 id:20001 of https://codereview...
mtklein [Mon, 4 Apr 2016 21:57:19 +0000 (14:57 -0700)]
Revert of Delete SkFlattenable::Type (patchset #2 id:20001 of https://codereview.chromium.org/1834303003/ )

Reason for revert:
Used by Chrome.

c:\b\build\slave\workdir\build\src\cc\playback\compositing_display_item.cc(53): error C2039: 'GetFlattenableType': is not a member of 'SkColorFilter'
c:\b\build\slave\workdir\build\src\third_party\skia\include\core\skshader.h(19): note: see declaration of 'SkColorFilter'
c:\b\build\slave\workdir\build\src\cc\playback\compositing_display_item.cc(53): error C3861: 'GetFlattenableType': identifier not found

Original issue's description:
> Delete SkFlattenable::Type
>
> BUG=skia:
> GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1834303003
>
> Committed: https://skia.googlesource.com/skia/+/99d9231f6a4cb6b85b8637e9d8ae32f8bd7c466f

TBR=reed@google.com,msarett@google.com
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:

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

8 years agoDelete SkFlattenable::Type
msarett [Mon, 4 Apr 2016 20:53:02 +0000 (13:53 -0700)]
Delete SkFlattenable::Type

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1834303003

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

8 years agoRoll up to use >=4.
mtklein [Mon, 4 Apr 2016 20:48:41 +0000 (13:48 -0700)]
Roll up to use >=4.

    https://github.com/mtklein/libpng/commit/d0513638e7cc7d22b7dace879afea848b342fe33

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1854293002

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

8 years agoFixes for iOS Swarming bot
borenet [Mon, 4 Apr 2016 19:39:32 +0000 (12:39 -0700)]
Fixes for iOS Swarming bot

BUG=skia:5155
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1855223002

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

8 years agoFix ParseConfigs_OutParam tests
halcanary [Mon, 4 Apr 2016 19:14:46 +0000 (12:14 -0700)]
Fix ParseConfigs_OutParam tests

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

8 years agoPoint libpng at upstream libpng 1.6 + my new perf patch.
mtklein [Mon, 4 Apr 2016 19:08:46 +0000 (12:08 -0700)]
Point libpng at upstream libpng 1.6 + my new perf patch.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1852363002

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

8 years agoSwitch internal testing ImageFilters over to new onFilterImage interface
robertphillips [Mon, 4 Apr 2016 19:07:47 +0000 (12:07 -0700)]
Switch internal testing ImageFilters over to new onFilterImage interface
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1854133002

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

8 years agoRevert of added GrMSAAPathRenderer (patchset #9 id:160001 of https://codereview.chrom...
ethannicholas [Mon, 4 Apr 2016 18:41:30 +0000 (11:41 -0700)]
Revert of added GrMSAAPathRenderer (patchset #9 id:160001 of https://codereview.chromium.org/1834133003/ )

Reason for revert:
driver crash on Windows

Original issue's description:
> added GrMSAAPathRenderer
> GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1834133003
>
> Committed: https://skia.googlesource.com/skia/+/47a2dc8e229e93e1bcf7405747320920da1ab742
>
> Committed: https://skia.googlesource.com/skia/+/b0fabd4ed55abcb6f5ed2f331c96c783f42bd37c

TBR=bsalomon@google.com,egdaniel@google.com
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

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

8 years agoadded GrMSAAPathRenderer
ethannicholas [Mon, 4 Apr 2016 18:00:00 +0000 (11:00 -0700)]
added GrMSAAPathRenderer
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1834133003

Committed: https://skia.googlesource.com/skia/+/47a2dc8e229e93e1bcf7405747320920da1ab742

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

8 years agoAdd SK_API to SkROBuffer::Iter
scroggo [Mon, 4 Apr 2016 17:05:23 +0000 (10:05 -0700)]
Add SK_API to SkROBuffer::Iter

Necessary for crrev.com/1812273003 in Chromium.

Also remove trailing whitespace.

GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1856033002

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

8 years agoswitch maskfilters to sk_sp
reed [Mon, 4 Apr 2016 17:02:58 +0000 (10:02 -0700)]
switch maskfilters to sk_sp

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1852113003

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

8 years agoSwitch SkDownSampleImageFilter over to new onFilterImage interface
robertphillips [Mon, 4 Apr 2016 16:18:52 +0000 (09:18 -0700)]
Switch SkDownSampleImageFilter over to new onFilterImage interface

This will slightly change the testimagefilters GM images

TBR=reed@google.com

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1851583002

Committed: https://skia.googlesource.com/skia/+/daa9da4937b6dfc9e1047239b4afd41b1c5474d5

Committed: https://skia.googlesource.com/skia/+/33550dab45516bbcfa5ab908c5857fb382535c44

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

8 years agoRevert of added GrMSAAPathRenderer (patchset #8 id:140001 of https://codereview.chrom...
ethannicholas [Mon, 4 Apr 2016 15:27:03 +0000 (08:27 -0700)]
Revert of added GrMSAAPathRenderer (patchset #8 id:140001 of https://codereview.chromium.org/1834133003/ )

Reason for revert:
nanobench failure

Original issue's description:
> added GrMSAAPathRenderer
> GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1834133003
>
> Committed: https://skia.googlesource.com/skia/+/47a2dc8e229e93e1bcf7405747320920da1ab742

TBR=bsalomon@google.com,egdaniel@google.com
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

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

8 years agoRevert of Update SkXfermodeImageFilter to sk_sp (patchset #4 id:60001 of https:/...
robertphillips [Mon, 4 Apr 2016 15:06:17 +0000 (08:06 -0700)]
Revert of Update SkXfermodeImageFilter to sk_sp (patchset #4 id:60001 of https://codereview.chromium.org/1852123002/ )

Reason for revert:
Chrome-land compilation failure.

Original issue's description:
> Update SkXfermodeImageFilter to sk_sp
>
> TBR=reed@google.com
>
> GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1852123002
>
> Committed: https://skia.googlesource.com/skia/+/3bc969264d4720d67f0b137552b3777a03b431a8

TBR=fmalita@chromium.org,reed@google.com
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

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

8 years agoadded GrMSAAPathRenderer
ethannicholas [Mon, 4 Apr 2016 14:57:39 +0000 (07:57 -0700)]
added GrMSAAPathRenderer
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1834133003

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

8 years agoUpdate SkXfermodeImageFilter to sk_sp
robertphillips [Mon, 4 Apr 2016 14:13:49 +0000 (07:13 -0700)]
Update SkXfermodeImageFilter to sk_sp

TBR=reed@google.com

GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1852123002

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