Matthew Leibowitz [Fri, 24 Feb 2017 09:02:19 +0000 (11:02 +0200)]
Added C API for SkData::MakeWithProc
Matthew Leibowitz [Tue, 21 Feb 2017 01:59:24 +0000 (03:59 +0200)]
Remove glx.h
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]
Matthew Leibowitz [Fri, 17 Feb 2017 01:44:56 +0000 (03:44 +0200)]
Added almost all the members of SkImage to the C API
Matthew Leibowitz [Thu, 16 Feb 2017 19:33:29 +0000 (21:33 +0200)]
Merge pull request #49 from mono/optional-gpu
[WIP] Optional GPU
Matthew Leibowitz [Tue, 14 Feb 2017 13:33:25 +0000 (17:33 +0400)]
GrGLInterface is a struct not a class
Matthew Leibowitz [Mon, 13 Feb 2017 18:36:53 +0000 (20:36 +0200)]
Added GrContext::resetContext to the C API
Matthew Leibowitz [Mon, 13 Feb 2017 15:55:26 +0000 (19:55 +0400)]
GLX is now loaded at runtime to reduce dependencies
Matthew Leibowitz [Mon, 13 Feb 2017 00:41:33 +0000 (04:41 +0400)]
Support for building SK_SUPPORT_GPU=0
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
Matthew Leibowitz [Sat, 11 Feb 2017 20:42:03 +0000 (00:42 +0400)]
Added binding for SkCanvas::drawVertices
Matthew Leibowitz [Sat, 11 Feb 2017 14:54:40 +0000 (18:54 +0400)]
Added C bindings for SkMatrix44
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>
Matthew Leibowitz [Tue, 7 Feb 2017 12:37:27 +0000 (06:37 -0600)]
Added some more path members
Matthew Leibowitz [Mon, 6 Feb 2017 19:55:42 +0000 (13:55 -0600)]
Added C API for SkBitmap::extractAlpha
Matthew Leibowitz [Mon, 6 Feb 2017 18:22:12 +0000 (12:22 -0600)]
C bindings for SkBitmap::extractSubset
Matthew Leibowitz [Mon, 6 Feb 2017 11:16:38 +0000 (05:16 -0600)]
Added C API for SkCodec scanline decoding
Matthew Leibowitz [Mon, 6 Feb 2017 11:16:14 +0000 (05:16 -0600)]
Added C API for SkBitmap::getAddrX
Matthew Leibowitz [Sat, 4 Feb 2017 20:07:48 +0000 (14:07 -0600)]
Added the flags to the SkBlurMaskFilter
Matthew Leibowitz [Fri, 3 Feb 2017 21:56:25 +0000 (01:56 +0400)]
Added C bindings for SkFontMgr
Matthew Leibowitz [Wed, 1 Feb 2017 23:07:48 +0000 (03:07 +0400)]
Merge pull request #48 from google/chrome/m56
Chrome/m56
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
Matthew Leibowitz [Sat, 28 Jan 2017 09:04:21 +0000 (04:04 -0500)]
Android and linux should also hide all members by default
Matthew Leibowitz [Tue, 24 Jan 2017 22:03:19 +0000 (17:03 -0500)]
Updated gyp config to optimize for size and linking
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
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>
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>
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
Matthew Leibowitz [Thu, 19 Jan 2017 03:01:15 +0000 (05:01 +0200)]
added to enums
Matthew Leibowitz [Thu, 19 Jan 2017 01:32:06 +0000 (03:32 +0200)]
Merge pull request #46 from Tylerflick/skmask-bindings
SkMask bindings
Matthew Leibowitz [Thu, 19 Jan 2017 01:10:44 +0000 (03:10 +0200)]
Added C binding for the 3DView
Tyler Hoeflicker [Wed, 18 Jan 2017 01:04:06 +0000 (17:04 -0800)]
fix compile errors
Tyler Hoeflicker [Wed, 18 Jan 2017 00:56:03 +0000 (16:56 -0800)]
add sk_mask to core.gni
Tyler Hoeflicker [Tue, 17 Jan 2017 22:04:03 +0000 (14:04 -0800)]
add mask image alloc dealloc functions
Matthew Leibowitz [Tue, 17 Jan 2017 19:29:19 +0000 (21:29 +0200)]
Added support for PDF metadata
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>
Matthew Leibowitz [Tue, 17 Jan 2017 00:48:49 +0000 (02:48 +0200)]
Add canvas annotations
Tyler Hoeflicker [Tue, 17 Jan 2017 00:26:04 +0000 (16:26 -0800)]
align mask changes with mono api style
Tyler Hoeflicker [Mon, 16 Jan 2017 23:32:29 +0000 (15:32 -0800)]
add install mask signature to c bitmap api
Tyler Hoeflicker [Mon, 16 Jan 2017 23:19:42 +0000 (15:19 -0800)]
add skmask to c api
Matthew Leibowitz [Mon, 16 Jan 2017 12:08:07 +0000 (14:08 +0200)]
Merge branch 'xamarin-svg-canvas' into xamarin-mobile-bindings
# Conflicts:
# gyp/core.gyp
# gyp/core.gypi
# include/c/sk_types.h
# src/c/sk_types_priv.h
Matthew Leibowitz [Sat, 14 Jan 2017 19:05:34 +0000 (21:05 +0200)]
Copy the array contents to avoid warnings when using std::copy
Matthew Leibowitz [Sat, 14 Jan 2017 18:59:14 +0000 (20:59 +0200)]
Fixes for the return types
- the C API can't handle returning structs on some platforms
Matthew Leibowitz [Fri, 13 Jan 2017 06:42:55 +0000 (08:42 +0200)]
Merge pull request #44 from google/chrome/m56
M56 cherrypick Fix mapping from src to in SkAlphaThresholdFilter
Robert Phillips [Wed, 11 Jan 2017 15:30:08 +0000 (10:30 -0500)]
M56 cherrypick Fix mapping from src to in SkAlphaThresholdFilter
This cherrypicks https://skia-review.googlesource.com/c/6291/ (Fix mapping from src to dst image space in SkAlphaThresholdFilter) to M56
BUG=675332
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=6880
NOTREECHECKS=true
NOTRY=true
NOPRESUBMIT=true
Change-Id: Id225b462eb91e3d766804392c6986415ad531808
Reviewed-on: https://skia-review.googlesource.com/6880
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Matthew Leibowitz [Sat, 7 Jan 2017 01:33:31 +0000 (03:33 +0200)]
Added the C API for SkBitmapScaler::Resize
Matthew Leibowitz [Fri, 6 Jan 2017 23:38:45 +0000 (01:38 +0200)]
Added C bindings for SkPixmap
Matthew Leibowitz [Fri, 6 Jan 2017 21:29:51 +0000 (23:29 +0200)]
Merge pull request #42 from mono/develop-next
All the bits for m56
Matthew Leibowitz [Thu, 5 Jan 2017 22:06:48 +0000 (00:06 +0200)]
Disable the C4244: conversion from 'int' to 'SkScalar' warnings
Matthew Leibowitz [Thu, 5 Jan 2017 21:34:12 +0000 (23:34 +0200)]
Merge pull request #41 from google/chrome/m56
Chrome/m56
Brian Salomon [Thu, 22 Dec 2016 14:39:40 +0000 (09:39 -0500)]
Fix SDF generation for pixel-aligned paths (take two)
Cherry-pick to M56
BUG=668550
Change-Id: Ic771818bd5a4a46b83fdb82b69b98cb6b93a23a2
Reviewed-on: https://skia-review.googlesource.com/5697
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-on: https://skia-review.googlesource.com/6413
Brian Salomon [Thu, 22 Dec 2016 14:26:29 +0000 (09:26 -0500)]
Make flag values in GrResourceProvider and GrTextureProvider consistent
Cherry pick to M56
BUG=chromium:665673
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=5602
Change-Id: I41522aa24cd4b4a7e085132dd9bcbfdd66bd9617
Reviewed-on: https://skia-review.googlesource.com/5602
Reviewed-by: Chris Dalton <csmartdalton@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-on: https://skia-review.googlesource.com/6411
Reviewed-by: Brian Salomon <bsalomon@google.com>
Brian Salomon [Thu, 22 Dec 2016 14:16:57 +0000 (09:16 -0500)]
Add an extra pixel to the distance field path renderer bounds.
Cherry-pick to M56
BUG=chromium:663701
BUG=skia:5989
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=5086
Change-Id: Ie97f46b108f54c711c5928b11a9921be38356f8d
Reviewed-on: https://skia-review.googlesource.com/5086
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Cherry-pick to M55
NOTREECHECKS=true
NOTRY=true
NOPRESUBMIT=true
Change-Id: I3f8e5de782846447c6f809c3284c5081b5d7a283
Reviewed-on: https://skia-review.googlesource.com/5267
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-on: https://skia-review.googlesource.com/6412
Matthew Leibowitz [Mon, 19 Dec 2016 22:34:49 +0000 (00:34 +0200)]
Merge pull request #40 from google/chrome/m56
Chrome/m56
msarett [Tue, 29 Nov 2016 21:22:01 +0000 (13:22 -0800)]
Fuzzer fix for overflow in some Lut8 profiles.
Bug(?) in the tetrahedral interpolation causes output values to go out
of range a bit (1.035/1.0) in the upper range. We will just clamp for
now as a temporary fix.
BUG=668784
Change-Id: I78dd90da7174133e647b1c6c6e914dbde5de123c
Reviewed-on: https://skia-review.googlesource.com/5228
Reviewed-by: Matt Sarett <msarett@google.com>
Commit-Queue: Robert Aftias <raftias@google.com>
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=
2535383002
NOTREECHECKS=true
NOTRY=true
NOPRESUBMIT=true
Review-Url: https://codereview.chromium.org/
2535383002
Robert Phillips [Mon, 21 Nov 2016 14:03:54 +0000 (09:03 -0500)]
Cherry pick fuzzer fixes back to M56
This cherry-pick combines 3 fuzzer-fix CLs:
These two rolled into Chrome in https://codereview.chromium.org/
2511733006 at 433297 on 11/18
https://skia-review.googlesource.com/c/4961/ (Remove accessRenderTarget call in SkGpuDevice ctor)
https://skia-review.googlesource.com/c/4929/ (Guard against instantiate & accessRenderTarget failures)
This one rolled into Chrome in https://codereview.chromium.org/
2516183002 at 433454 on 11/20
https://skia-review.googlesource.com/c/4991/ (Add handling for instantiate failure up the call stack)
Together they address the fuzzer bugs:
crbug.com/665681 P1 (Crash in SkSpecialImage_Gpu::onAsTextureRef)
crbug.com/665621 P1 (Crash in GrGpuCommandBuffer::draw)
crbug.com/665500 P1 (Crash in GrDrawBatch::renderTargetUniqueID)
The fuzzer bugs were fixed by the first two patches but the third is going to be necessary too.
BUG=665681,665500,665621
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=5081
NOTREECHECKS=true
NOTRY=true
NOPRESUBMIT=true
Change-Id: I3a8b70eae29ac11608e062e66bc26c2208c1dfb3
Reviewed-on: https://skia-review.googlesource.com/5081
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: Heather Miller <hcm@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Matthew Leibowitz [Sat, 26 Nov 2016 06:23:00 +0000 (08:23 +0200)]
Added the members for decoding gif frames
Matthew Leibowitz [Fri, 25 Nov 2016 15:52:43 +0000 (17:52 +0200)]
Corrected the method header
Matthew Leibowitz [Fri, 25 Nov 2016 08:54:38 +0000 (10:54 +0200)]
Added SkCodec::getEngodedInfo to the C API
raftias [Mon, 21 Nov 2016 17:59:36 +0000 (12:59 -0500)]
Fixed issue with some A2B0 images being too dark
The issue was with the A2B0 matrix not being scaled by its encoding
factor when it needed to be (for A2B0 matrices only).
NOTRY=true
NOTREECHECKS=true
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=5003
Change-Id: I3f202323e137e1b014e564bd96d87c601c4748ab
Reviewed-on: https://skia-review.googlesource.com/5003
Commit-Queue: Robert Aftias <raftias@google.com>
Reviewed-by: Matt Sarett <msarett@google.com>
Reviewed-on: https://skia-review.googlesource.com/5110
Matthew Leibowitz [Tue, 22 Nov 2016 09:24:05 +0000 (11:24 +0200)]
Added the C API for SkShadowMaskFilter
Matthew Leibowitz [Sat, 19 Nov 2016 04:21:03 +0000 (06:21 +0200)]
Enable the SSSE3 Xcode flag when building that project
Matthew Leibowitz [Fri, 18 Nov 2016 14:46:52 +0000 (16:46 +0200)]
Ignore a few warnings with MS VS
Matthew Leibowitz [Fri, 18 Nov 2016 03:15:09 +0000 (05:15 +0200)]
A few small changes made to types used
Matthew Leibowitz [Fri, 18 Nov 2016 02:31:42 +0000 (04:31 +0200)]
Seems git couldn't care about merging these files
Matthew Leibowitz [Fri, 18 Nov 2016 02:17:14 +0000 (04:17 +0200)]
Merge branch 'chrome/m56' into update-m56
- there is something wrong since there are missing files...
Matthew Leibowitz [Thu, 17 Nov 2016 19:59:39 +0000 (21:59 +0200)]
Merge pull request #36 from Tylerflick/xamarin-mobile-bindings
Add SkColorTable setting support to C API
Matthew Leibowitz [Thu, 17 Nov 2016 19:35:20 +0000 (21:35 +0200)]
Added a few more members to the C API
Heather Miller [Thu, 17 Nov 2016 19:03:42 +0000 (14:03 -0500)]
Fix milestone version number on branch
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4966
NOTREECHECKS=true
NOTRY=true
NOPRESUBMIT=true
Change-Id: I6a78060979066f839958c0e57d0898af6dcd7414
Reviewed-on: https://skia-review.googlesource.com/4966
Reviewed-by: Heather Miller <hcm@google.com>
Commit-Queue: Heather Miller <hcm@google.com>
Eric Boren [Wed, 16 Nov 2016 20:55:06 +0000 (15:55 -0500)]
[nobuildbot] More Android bots
- GalaxyS7
- NVIDIA_Shield
- Nexus10
- Nexus7
- Nexus9
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4915
Change-Id: Ie4fb27085fe154ddf15de4774de9932cde28e842
Reviewed-on: https://skia-review.googlesource.com/4915
Reviewed-by: Ben Wagner <benjaminwagner@google.com>
Commit-Queue: Eric Boren <borenet@google.com>
Matthew Leibowitz [Thu, 17 Nov 2016 02:33:31 +0000 (04:33 +0200)]
Added C API support for incremental codec decodes
Mike Klein [Wed, 16 Nov 2016 21:00:46 +0000 (16:00 -0500)]
Don't build :public_headers_warnings_check on NoGPU builds.
skia.h includes GPU headers. No real point in getting fancy here... if there are no unused parameters in all headers, there are no unused parameters in the subset of non-GPU headers.
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4916
Change-Id: Iaaea405633aabcc82e40cd4b1a2286aadd5cea17
Reviewed-on: https://skia-review.googlesource.com/4916
Reviewed-by: Mike Klein <mtklein@chromium.org>
Reviewed-by: Derek Sollenberger <djsollen@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
Herb Derby [Wed, 16 Nov 2016 21:23:24 +0000 (16:23 -0500)]
Use SkSmallAllocator for SamplerStage and Accessor.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4917
Change-Id: Id67d7c1cefa2aadfc706c56dd02d086120f99be3
Reviewed-on: https://skia-review.googlesource.com/4917
Commit-Queue: Herb Derby <herb@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Matt Sarett [Wed, 16 Nov 2016 21:07:15 +0000 (16:07 -0500)]
Hook into parametric and table raster pipeline stages
BUG:664864
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4913
CQ_INCLUDE_TRYBOTS=master.client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot
Change-Id: I909152f1abba60803f0ce2f970eec1f8f1816d78
Reviewed-on: https://skia-review.googlesource.com/4913
Commit-Queue: Matt Sarett <msarett@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Yuqian Li [Wed, 16 Nov 2016 20:34:59 +0000 (15:34 -0500)]
Turn off all SkDebugfs in SkScan_AAAPath.cpp
TBR=mtklein@google.com
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4912
Change-Id: Ia69f2932936e34bc487c9c468bba176de0b2b0df
Reviewed-on: https://skia-review.googlesource.com/4912
Reviewed-by: Yuqian Li <liyuqian@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Mike Klein <mtklein@chromium.org>
Yuqian Li [Wed, 16 Nov 2016 20:31:27 +0000 (15:31 -0500)]
No SkDebugf for approximate intersection
TBR=mtklein@google.com
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4911
Change-Id: I23bc298186f93c1a97a15d00b34f65cd72f964e7
Reviewed-on: https://skia-review.googlesource.com/4911
Reviewed-by: Yuqian Li <liyuqian@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Yuqian Li <liyuqian@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
Mike Reed [Wed, 16 Nov 2016 20:54:31 +0000 (15:54 -0500)]
remove CANVAS_IS_REFCNT flag from public.bzl
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4914
Change-Id: I3ea6c2b96dd79da9ebba659726cbab52bda21651
Reviewed-on: https://skia-review.googlesource.com/4914
Reviewed-by: Mike Reed <reed@google.com>
Florin Malita [Wed, 16 Nov 2016 19:45:34 +0000 (14:45 -0500)]
External SkImageGenerator API
Introduce an SkImageGenerator API to support the implementation of
externally-managed image decode and scale caches.
BUG=skia:5806
R=reed@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4720
Change-Id: Ibfe37af5471f78f28f88f9d5e80938882be1a344
Reviewed-on: https://skia-review.googlesource.com/4720
Commit-Queue: Florin Malita <fmalita@chromium.org>
Reviewed-by: Mike Reed <reed@google.com>
Kevin Lubick [Wed, 16 Nov 2016 19:07:17 +0000 (14:07 -0500)]
Add vulkan build to skpbench.
This also fixes the name of the tasks because skpbench is always GPU.
There was a config for monitoring the gpu clock instead of the cpu clock,
but this was removed because the gpu clock isn't very useful at the moment.
cpu clock is basically wall-time, i.e. an accurate measurement of the
entire test.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4873
Change-Id: If1c7dd3141e24f79555ee7b3756f09618df54cb4
Reviewed-on: https://skia-review.googlesource.com/4873
Commit-Queue: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Eric Boren <borenet@google.com>
csmartdalton [Wed, 16 Nov 2016 18:28:16 +0000 (11:28 -0700)]
Rename GrTextureBufferSampler to GrBufferSampler
Just a simple renaming to reinforce the Ganesh notion that a buffer
access is not related to a texture.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4879
Change-Id: I3f12b6eccff744e246618be0a7abf41c4a1228a1
Reviewed-on: https://skia-review.googlesource.com/4879
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Brian Salomon [Wed, 16 Nov 2016 17:06:01 +0000 (12:06 -0500)]
Revert "Revert "Add support for image load to SkSL""
This reverts commit
cb115bdeed5898ded3fdbe572a14616cff809b7c.
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4900
Change-Id: Ibcb381bae83d0cfc1a1226be90792061d401426a
Reviewed-on: https://skia-review.googlesource.com/4900
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Mike Klein [Wed, 16 Nov 2016 17:13:44 +0000 (12:13 -0500)]
GN: add public headers warnings check.
We already generate skia.h to include all public headers for Fiddle.
This just includes it with -Wunused-parameter turned on as an error.
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4901
Change-Id: Ia55a901c09a3c9c9d6d35a43259431dba3532ed9
Reviewed-on: https://skia-review.googlesource.com/4901
Reviewed-by: Derek Sollenberger <djsollen@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
Brian Salomon [Wed, 16 Nov 2016 17:55:57 +0000 (12:55 -0500)]
Rename kTexture2DISampler to kITexture2DSampler.
Also remove unused kGrSLTypeCount.
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4903
Change-Id: I7f934c56515424b2668886dec2f16296a1256e2c
Reviewed-on: https://skia-review.googlesource.com/4903
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Chris Dalton <csmartdalton@google.com>
Mike Klein [Wed, 16 Nov 2016 18:38:15 +0000 (13:38 -0500)]
Add trace and registers stages.
Yet more debugging tools.
TBR=herb@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4908
CQ_INCLUDE_TRYBOTS=master.client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot
Change-Id: I92e2e6b17abfc32c8d3554e71dbf95abadbb3824
Reviewed-on: https://skia-review.googlesource.com/4908
Commit-Queue: Mike Klein <mtklein@chromium.org>
Reviewed-by: Herb Derby <herb@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Herb Derby [Wed, 16 Nov 2016 18:26:42 +0000 (13:26 -0500)]
Use SkSmallAllocator for tiling.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4904
Change-Id: If401ea43454b46591d6f39492e7761b16a7e7a29
Reviewed-on: https://skia-review.googlesource.com/4904
Commit-Queue: Herb Derby <herb@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Mike Reed [Wed, 16 Nov 2016 18:13:16 +0000 (13:13 -0500)]
move SkBlendMode_Name into public (for chrome)
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4905
Change-Id: I4f6cbc7b4d2a9d41ba5da39d550961587f30a4ac
Reviewed-on: https://skia-review.googlesource.com/4905
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
Kevin Lubick [Tue, 15 Nov 2016 21:07:02 +0000 (16:07 -0500)]
Add back in min/max check on fuzzer range
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4798
Change-Id: Ia93b4eeea82dd04f0c6bd287f61d26086a0aa740
Reviewed-on: https://skia-review.googlesource.com/4798
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
robertphillips [Wed, 16 Nov 2016 19:17:17 +0000 (11:17 -0800)]
Add IORef capability to GrSurfaceProxy objects - take 2
Re-landing of https://skia-review.googlesource.com/c/4734/ (Add IORef capability to GrSurfaceProxy objects) with fixes for:
platforms that don't support discards.
memory leak due to copying over of GrSurfaceProxy's creation ref to instantiated GrSurface in instantiate()
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4827
BUG=skia:
Change-Id: If0b695d5cafc5ef3fdd251c38262849d09e5d27f
Review-Url: https://codereview.chromium.org/
2502923003
Yuqian Li [Wed, 16 Nov 2016 18:07:57 +0000 (13:07 -0500)]
Fix mask overflow caused by edge drift
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4797
Change-Id: Ica1568b67c1e1ce4aae2bdaba2c5b1f2155d1382
Reviewed-on: https://skia-review.googlesource.com/4797
Reviewed-by: Cary Clark <caryclark@google.com>
Yuqian Li [Wed, 16 Nov 2016 16:54:48 +0000 (11:54 -0500)]
Drop forceRLE to simplify aaa_walk_convex_edges
The virtual flush function doesn't seem to affect the performance much.
Maybe there's a 1% drop in performance in nanobench against
fill_big_triangle and fill_big_circle, but that's too small a change for
nanobench to reliabily diffrentiate.
The smooth jump (ignore fractional y if edges don't change their
directions significantly) no longer needs to be guarded against SkAAClip
because our recent CL (https://skia-review.googlesource.com/c/4636/)
make left/rightBound much tighter.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4899
Change-Id: If323013b810cc1ff5f6dbb868a8981354ee6f9b5
Reviewed-on: https://skia-review.googlesource.com/4899
Reviewed-by: Mike Reed <reed@google.com>
Reviewed-by: Stan Iliev <stani@google.com>
Commit-Queue: Yuqian Li <liyuqian@google.com>
Commit-Queue: Stan Iliev <stani@google.com>
Tylerflick [Wed, 16 Nov 2016 17:33:17 +0000 (09:33 -0800)]
remove duplicate function
Eric Boren [Wed, 16 Nov 2016 15:49:52 +0000 (10:49 -0500)]
infra recipe: Add -t flag to "go test"
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4896
Change-Id: Iff66f67a28b65797446d0ba26064f00dc948bb47
Reviewed-on: https://skia-review.googlesource.com/4896
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
Commit-Queue: Eric Boren <borenet@google.com>
Matthew Leibowitz [Wed, 16 Nov 2016 16:12:27 +0000 (18:12 +0200)]
Merge pull request #37 from google/chrome/m55
Compute the correct dst->src rect for bitmap tiles in SkGpuDevice
Yuqian Li [Wed, 16 Nov 2016 15:12:58 +0000 (10:12 -0500)]
Simplify the signature of sk/aaa_fill_path
Previously, the clipRect is either equal to nullptr or clipRgn's bound
(after necessary supersampling shift). Hence we drop one of them to make
the signature simpler.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4874
Change-Id: Ied8d5313809d6cf90374365b01f2b8d52f2236e2
Reviewed-on: https://skia-review.googlesource.com/4874
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Yuqian Li <liyuqian@google.com>
Jim Van Verth [Wed, 16 Nov 2016 15:15:23 +0000 (10:15 -0500)]
Fix error with transforming custom/large glyphs
BUG=661244
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4738
Change-Id: I9f14ca830f9de92000e751a4a99ff1eb9b01db33
Reviewed-on: https://skia-review.googlesource.com/4866
Reviewed-by: Robert Phillips <robertphillips@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Mike Reed [Tue, 15 Nov 2016 21:44:34 +0000 (16:44 -0500)]
make SkXfermode.h go away
This is step one:
- make SkXfermode useless to public clients
- everything they should need is in SkBlendMode.h
Step two:
- remove SkXfermode.h entirely (since skia core will already be using SkXfermodePriv.h)
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4534
Change-Id: If2cea9f71df92430ed6644edb98dd306c5572cbc
Reviewed-on: https://skia-review.googlesource.com/4534
Commit-Queue: Mike Reed <reed@google.com>
Reviewed-by: Florin Malita <fmalita@chromium.org>
egdaniel [Wed, 16 Nov 2016 15:29:51 +0000 (07:29 -0800)]
Revert of added support for push_constant layout (patchset #7 id:140001 of https://codereview.chromium.org/
2187433003/ )
Reason for revert:
hitting assert in vulkan
Original issue's description:
> added support for push_constant layout
>
> BUG=skia:
> GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=
2187433003
>
> Committed: https://skia.googlesource.com/skia/+/
fa5f65ac61fd525029aa9dab161ffe4896c10f6d
TBR=ethannicholas@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/
2509673002
Stan Iliev [Wed, 16 Nov 2016 15:25:42 +0000 (15:25 +0000)]
Revert "Add support for image load to SkSL"
This reverts commit
bd85a105ba7b3ee2008d20fb9281bfb47325ad0e.
Reason for revert: Needing to revert a dependent CL
Original change's description:
> Add support for image load to SkSL
>
> GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4865
>
> Change-Id: I4647e6b255946ced2b1b8cb05e62f0f5a8ad28b6
> Reviewed-on: https://skia-review.googlesource.com/4865
> Commit-Queue: Brian Salomon <bsalomon@google.com>
> Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
>
TBR=bsalomon@google.com,ethannicholas@google.com,reviews@skia.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
Change-Id: I45932a53c606aadd645ee2b8264f08ad63429939
Reviewed-on: https://skia-review.googlesource.com/4892
Commit-Queue: Stan Iliev <stani@google.com>
Reviewed-by: Stan Iliev <stani@google.com>
Mike Klein [Wed, 16 Nov 2016 14:01:30 +0000 (09:01 -0500)]
add {parametric,table}_{r,g,b} stages.
Think you can take over from here, hook these into SkColorSpaceXform_A2B, and remove the need for fn_1_{r,g,b}?
BUG=skia:664864
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4888
CQ_INCLUDE_TRYBOTS=master.client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot
Change-Id: If573fa2861f32f201f4db28598559290b1eef812
Reviewed-on: https://skia-review.googlesource.com/4888
Commit-Queue: Mike Klein <mtklein@chromium.org>
Reviewed-by: Matt Sarett <msarett@google.com>
Eric Boren [Wed, 16 Nov 2016 12:14:36 +0000 (07:14 -0500)]
[nobuildbot] Nexus 5
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4870
Change-Id: Id8bcb72926155d8754e99e5ec5b3ae2461b22e0f
Reviewed-on: https://skia-review.googlesource.com/4870
Reviewed-by: Ben Wagner <benjaminwagner@google.com>