platform/upstream/libSkiaSharp.git
7 years agoAdded the api to inform the device that the bitmap has changed
Matthew Leibowitz [Fri, 24 Mar 2017 15:57:58 +0000 (11:57 -0400)]
Added the api to inform the device that the bitmap has changed

7 years agoAdded some more surface members
Matthew Leibowitz [Thu, 23 Mar 2017 14:47:04 +0000 (10:47 -0400)]
Added some more surface members

7 years agoBindings for encoding the pixels under a pixmap
Matthew Leibowitz [Tue, 21 Mar 2017 14:56:59 +0000 (10:56 -0400)]
Bindings for encoding the pixels under a pixmap

7 years agoAllow creation of an initialized data
Matthew Leibowitz [Tue, 21 Mar 2017 14:56:38 +0000 (10:56 -0400)]
Allow creation of an initialized data
 - equivalent to a copy of nullptr

7 years agoAdded some more stream members
Matthew Leibowitz [Tue, 21 Mar 2017 14:56:06 +0000 (10:56 -0400)]
Added some more stream members

7 years agoAdded the bindings for XPS documents
Matthew Leibowitz [Mon, 20 Mar 2017 20:04:24 +0000 (22:04 +0200)]
Added the bindings for XPS documents

7 years agoMerge pull request #52 from mono/update-m57
Matthew Leibowitz [Mon, 20 Mar 2017 11:18:08 +0000 (07:18 -0400)]
Merge pull request #52 from mono/update-m57

Update to m57

7 years agoReverting all changes to the gyp files as they aren't used anymore
Matthew Leibowitz [Thu, 16 Mar 2017 16:10:51 +0000 (18:10 +0200)]
Reverting all changes to the gyp files as they aren't used anymore

7 years agoA few changes for UWP
Matthew Leibowitz [Thu, 16 Mar 2017 12:56:48 +0000 (14:56 +0200)]
A few changes for UWP

7 years agoFixed iOS / tvOS support
Matthew Leibowitz [Tue, 14 Mar 2017 02:06:48 +0000 (23:06 -0300)]
Fixed iOS / tvOS support

7 years agoWe must ensure that we include SkTypes.h before doing any checks
Matthew Leibowitz [Tue, 14 Mar 2017 02:06:03 +0000 (23:06 -0300)]
We must ensure that we include SkTypes.h before doing any checks

7 years agoUpdating the C API to match the C++ layer
Matthew Leibowitz [Tue, 14 Mar 2017 02:05:36 +0000 (23:05 -0300)]
Updating the C API to match the C++ layer

7 years agoMake C API compatible with -Wstrict-prototypes
Matthew Leibowitz [Sun, 12 Mar 2017 14:33:03 +0000 (10:33 -0400)]
Make C API compatible with -Wstrict-prototypes

7 years agoMerge branch 'chrome/m57' into update-m57
Matthew Leibowitz [Sun, 12 Mar 2017 14:28:43 +0000 (10:28 -0400)]
Merge branch 'chrome/m57' into update-m57

# Conflicts:
# gm/imagealphathreshold.cpp
# include/c/sk_data.h
# include/c/sk_paint.h
# include/c/sk_path.h
# include/c/sk_picture.h
# include/c/sk_types.h
# include/core/SkMilestone.h
# src/core/SkColorLookUpTable.cpp
# src/core/SkColorSpacePriv.h
# src/core/SkColorSpaceXform_A2B.cpp
# src/core/SkColorSpace_ICC.cpp
# src/core/SkSpecialImage.cpp
# src/gpu/GrClipStackClip.cpp
# src/gpu/GrPipeline.cpp
# src/gpu/GrRenderTargetContext.cpp
# src/gpu/GrRenderTargetOpList.cpp
# src/gpu/ops/GrAADistanceFieldPathRenderer.cpp
# src/gpu/ops/GrAADistanceFieldPathRenderer.h
# src/image/SkImage_Gpu.cpp
# src/image/SkSurface_Gpu.cpp
# src/opts/SkRasterPipeline_opts.h

7 years agoDon't batch circles and circular rrects beyond index limit
Brian Salomon [Tue, 7 Mar 2017 16:17:53 +0000 (11:17 -0500)]
Don't batch circles and circular rrects beyond index limit

M57 Cherry pick

BUG=skia:6158, chromium:690144, chromium:688582, chromium:684112

Change-Id: I7a6d1fb73cbe6cb4328848acd153ff2505b5fea2
Reviewed-on: https://skia-review.googlesource.com/8256
Reviewed-by: Florin Malita <fmalita@chromium.org>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Reviewed-on: https://skia-review.googlesource.com/9383
Reviewed-by: Brian Salomon <bsalomon@google.com>
7 years agoAdded binding for bit shifts
Matthew Leibowitz [Tue, 7 Mar 2017 10:33:18 +0000 (07:33 -0300)]
Added binding for bit shifts

7 years agoDifferentiate between unpremultiplied color and premultiplied color
Matthew Leibowitz [Thu, 2 Mar 2017 04:03:02 +0000 (06:03 +0200)]
Differentiate between unpremultiplied color and premultiplied color

7 years agoFix typo
Matthew Leibowitz [Tue, 28 Feb 2017 14:54:41 +0000 (16:54 +0200)]
Fix typo

7 years agoSkRegion deserialization more robust
Hal Canary [Thu, 16 Feb 2017 17:42:24 +0000 (12:42 -0500)]
SkRegion deserialization more robust

BUG=chromium:688987
Change-Id: Ide6d70330c8cd1fce814eb2c445da1fbff498ef6
Reviewed-on: https://skia-review.googlesource.com/8694
Reviewed-by: Kevin Lubick <kjlubick@google.com>
7 years agoAdded C API for SkData::MakeWithProc
Matthew Leibowitz [Fri, 24 Feb 2017 09:02:19 +0000 (11:02 +0200)]
Added C API for SkData::MakeWithProc

7 years agoRemove glx.h
Matthew Leibowitz [Tue, 21 Feb 2017 01:59:24 +0000 (03:59 +0200)]
Remove glx.h

7 years agoMerge pull request #51 from google/chrome/m56
Matthew Leibowitz [Fri, 17 Feb 2017 04:35:52 +0000 (06:35 +0200)]
Merge pull request #51 from google/chrome/m56

Fix swapped interpretation of c and e in SkColorSpace_ICC [m56]

7 years agoAdded almost all the members of SkImage to the C API
Matthew Leibowitz [Fri, 17 Feb 2017 01:44:56 +0000 (03:44 +0200)]
Added almost all the members of SkImage to the C API

7 years agoMerge pull request #49 from mono/optional-gpu
Matthew Leibowitz [Thu, 16 Feb 2017 19:33:29 +0000 (21:33 +0200)]
Merge pull request #49 from mono/optional-gpu

[WIP] Optional GPU

7 years agoGrGLInterface is a struct not a class
Matthew Leibowitz [Tue, 14 Feb 2017 13:33:25 +0000 (17:33 +0400)]
GrGLInterface is a struct not a class

7 years agoAdded GrContext::resetContext to the C API
Matthew Leibowitz [Mon, 13 Feb 2017 18:36:53 +0000 (20:36 +0200)]
Added GrContext::resetContext to the C API

7 years agoGLX is now loaded at runtime to reduce dependencies
Matthew Leibowitz [Mon, 13 Feb 2017 15:55:26 +0000 (19:55 +0400)]
GLX is now loaded at runtime to reduce dependencies

7 years agoSupport for building SK_SUPPORT_GPU=0
Matthew Leibowitz [Mon, 13 Feb 2017 00:41:33 +0000 (04:41 +0400)]
Support for building SK_SUPPORT_GPU=0

7 years agoFixes skia bug 6232
Matthew Leibowitz [Mon, 13 Feb 2017 00:38:53 +0000 (04:38 +0400)]
Fixes skia bug 6232
https://bugs.chromium.org/p/skia/issues/detail?id=6232

7 years agoAdded binding for SkCanvas::drawVertices
Matthew Leibowitz [Sat, 11 Feb 2017 20:42:03 +0000 (00:42 +0400)]
Added binding for SkCanvas::drawVertices

7 years agoAdded C bindings for SkMatrix44
Matthew Leibowitz [Sat, 11 Feb 2017 14:54:40 +0000 (18:54 +0400)]
Added C bindings for SkMatrix44

7 years agoFix swapped interpretation of c and e in SkColorSpace_ICC [m56]
Matt Sarett [Thu, 9 Feb 2017 16:52:48 +0000 (11:52 -0500)]
Fix swapped interpretation of c and e in SkColorSpace_ICC [m56]

The ICC errata supports the opposite of what we do.
http://www.color.org/icc_specs2.xalter

BUG:687194

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=8257
NOTREECHECKS=true
NOTRY=true
NOPRESUBMIT=true
CQ_INCLUDE_TRYBOTS=master.client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot

Change-Id: Id363969e15ba12832acb2736e61face10eefe01a
Reviewed-on: https://skia-review.googlesource.com/8257
Reviewed-by: Matt Sarett <msarett@google.com>
Commit-Queue: Matt Sarett <msarett@google.com>

7 years agoAdded some more path members
Matthew Leibowitz [Tue, 7 Feb 2017 12:37:27 +0000 (06:37 -0600)]
Added some more path members

7 years agoAdded C API for SkBitmap::extractAlpha
Matthew Leibowitz [Mon, 6 Feb 2017 19:55:42 +0000 (13:55 -0600)]
Added C API for SkBitmap::extractAlpha

7 years agoC bindings for SkBitmap::extractSubset
Matthew Leibowitz [Mon, 6 Feb 2017 18:22:12 +0000 (12:22 -0600)]
C bindings for SkBitmap::extractSubset

7 years agoAdded C API for SkCodec scanline decoding
Matthew Leibowitz [Mon, 6 Feb 2017 11:16:38 +0000 (05:16 -0600)]
Added C API for SkCodec scanline decoding

7 years agoAdded C API for SkBitmap::getAddrX
Matthew Leibowitz [Mon, 6 Feb 2017 11:16:14 +0000 (05:16 -0600)]
Added C API for SkBitmap::getAddrX

7 years agoAdded the flags to the SkBlurMaskFilter
Matthew Leibowitz [Sat, 4 Feb 2017 20:07:48 +0000 (14:07 -0600)]
Added the flags to the SkBlurMaskFilter

7 years agoAdded C bindings for SkFontMgr
Matthew Leibowitz [Fri, 3 Feb 2017 21:56:25 +0000 (01:56 +0400)]
Added C bindings for SkFontMgr

7 years agoMerge pull request #48 from google/chrome/m56
Matthew Leibowitz [Wed, 1 Feb 2017 23:07:48 +0000 (03:07 +0400)]
Merge pull request #48 from google/chrome/m56

Chrome/m56

7 years agoSeparate the public bits for the C PI and C++ API
Matthew Leibowitz [Sat, 28 Jan 2017 09:05:49 +0000 (04:05 -0500)]
Separate the public bits for the C PI and C++ API
 - making the C++ private and C public, the C++ can be linked out if necessary
 - C++ may not want the C

7 years agoAndroid and linux should also hide all members by default
Matthew Leibowitz [Sat, 28 Jan 2017 09:04:21 +0000 (04:04 -0500)]
Android and linux should also hide all members by default

7 years agoUpdated gyp config to optimize for size and linking
Matthew Leibowitz [Tue, 24 Jan 2017 22:03:19 +0000 (17:03 -0500)]
Updated gyp config to optimize for size and linking

7 years agoAllow conversion from non-opaque to opaque [chrome/m57]
Matt Sarett [Mon, 23 Jan 2017 14:41:08 +0000 (09:41 -0500)]
Allow conversion from non-opaque to opaque [chrome/m57]

BUG:683787

Change-Id: I1b78cc8d1b5d3917a2a952da036b93022e99e053
Reviewed-on: https://skia-review.googlesource.com/7374
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Matt Sarett <msarett@google.com>
(cherry picked from commit bfe8dca7dfdd9cafbccba0a637f2fcd58c7a54fb)
Reviewed-on: https://skia-review.googlesource.com/7402

7 years agoDisable mipmap pre-generation path
Eric Karl [Mon, 23 Jan 2017 21:27:57 +0000 (13:27 -0800)]
Disable mipmap pre-generation path

There is a bug in the mipmap pre-generation logic in use in
getDeferredTextureImageData. This can cause runaway memory leaks, so we
are disabling this path until we can investigate further.

BUG=669775

Change-Id: I2027f6f7994e089edd4f3452284e894752b31779
Reviewed-on: https://skia-review.googlesource.com/5357
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-on: https://skia-review.googlesource.com/7285

7 years agoFix perf regression with SDF paths
Jim Van Verth [Thu, 12 Jan 2017 15:00:16 +0000 (10:00 -0500)]
Fix perf regression with SDF paths

BUG=skia:6113,chromium:677889

Change-Id: I13d012a92e4d0371138f5ed4b92c7850f9b773a5
Reviewed-on: https://skia-review.googlesource.com/6945
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>

7 years ago[M56] More fixes for distance field paths
Jim Van Verth [Wed, 11 Jan 2017 19:17:00 +0000 (14:17 -0500)]
[M56] More fixes for distance field paths

Disables use of SDFs for very small paths (because of blurring) and
adds a border of 1 pixel in device space to handle antialiasing.

BUG=chromium:677889

Change-Id: Icd2f7e80323b1255f8de52b97360e9a2d995c765
Reviewed-on: https://skia-review.googlesource.com/6895
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>

7 years agoMerge pull request #47 from google/chrome/m56
Matthew Leibowitz [Fri, 20 Jan 2017 10:12:04 +0000 (12:12 +0200)]
Merge pull request #47 from google/chrome/m56

[M56] Fix SkImageFilterCache race

7 years agoRevert "Fix reset and deleting behavior."
Herb Derby [Thu, 19 Jan 2017 03:32:23 +0000 (03:32 +0000)]
Revert "Fix reset and deleting behavior."

This reverts commit 412a86d014783be99a7a9a0fae407791b95806e8.

Reason for revert: <INSERT REASONING HERE>

Original change's description:
> Fix reset and deleting behavior.
>
> * Reset the Arena state.
> * Call all the dtors before deleting the blocks.
>
> TBR=mtklein@google.com
>
> Change-Id: Iac320fec16e572cc9a6184c1f580089ab720f036
> Reviewed-on: https://skia-review.googlesource.com/7221
> Reviewed-by: Herb Derby <herb@google.com>
> Commit-Queue: Herb Derby <herb@google.com>
>

TBR=herb@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

Change-Id: I4f4d34e0190a60d418f11326a9a9688d7487b8d8
Reviewed-on: https://skia-review.googlesource.com/7261
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Herb Derby <herb@google.com>

7 years agoadded to enums
Matthew Leibowitz [Thu, 19 Jan 2017 03:01:15 +0000 (05:01 +0200)]
added to enums

7 years agoMerge pull request #46 from Tylerflick/skmask-bindings
Matthew Leibowitz [Thu, 19 Jan 2017 01:32:06 +0000 (03:32 +0200)]
Merge pull request #46 from Tylerflick/skmask-bindings

SkMask bindings

7 years agoAdded C binding for the 3DView
Matthew Leibowitz [Thu, 19 Jan 2017 01:10:44 +0000 (03:10 +0200)]
Added C binding for the 3DView

7 years agoFix reset and deleting behavior.
Herb Derby [Wed, 18 Jan 2017 22:07:48 +0000 (17:07 -0500)]
Fix reset and deleting behavior.

* Reset the Arena state.
* Call all the dtors before deleting the blocks.

TBR=mtklein@google.com

Change-Id: Iac320fec16e572cc9a6184c1f580089ab720f036
Reviewed-on: https://skia-review.googlesource.com/7221
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Herb Derby <herb@google.com>

7 years agoensure path bounds after rounding contain path edges when using SK_RASTERIZE_EVEN_ROU...
Lee Salzman [Fri, 13 Jan 2017 18:35:49 +0000 (13:35 -0500)]
ensure path bounds after rounding contain path edges when using SK_RASTERIZE_EVEN_ROUNDING

BUG=skia:

Change-Id: I34e93de8fd4faa44336c2698d06595e9c4de86c3
Reviewed-on: https://skia-review.googlesource.com/7040
Reviewed-by: Cary Clark <caryclark@google.com>
Commit-Queue: Cary Clark <caryclark@google.com>

7 years agoReject horizontal edges in FDot6 precision
Yuqian Li [Wed, 18 Jan 2017 15:51:26 +0000 (10:51 -0500)]
Reject horizontal edges in FDot6 precision

This simplifies the slope computation because we don't have to check dy
!= 0.

BUG=skia:

Change-Id: I5c09a9217ceed65f81f9d82cb045e33a70218077
Reviewed-on: https://skia-review.googlesource.com/7180
Commit-Queue: Yuqian Li <liyuqian@google.com>
Reviewed-by: Cary Clark <caryclark@google.com>
7 years agoRevert "Disallow readPixels() conversions from untagged srcs to tagged dsts"
Matt Sarett [Wed, 18 Jan 2017 19:44:03 +0000 (19:44 +0000)]
Revert "Disallow readPixels() conversions from untagged srcs to tagged dsts"

This reverts commit ccfd1083a7b9d546735ddd1037f3240635cce72d.

Reason for revert: Roll is failing.

Original change's description:
> Disallow readPixels() conversions from untagged srcs to tagged dsts
>
> This might break the roll into Chrome.  But let's see how.
>
> BUG=skia:6021
>
> Change-Id: I2698b5d6fe72d01bed0dc64703b592a03d441a80
> Reviewed-on: https://skia-review.googlesource.com/7127
> Reviewed-by: Mike Reed <reed@google.com>
> Commit-Queue: Matt Sarett <msarett@google.com>
>

TBR=msarett@google.com,brianosman@google.com,reed@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:6021

Change-Id: I4b62178fd7c23f43cf69ca69fc14526ecd503956
Reviewed-on: https://skia-review.googlesource.com/7205
Commit-Queue: Matt Sarett <msarett@google.com>
Reviewed-by: Matt Sarett <msarett@google.com>
7 years agoRevert concave AAA
Yuqian Li [Wed, 18 Jan 2017 17:32:29 +0000 (12:32 -0500)]
Revert concave AAA

BUG=skia:6131
TBR=reed@google.com,caryclark@google.com

Change-Id: Ib580a4fb9023f43518a3d89cd70bf2589ad02bb6
Reviewed-on: https://skia-review.googlesource.com/7200
Commit-Queue: Yuqian Li <liyuqian@google.com>
Reviewed-by: Yuqian Li <liyuqian@google.com>
7 years agosaveLayer experiments
Robert Phillips [Tue, 17 Jan 2017 15:48:52 +0000 (10:48 -0500)]
saveLayer experiments

Change-Id: Ic4f916cf3483244d5a79e32dc287a01dac41a650
Reviewed-on: https://skia-review.googlesource.com/7106
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>

7 years agoDisallow readPixels() conversions from untagged srcs to tagged dsts
Matt Sarett [Tue, 17 Jan 2017 20:54:24 +0000 (15:54 -0500)]
Disallow readPixels() conversions from untagged srcs to tagged dsts

This might break the roll into Chrome.  But let's see how.

BUG=skia:6021

Change-Id: I2698b5d6fe72d01bed0dc64703b592a03d441a80
Reviewed-on: https://skia-review.googlesource.com/7127
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Matt Sarett <msarett@google.com>

7 years agoRename GrProcOptInfo::addProcessors to analyzeProcessors
Brian Salomon [Wed, 18 Jan 2017 16:08:41 +0000 (11:08 -0500)]
Rename GrProcOptInfo::addProcessors to analyzeProcessors

Change-Id: I49d5fa568d5b9835ee8a76fd8b2b450ece944728
Reviewed-on: https://skia-review.googlesource.com/7182
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
7 years agoAdd class GrProcessorSet which represents color and coverage FPs and a XPFactory.
Brian Salomon [Wed, 18 Jan 2017 16:01:10 +0000 (11:01 -0500)]
Add class GrProcessorSet which represents color and coverage FPs and a XPFactory.

Eventually ops can use this to hold their ops and create GrPipelines at flush time.

For now it is used by GrPipelineBuilder.

Change-Id: I0db3892032f2d07238e4c847a790678b3aab456f
Reviewed-on: https://skia-review.googlesource.com/7132
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>

7 years agoRoll Recipe DEPS
Kevin Lubick [Wed, 18 Jan 2017 16:28:10 +0000 (11:28 -0500)]
Roll Recipe DEPS

skia-recipes:
f3a0ef9 Make gn use Vulkan SDK on Windows And Linux
        7ab5cc6 Wrap GN args in ""

CQ_INCLUDE_TRYBOTS=skia.primary:Build-Ubuntu-Clang-x86_64-Debug-Vulkan,Build-Ubuntu-Clang-x86_64-Release-Vulkan

Change-Id: I48225fde38bf909acff3eea9e5d09f43bff7f8ec
Reviewed-on: https://skia-review.googlesource.com/7176
Reviewed-by: Kevin Lubick <kjlubick@google.com>
7 years agoMove read/write-Pixels up to GrSurfaceContext
Robert Phillips [Wed, 18 Jan 2017 15:08:39 +0000 (10:08 -0500)]
Move read/write-Pixels up to GrSurfaceContext

This still needs to be propagated out in several ways:
  replace more instances of GrSurface::read/write-Pixels
  add colorSpace to more instances of the TextureContext

but it establishes a beach-head and is exciting enough as is.

Change-Id: If86035aa0245e70b54541e83722b3c75bc5ade13
Reviewed-on: https://skia-review.googlesource.com/7172
Reviewed-by: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>

7 years agoRevert "Respect full precision for RGB16 PNGs"
Matt Sarett [Wed, 18 Jan 2017 16:13:25 +0000 (16:13 +0000)]
Revert "Respect full precision for RGB16 PNGs"

This reverts commit 7a090c403da1dad6a2e19f2011158bd894a62d91.

Reason for revert: <INSERT REASONING HERE>

Original change's description:
> Respect full precision for RGB16 PNGs
>
> BUG=skia:
>
> CQ_INCLUDE_TRYBOTS=skia.primary:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD
>
> Change-Id: If58d201daae97bce2f8efbc453c2ec452e682493
> Reviewed-on: https://skia-review.googlesource.com/7085
> Commit-Queue: Matt Sarett <msarett@google.com>
> Reviewed-by: Mike Klein <mtklein@chromium.org>
> Reviewed-by: Leon Scroggins <scroggo@google.com>
> Reviewed-by: Mike Reed <reed@google.com>
>

TBR=mtklein@chromium.org,mtklein@google.com,msarett@google.com,scroggo@google.com,reed@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:
CQ_INCLUDE_TRYBOTS=skia.primary:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD

Change-Id: Ibd9879bc4f65ca0c2457dd0bfb5eb008d9a8f672
Reviewed-on: https://skia-review.googlesource.com/7183
Commit-Queue: Matt Sarett <msarett@google.com>
Reviewed-by: Matt Sarett <msarett@google.com>
7 years agoRevert "Revert "SkImageInfoValidConversion (part 2)""
Matt Sarett [Wed, 18 Jan 2017 16:04:50 +0000 (16:04 +0000)]
Revert "Revert "SkImageInfoValidConversion (part 2)""

This reverts commit 8dadd9e8936a1c8f44fccdfde7f883dfe2d89c96.

Reason for revert: Fixed Chrome.  This should roll now.

Original change's description:
> Revert "SkImageInfoValidConversion (part 2)"
>
> This reverts commit 94bd50cc5575b90eb60234399d69905b8651c27e.
>
> Reason for revert: Still breaking roll
>
> Original change's description:
> > SkImageInfoValidConversion (part 2)
> >
> > Disabling non-opaque -> opaque should be fine now that the
> > Chrome unit test has been fixed.
> >
> > BUG=skia:6021
> >
> > Change-Id: I39f087e2695bdefacf793bd137931e3115ec58cb
> > Reviewed-on: https://skia-review.googlesource.com/7121
> > Reviewed-by: Brian Osman <brianosman@google.com>
> > Commit-Queue: Matt Sarett <msarett@google.com>
> >
>
> TBR=msarett@google.com,brianosman@google.com
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=skia:6021
>
> Change-Id: I79843ea6cf60ca94822446c548f3386706924ee6
> Reviewed-on: https://skia-review.googlesource.com/7164
> Commit-Queue: Matt Sarett <msarett@google.com>
> Reviewed-by: Matt Sarett <msarett@google.com>
>

TBR=msarett@google.com,brianosman@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:6021

Change-Id: I40a85ac2e407de15916f0893d55163aea44157cb
Reviewed-on: https://skia-review.googlesource.com/7181
Commit-Queue: Matt Sarett <msarett@google.com>
Reviewed-by: Matt Sarett <msarett@google.com>
7 years agoRespect full precision for RGB16 PNGs
Matt Sarett [Tue, 17 Jan 2017 17:22:48 +0000 (12:22 -0500)]
Respect full precision for RGB16 PNGs

BUG=skia:

CQ_INCLUDE_TRYBOTS=skia.primary:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD

Change-Id: If58d201daae97bce2f8efbc453c2ec452e682493
Reviewed-on: https://skia-review.googlesource.com/7085
Commit-Queue: Matt Sarett <msarett@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Reviewed-by: Leon Scroggins <scroggo@google.com>
Reviewed-by: Mike Reed <reed@google.com>
7 years agoTurn on concave analytic AA
Yuqian Li [Tue, 17 Jan 2017 21:15:06 +0000 (16:15 -0500)]
Turn on concave analytic AA

This will allow Skia trybots to exercise analytic AA. But there's still
a guard flag in Chromium that prevents layout tests failure.

Additionally, we
1. fixed nagative shift problem
2. relax the ASSERT when slope is too large: If slope is large, the accuracy of the slope is limited due
to conversion to SkFDot6 and division. Hence we have to relax the constraint.
3. handle the special case where dx != 0 while slope == 0 because of very large dy and limited precision.

BUG=skia:

Change-Id: Ice70164f3f396f0db3896bedc7b96fbd613078dc
Reviewed-on: https://skia-review.googlesource.com/7120
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Yuqian Li <liyuqian@google.com>

7 years agoRoll Recipe DEPS
Eric Boren [Wed, 18 Jan 2017 14:47:28 +0000 (09:47 -0500)]
Roll Recipe DEPS

build:
9d148ff Dart: update ASAN bots with new GN build environment variables.
32ca07f Dart: Remove "--exclude-suite=pkg" from builder commands
06034fe Adding new Mac Mini 8GB vm to waterfall.
ef69d02 Roll recipe dependencies (trivial).
4145f27 Report ANGLE DLL sizes.
ef3c5b8 Remove some old cruft from file module.
23a7971 Use recipes' own bootstrap instead of build repo's third_party s
8d30f42 Revert "Use recipes' own bootstrap instead of build repo's third
8593c2c Take 2: Use bootstrap if we can't import coverage during recipe_
4f0412a Roll recipe dependencies (trivial).
fe2f60d Roll recipe dependencies (trivial).
de4b06e V8: Reduce variants on slow bot and add shards on another
cb42bda Rename Mac 10.10 bisect bots to Mac 10.12.
0d22ef1 Roll recipe dependencies (trivial).
64e721b chartjson upload: Don't upload with no data
8b9588d Manually set encoding for html page as UTF-8.
f428765 Fix the border color of status cells.
0f43046 perf_dashboard: Use args to pass and output data
74cd943 [Findit] Include step_metadata in Findit recipes' result report.
438f445 Revert "chartjson upload: Don't upload with no data"
626496b Cleanup unneeded files from build archives.
edccd96 Get rid of passing separate api object around in chromium_tests
f543594 Add missing comma to filter_build_files.py.
8e3c7bf Add more names to be excluded in filter_build_files.py.
6e8aadb Revert "Get rid of passing separate api object around in chromiu
6708a01 Get rid of passing separate api object around in chromium_tests
61e29b6 Adds Gold upload support to the pdfium recipe.
c6ff1f3 Fixe small bug in pdfium recipe
a506fb2 Make sure revision value is added when running trybots
b00fc85 Revert "Make sure revision value is added when running trybots"
c93a38c Revert "Fixe small bug in pdfium recipe"
42d1235 TBR=dsansome@chromium.org
76d62a0 Roll recipe dependencies (trivial).
011ee29 Roll recipe dependencies (trivial).
3e194cb Get rid of passing separate api object around in chromium_tests
69437e7 Added flutter.jar to uploaded artifacts for x86.
3bb8075 Bisect - Rework perf_try to use compare_samples to parse values.
c9c9234 Should not set up goma on 32bit Windows and Linux.
4a64172 Add more logging for errors uploading to test-results
b6bb03e Log time of the request to find matching server request
5dfca39 Adjust config level and use datetime module to format current UT
1215a71 v8: add script to compute build dependency statistics
f96c93e V8: Output build dependencies on x64 builder
02359c1 V8: Upload build dependencies to perf dashboard
47ff677 [perf] Fix typo. s/isolate_map/isolated_map.
26b0ef9 swarming: Clean up infrastructure handling logic
b0d760f [Android] Remove blimp_test_apk from the FindAnnotatedTests.
4b21c40 Roll recipe dependencies (trivial).
7808adc Improve recipe_simulation_test.py for bots and devs.
7d494c6 Fix bug in chartjson upload code
ddbb900 Remove build-side references to blimp.
81e709d Remove gnumbd tree closing from gatekeeper config.
bdbdb5a Raise exception when failed to start goma in main waterfall
e818a6f V8: Use better path for uploading build dependency stats

depot_tools:
b56ad33 Respect -t/--title in initial cl uploads to Gerrit
0fd68fa Roll recipe dependencies (trivial).
5ededcb Clear Zone.Identifier to allow depot_tools.zip bootstrap
59f4851 Don't send email to CCs by default on initial upload
6428784 Display Short URLs in Issues
d0c226a Output missing LGTMs notification also on dry-run
54985b6 Improve clang-format error messages when run outside of chromium

recipe_engine:
86fea56 Use basestring as a default type for enum

skia-recipes:
071ac85 Roll Recipe DEPS

Change-Id: Ie0391b3330e007a2411c8d5f31c09094f8354511
Reviewed-on: https://skia-review.googlesource.com/7171
Reviewed-by: Ravi Mistry <rmistry@google.com>
Commit-Queue: Eric Boren <borenet@google.com>

7 years agoAdd Vulkan SDK for Linux asset
Kevin Lubick [Wed, 18 Jan 2017 14:24:56 +0000 (09:24 -0500)]
Add Vulkan SDK for Linux asset

Also add Vulkan tasks for Linux NUC to use the asset.  Still need to
update the recipes, which will happen in a followup CL.

BUG=skia:6089

Change-Id: Ie215c98a03016c00ee2f2c8da281fd565e8900ce
Reviewed-on: https://skia-review.googlesource.com/7165
Commit-Queue: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Eric Boren <borenet@google.com>
7 years agoRevert "SkImageInfoValidConversion (part 2)"
Matt Sarett [Wed, 18 Jan 2017 13:39:39 +0000 (13:39 +0000)]
Revert "SkImageInfoValidConversion (part 2)"

This reverts commit 94bd50cc5575b90eb60234399d69905b8651c27e.

Reason for revert: Still breaking roll

Original change's description:
> SkImageInfoValidConversion (part 2)
>
> Disabling non-opaque -> opaque should be fine now that the
> Chrome unit test has been fixed.
>
> BUG=skia:6021
>
> Change-Id: I39f087e2695bdefacf793bd137931e3115ec58cb
> Reviewed-on: https://skia-review.googlesource.com/7121
> Reviewed-by: Brian Osman <brianosman@google.com>
> Commit-Queue: Matt Sarett <msarett@google.com>
>

TBR=msarett@google.com,brianosman@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:6021

Change-Id: I79843ea6cf60ca94822446c548f3386706924ee6
Reviewed-on: https://skia-review.googlesource.com/7164
Commit-Queue: Matt Sarett <msarett@google.com>
Reviewed-by: Matt Sarett <msarett@google.com>
7 years agofix compile errors
Tyler Hoeflicker [Wed, 18 Jan 2017 01:04:06 +0000 (17:04 -0800)]
fix compile errors

7 years agoadd sk_mask to core.gni
Tyler Hoeflicker [Wed, 18 Jan 2017 00:56:03 +0000 (16:56 -0800)]
add sk_mask to core.gni

7 years agoRevert "move device headers to core"
Mike Reed [Wed, 18 Jan 2017 00:04:52 +0000 (00:04 +0000)]
Revert "move device headers to core"

This reverts commit 98420d0c9b5934d6b08ea994844476ddedd23de0.

Reason for revert: <INSERT REASONING HERE>

blink_headless ImageBufferSurface.cpp

Original change's description:
> move device headers to core
>
> CANNOT LAND until we update lots of call-sites
>
> BUG=skia:
>
> Change-Id: Ibb957dbbf5baf2a2920887e48c03709d1f6c51e1
> Reviewed-on: https://skia-review.googlesource.com/6982
> Commit-Queue: Mike Reed <reed@google.com>
> Reviewed-by: Florin Malita <fmalita@chromium.org>
>

TBR=bungeman@google.com,fmalita@chromium.org,reed@google.com,reviews@skia.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:

Change-Id: I11f108137ed0a8efd553af6ea6039904cf3a3870
Reviewed-on: https://skia-review.googlesource.com/7161
Commit-Queue: Mike Reed <reed@google.com>
Reviewed-by: Mike Reed <reed@google.com>
7 years agoAdd Tasks for Linux + Iris 540
Kevin Lubick [Tue, 17 Jan 2017 20:15:40 +0000 (15:15 -0500)]
Add Tasks for Linux + Iris 540

This does not include Vulkan as it doesn't build yet.

BUG=skia:6089

Change-Id: If44616dbd7b2aaa63232dac04e96d8433da7f157
Reviewed-on: https://skia-review.googlesource.com/7113
Commit-Queue: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Ben Wagner <benjaminwagner@google.com>
7 years agoadd mask image alloc dealloc functions
Tyler Hoeflicker [Tue, 17 Jan 2017 22:04:03 +0000 (14:04 -0800)]
add mask image alloc dealloc functions

7 years agoFix code that relied on readPixels not doing color space conversion
Brian Osman [Tue, 17 Jan 2017 21:10:07 +0000 (16:10 -0500)]
Fix code that relied on readPixels not doing color space conversion

SampleApp doesn't have (can't easily get) an image, so I couldn't use
the new helper function there. It's probably still worth having?

BUG=skia:

Change-Id: I60c208ff958076015a9539359921b9aff68f25c8
Reviewed-on: https://skia-review.googlesource.com/7129
Reviewed-by: Matt Sarett <msarett@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>

7 years agomove device headers to core
Mike Reed [Fri, 13 Jan 2017 03:27:57 +0000 (22:27 -0500)]
move device headers to core

CANNOT LAND until we update lots of call-sites

BUG=skia:

Change-Id: Ibb957dbbf5baf2a2920887e48c03709d1f6c51e1
Reviewed-on: https://skia-review.googlesource.com/6982
Commit-Queue: Mike Reed <reed@google.com>
Reviewed-by: Florin Malita <fmalita@chromium.org>
7 years agoRoll skia-recipes
Eric Boren [Tue, 17 Jan 2017 19:35:06 +0000 (14:35 -0500)]
Roll skia-recipes

6815aa7 Use skia/bin/gn instead of skia/buildtools/$(PLATFORM)/gn
ef0ad89 core: Obtain the primary repo URL from the "repository" property

BUG=skia:

Change-Id: I5cd47dd47747565c141240241b1373b34d69bee5
Reviewed-on: https://skia-review.googlesource.com/7123
Commit-Queue: Eric Boren <borenet@google.com>
Reviewed-by: Ravi Mistry <rmistry@google.com>
7 years agoRevert "Continue making Ganesh use absolute texture coordinates"
Joe Gregorio [Tue, 17 Jan 2017 19:20:54 +0000 (19:20 +0000)]
Revert "Continue making Ganesh use absolute texture coordinates"

This reverts commit 4493a9dc9df8cf306a974bde7e0e9c5470ebcdc9.

Reason for revert: Continuing failures https://luci-milo.appspot.com/swarming/task/33c693c3539a1410

Change-Id: Id371d6df6a875a5f6872f4ebd91b08a354d949de
Reviewed-on: https://skia-review.googlesource.com/7125
Commit-Queue: Joe Gregorio <jcgregorio@google.com>
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
7 years agoSkImageInfoValidConversion (part 2)
Matt Sarett [Tue, 17 Jan 2017 18:57:45 +0000 (13:57 -0500)]
SkImageInfoValidConversion (part 2)

Disabling non-opaque -> opaque should be fine now that the
Chrome unit test has been fixed.

BUG=skia:6021

Change-Id: I39f087e2695bdefacf793bd137931e3115ec58cb
Reviewed-on: https://skia-review.googlesource.com/7121
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Matt Sarett <msarett@google.com>

7 years agoAdded support for PDF metadata
Matthew Leibowitz [Tue, 17 Jan 2017 19:29:19 +0000 (21:29 +0200)]
Added support for PDF metadata

7 years ago[M56] Fix SkImageFilterCache race
Florin Malita [Tue, 17 Jan 2017 19:12:14 +0000 (14:12 -0500)]
[M56] Fix SkImageFilterCache race

M56 cherry-pick of
https://skia.googlesource.com/skia.git/+/a022e2d834254a4c91f8c87d277d5085192f0852

BUG=chromium:668937
R=reed@google.com,robertphillips@google.com

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=7124
NOTREECHECKS=true
NOTRY=true
NOPRESUBMIT=true

Change-Id: I5d5e4cb2e57f52a8d082d38e42f75704a3643aa0
Reviewed-on: https://skia-review.googlesource.com/7124
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Florin Malita <fmalita@chromium.org>

7 years agoSkSplicer: no need for AI. Clang is good at this.
Mike Klein [Tue, 17 Jan 2017 18:14:17 +0000 (13:14 -0500)]
SkSplicer: no need for AI.  Clang is good at this.

Change-Id: I1d5b82c0c2748b4d206d8d104fdd5dc04dc2693b
Reviewed-on: https://skia-review.googlesource.com/7116
Commit-Queue: Mike Klein <mtklein@chromium.org>
Reviewed-by: Mike Klein <mtklein@chromium.org>
7 years agoPass GrAppliedClip to pipeline creation.
Brian Salomon [Tue, 17 Jan 2017 17:39:53 +0000 (12:39 -0500)]
Pass GrAppliedClip to pipeline creation.

This skips adding the clip's coverage processor to the GrPipelineBuilder before creating GrPipeline.

Change-Id: I1282dd8600701ab2b6a049abd8ad571abbbcbbe5
Reviewed-on: https://skia-review.googlesource.com/7020
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
7 years agoContinue making Ganesh use absolute texture coordinates
Robert Phillips [Tue, 17 Jan 2017 16:52:21 +0000 (11:52 -0500)]
Continue making Ganesh use absolute texture coordinates

The idea here is that the GrCoordTransform will actually hold a GrTextureProxy (rather than a GrTexture) and then, in GrGLSLPrimitiveProcessor::GetTransformMatrix, use the instantiated width & height (when uploading the transform matrix)

Change-Id: Ibac3a540fcb1967ceef571157d41c1937acfadf8
Reviewed-on: https://skia-review.googlesource.com/6977
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>

7 years agoRevert "Revert "Enforce our rules about valid images when making textures""
Brian Osman [Tue, 17 Jan 2017 16:41:03 +0000 (16:41 +0000)]
Revert "Revert "Enforce our rules about valid images when making textures""

This reverts commit 8bbdd49805bd77fec61e6e31f59d31a361e8be30.

Reason for revert: Original change re-landed.

Original change's description:
> Revert "Enforce our rules about valid images when making textures"
>
> This reverts commit 7035f3c466826a4116e2f31deb64d1645ea9441b.
>
> Reason for revert: Need to revert earlier change to fix DEPS roll.
>
> Original change's description:
> > Enforce our rules about valid images when making textures
> >
> > I'm working to make GrUploadPixmapToTexture more robust
> > and easier to follow. This is one step on that journey.
> >
> > BUG=skia:
> >
> > Change-Id: I3ac39057e20ff8249843bb41ceca25f629aff31c
> > Reviewed-on: https://skia-review.googlesource.com/7037
> > Commit-Queue: Brian Osman <brianosman@google.com>
> > Reviewed-by: Matt Sarett <msarett@google.com>
> > Reviewed-by: Brian Salomon <bsalomon@google.com>
> >
>
> TBR=bsalomon@google.com,msarett@google.com,robertphillips@google.com,brianosman@google.com
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=skia:
>
> Change-Id: I1d7fef2d3777f0fcabc6c36749908409bd31a0f1
> Reviewed-on: https://skia-review.googlesource.com/7094
> Commit-Queue: Brian Osman <brianosman@google.com>
> Reviewed-by: Brian Osman <brianosman@google.com>
>

TBR=bsalomon@google.com,msarett@google.com,robertphillips@google.com,brianosman@google.com
# Not skipping CQ checks because original CL landed > 1 day ago.
BUG=skia:

Change-Id: I53319ebca4b13175014e6000d7b613932d02612b
Reviewed-on: https://skia-review.googlesource.com/7114
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
7 years agoRemove (most) usage of MakeTextureFromPixmap
Brian Osman [Tue, 17 Jan 2017 15:06:20 +0000 (10:06 -0500)]
Remove (most) usage of MakeTextureFromPixmap

Planning to remove this API entirely, as it's not really needed. There is
one remaining call-site that requires a bigger change, so I want to land
these first.

BUG=skia:

Change-Id: I6c6ae88202291c4896c1ba8f47824596ac8a150f
Reviewed-on: https://skia-review.googlesource.com/7105
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>

7 years agoReland "Add SkImageInfoValidConversion() and SkImageInfoIsValid"
Matt Sarett [Tue, 17 Jan 2017 15:48:53 +0000 (10:48 -0500)]
Reland "Add SkImageInfoValidConversion() and SkImageInfoIsValid"

The original is at:
https://skia-review.googlesource.com/c/6887/

The only change to the original is to temporarily comment out
a check in SkImageInfoPriv.h until a Chrome unit test can
be fixed.

The idea is share these standards for the following:
SkImage::readPixels()
SkCanvas::readPixels()
SkCanvas::writePixels()
SkBitmap::readPixels()
SkPixmap::readPixels()

On the raster side, SkPixmap::readPixels() is the right
place to check, because all raster calls go through
there eventually.  Then at lower levels (ex: SkPixelInfo),
we can assert.

There's not really a unifying location for gpu calls,
so I've added this in multiple places.  I haven't really
dug into the gpu code to SkASSERT() on invalid cases
that we will have already caught.

Follow-up work:
Similar refactor for SkReadPixelRec::trim().
Code cleanup in SkPixelInfo::CopyPixels()

BUG=skia:6021

Change-Id: I6a16f9479bc09e3c87e10c72b0378579f1a70866
Reviewed-on: https://skia-review.googlesource.com/7104
Reviewed-by: Matt Sarett <msarett@google.com>
Commit-Queue: Matt Sarett <msarett@google.com>

7 years agoSimplify GrProcOptInfo initialization.
Brian Salomon [Tue, 17 Jan 2017 15:44:34 +0000 (10:44 -0500)]
Simplify GrProcOptInfo initialization.

Removes unused single channel tracking.

Makes it so that only the op/gp can initiate lcd coverage.

Makes GrProcOptInfo fragment processor analysis continuable.

Change-Id: I003a8aa3836bb64d04b230ddee581dc500e613a9
Reviewed-on: https://skia-review.googlesource.com/7039
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>

7 years agohide getClipStack
Mike Reed [Mon, 16 Jan 2017 01:02:32 +0000 (20:02 -0500)]
hide getClipStack

BUG=skia:6122

Change-Id: I0aca03b349541174ced019f4f2116e0015c980c4
Reviewed-on: https://skia-review.googlesource.com/7097
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Mike Reed <reed@google.com>

7 years agoadd and test SkFixed15::to_u8()
Mike Klein [Tue, 17 Jan 2017 15:19:50 +0000 (10:19 -0500)]
add and test SkFixed15::to_u8()

Change-Id: Iedbcd2d938122cdc8f6b235745eb6165e348c237
Reviewed-on: https://skia-review.googlesource.com/7108
Commit-Queue: Mike Klein <mtklein@chromium.org>
Reviewed-by: Herb Derby <herb@google.com>
7 years agoGrTessellator: fix for disappearing thin path.
Stephen White [Mon, 16 Jan 2017 16:47:21 +0000 (11:47 -0500)]
GrTessellator: fix for disappearing thin path.

simplify_boundary() was incorrectly comparing squared distances
against a non-squared constant. For .25 of a pixel, we need to
compare against 0.25 squared, or 0.0625.

This also includes a fix to get_edge_normal(), We were actually
returning edge "vectors", instead of edge normals. This wasn't
causing problems, since the error cancels itself out, but it's
confusing.

BUG=skia:

Change-Id: I0d50f2d001ed5e41de2900139c396b9ef75d2ddf
Reviewed-on: https://skia-review.googlesource.com/7043
Commit-Queue: Stephan White <senorblanco@chromium.org>
Reviewed-by: Brian Salomon <bsalomon@google.com>
7 years agoAdd a bench to exercise legacy-mode SkRasterPipeline behavior.
Mike Klein [Tue, 17 Jan 2017 15:24:15 +0000 (10:24 -0500)]
Add a bench to exercise legacy-mode SkRasterPipeline behavior.

No fancy f16 or sRGB here... just good old legacy 8888.

Change-Id: I21eb7c0d8e2c7a7d92e9d8a8bae9d318c4daa7e5
Reviewed-on: https://skia-review.googlesource.com/7109
Reviewed-by: Mike Klein <mtklein@chromium.org>
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>

7 years agoSkSplicer: fix a typo in srcover stage.
Mike Klein [Tue, 17 Jan 2017 15:16:06 +0000 (10:16 -0500)]
SkSplicer: fix a typo in srcover stage.

Change-Id: Iafd23c860395587c77cd412a3b522ba851b4570d
Reviewed-on: https://skia-review.googlesource.com/7107
Commit-Queue: Mike Klein <mtklein@chromium.org>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Reviewed-by: Herb Derby <herb@google.com>
7 years agodo/while loops in SPIR-V no longer cause an assertion failure
Ethan Nicholas [Fri, 13 Jan 2017 21:40:35 +0000 (16:40 -0500)]
do/while loops in SPIR-V no longer cause an assertion failure

BUG=skia:

Change-Id: Ic5f590879d8ada5d4580b5c6e9091ccc9532be4b
Reviewed-on: https://skia-review.googlesource.com/6605
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>

7 years agoUpdate Buildbot doc for Task Scheduler
Eric Boren [Tue, 17 Jan 2017 12:26:41 +0000 (07:26 -0500)]
Update Buildbot doc for Task Scheduler

BUG=skia:6118

NOTRY=true
DOCS_PREVIEW= https://skia.org/?cl=7023

Change-Id: I398f4fd98959bb37bcb5499d38e517542e0df90f
Reviewed-on: https://skia-review.googlesource.com/7023
Commit-Queue: Ben Wagner <benjaminwagner@google.com>
Reviewed-by: Ben Wagner <benjaminwagner@google.com>
7 years agoTest PG
Ravi Mistry [Tue, 17 Jan 2017 13:42:11 +0000 (08:42 -0500)]
Test PG

CQ_INCLUDE_TRYBOTS=skia.primary:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD
NOTRY=true
BUG=skia:

Change-Id: Ida204d1c58671c4d79d6fc3d95bf8ddf3cef77b4
Reviewed-on: https://skia-review.googlesource.com/7103
Commit-Queue: Ravi Mistry <rmistry@google.com>
Reviewed-by: Ravi Mistry <rmistry@google.com>
7 years agoTemporarily restore FixedAllocTest.cpp
Mike Klein [Tue, 17 Jan 2017 13:18:02 +0000 (08:18 -0500)]
Temporarily restore FixedAllocTest.cpp

This adds it back as an empty file, so that the existing Android DM
build keeps working.  We can remove it once DM's Android build config
is generated with gn_to_bp.py too.

Change-Id: I27b8ff480044a0824d24395c4498bf593cdd9747
Reviewed-on: https://skia-review.googlesource.com/7102
Reviewed-by: Mike Klein <mtklein@chromium.org>
7 years agoMove recipe modules to shared repo
Eric Boren [Fri, 13 Jan 2017 18:37:53 +0000 (13:37 -0500)]
Move recipe modules to shared repo

BUG=skia:6070

Change-Id: I6c487e77ddfddb6164b983981dff5ee8ae870376
Reviewed-on: https://skia-review.googlesource.com/6946
Commit-Queue: Eric Boren <borenet@google.com>
Reviewed-by: Ravi Mistry <rmistry@google.com>
Reviewed-by: Stephan Altmueller <stephana@google.com>
7 years agoAdd canvas annotations
Matthew Leibowitz [Tue, 17 Jan 2017 00:48:49 +0000 (02:48 +0200)]
Add canvas annotations