bsalomon [Thu, 3 Mar 2016 23:43:03 +0000 (15:43 -0800)]
Pull and build shaderc rather than use checked in lib/header
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1760493003
Committed: https://skia.googlesource.com/skia/+/
7d4490ecfa4d974003f675ef004e77f85ecfadd2
Review URL: https://codereview.chromium.org/
1760493003
halcanary [Thu, 3 Mar 2016 22:23:47 +0000 (14:23 -0800)]
Revert of enforce 16byte alignment in shader contexts (patchset #1 id:1 of https://codereview.chromium.org/
1759653004/ )
Reason for revert:
Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86-Debug failed dm:
....
FYI: loaded 23439 distinct uninteresting hashes from 23439 lines
Skipping config gpu: Don't understand 'gpu'.
Skipping config msaa16: Don't understand 'msaa16'.
168400 srcs * 7 sinks + 481 tests == 1179281 tasks
0ns elapsed, 5 active, 1179276 queued, 55MB RAM, 55MB peak
565 gm xfermodes2
565 gm xfermodes
565 gm xfermodeimagefilter
565 gm xfermodes3
565 gm verylarge_picture_image
c:\0\build\slave\workdir\build\skia\src\core\skshader.cpp:108:
fatal error: ""(0 == ((size) & 15))""
step returned non-zero exit code: 3
@@@STEP_FAILURE@@@
Original issue's description:
> enforce 16byte alignment in shader contexts
>
> BUG=skia:
> GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1759653004
>
> Committed: https://skia.googlesource.com/skia/+/
d812fb458807245daa812adb7af0733cf5b54d96
TBR=mtklein@google.com,fmalita@chromium.org,herb@google.com,reed@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/
1759323002
bungeman [Thu, 3 Mar 2016 21:32:38 +0000 (13:32 -0800)]
Force tiles in SampleApp to integer boundaries.
The current behavior is to create tiles from the rounded ideal tile size,
tell the tile that it's upper left pixel is at the ideal location, and
then draw those tiles at the ideal locations. As a result, the tiles are
be out of phase with each other internally and then actually drawn at
the rounded pixel location instead of the ideal location.
The new behavior is to always round up to get the tile size, make the
tile translation an integer offset, and then draw at the exact pixel.
This also modifies SampleApp to use the numeric keypad to provide an
extra manual 1/32 pixel translation for fine grained movement.
BUG=skia:5020
Review URL: https://codereview.chromium.org/
1763833002
reed [Thu, 3 Mar 2016 21:25:25 +0000 (13:25 -0800)]
enforce 16byte alignment in shader contexts
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1759653004
Review URL: https://codereview.chromium.org/
1759653004
brianosman [Thu, 3 Mar 2016 20:52:54 +0000 (12:52 -0800)]
Revert of respect sRGB when converting from sk to gr configs (patchset #1 id:1 of https://codereview.chromium.org/
1756913003/ )
Reason for revert:
Two major regressions from this change:
- Mac images may end up too bright, if they're correctly tagged as sRGB. That's a sub-set of a much larger issue where L32 mode needs to suppress sRGB -> Linear conversion of pretty much everything.
- Various low-end GPUs (Mali400 Android, iPad4) don't render in sRGB at all, causing tests to produce no output at all.
Original issue's description:
> respect sRGB when converting from sk to gr configs
>
> BUG=skia:
> GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1756913003
>
> Committed: https://skia.googlesource.com/skia/+/
c6663dc36b157e40c8225130f5970a346f9ba7c3
TBR=reed@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/
1759653005
jcgregorio [Thu, 3 Mar 2016 20:46:12 +0000 (12:46 -0800)]
cmake: Exclude vulkan directory.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1763813002
CQ_EXTRA_TRYBOTS=client.skia.compile:Build-Ubuntu-GCC-x86_64-Release-CMake-Trybot,Build-Mac-Clang-x86_64-Release-CMake-Trybot
Review URL: https://codereview.chromium.org/
1763813002
joshualitt [Thu, 3 Mar 2016 19:39:38 +0000 (11:39 -0800)]
Remove dependency on SkJsonCanvas.h
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1748183007
NOTRY=True
Review URL: https://codereview.chromium.org/
1748183007
mtklein [Thu, 3 Mar 2016 17:48:53 +0000 (09:48 -0800)]
rewrite TArray test to not delete an SkSTArray via a SkTArray pointer.
This should decouple our thinking around SkTArray, SkSTArray, vector, allocators, etc. from getting sized-deleter clean.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1760933002
Review URL: https://codereview.chromium.org/
1760933002
reed [Thu, 3 Mar 2016 17:36:50 +0000 (09:36 -0800)]
Revert of add support for new bitmapshader context (patchset #5 id:80001 of https://codereview.chromium.org/
1757993002/ )
Reason for revert:
oops, need to update bench to know about the large size needed for the new shader
Original issue's description:
> add support for new bitmapshader context
>
> BUG=skia:
> GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1757993002
>
> Committed: https://skia.googlesource.com/skia/+/
19cef56344b5a5f26f802d7be34c44af36b7e797
TBR=herb@google.com,mtklein@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/
1763743002
reed [Thu, 3 Mar 2016 17:16:22 +0000 (09:16 -0800)]
add support for new bitmapshader context
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1757993002
Review URL: https://codereview.chromium.org/
1757993002
reed [Thu, 3 Mar 2016 17:14:36 +0000 (09:14 -0800)]
Revert of move annotations to canvas virtual (patchset #8 id:140001 of https://codereview.chromium.org/
1744103002/ )
Reason for revert:
need to update unittest in blink:
FAILED: /b/build/goma/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/third_party/WebKit/Source/core/page/webkit_unit_tests.PrintContextTest.o.d -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE=0 -DCHROMIUM_BUILD -DCR_CLANG_REVISION=261368-1 -DCOMPONENT_BUILD -DUSE_LIBJPEG_TURBO=1 -DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1 -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DENABLE_TOPCHROME_MD=1 -DDCHECK_ALWAYS_ON=1 -DFIELDTRIAL_TESTING_ENABLED -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PDF=1 -DENABLE_PLUGIN_INSTALLATION=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_PRINT_PREVIEW=1 -DENABLE_SPELLCHECK=1 -DUSE_BROWSER_SPELLCHECKER=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_SERVICE_DISCOVERY=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DBLINK_IMPLEMENTATION=1 -DINSIDE_BLINK -DMOJO_USE_SYSTEM_IMPL -DGTEST_HAS_POSIX_RE=0 -DGTEST_LANG_CXX11=0 -DSKIA_DLL -DGR_GL_IGNORE_ES3_MSAA=0 -DSK_SUPPORT_GPU=1 -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DCHROME_PNG_WRITE_SUPPORT -DPNG_USER_CONFIG -DENABLE_LAYOUT_UNIT_IN_INLINE_BOXES=0 -DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1 -DENABLE_INPUT_MULTIPLE_FIELDS_UI=1 -DWTF_USE_ICCJPEG=1 -DWTF_USE_QCMSLIB=1 -DENABLE_OILPAN=1 -DUNIT_TEST -DGTEST_HAS_RTTI=0 -DV8_SHARED -DUSING_V8_SHARED -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -Igen -I../../third_party/WebKit/public/web -I../../third_party/WebKit/Source/web -I../../third_party/WebKit/Source/web/src -I../../third_party/WebKit/public/web/mac -I../.. -I../../skia/config -I../../third_party/WebKit/Source -I../../third_party/khronos -I../../gpu -Igen/angle -I../../third_party/WebKit -I../../skia/ext -I../../third_party/skia/include/core -I../../third_party/skia/include/effects -I../../third_party/skia/include/pdf -I../../third_party/skia/include/gpu -I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops -I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports -I../../third_party/skia/include/utils -I../../third_party/skia/include/utils/mac -I../../third_party/icu/source/common -I../../third_party/npapi -I../../third_party/npapi/bindings -I../../third_party/libpng -I../../third_party/ots/include -I../../third_party/qcms/src -I../../third_party/iccjpeg -I../../third_party/libjpeg_turbo -I../../third_party/WebKit -I../../third_party/icu/source/i18n -I../../testing/gmock/include -I../../testing/gtest/include -I../../third_party/libwebp -I../../third_party/zlib -I../../v8/include -Igen/blink -isysroot /Applications/Xcode5.1.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -O0 -fvisibility=hidden -Werror -mmacosx-version-min=10.6 -arch x86_64 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-selector-type-mismatch -Wpartial-availability -Wheader-hygiene -Wno-char-subscripts -Wno-unneeded-internal-declaration -Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing -Wno-deprecated-register -Wno-inconsistent-missing-override -Wno-shift-negative-value -Wexit-time-destructors -std=c++11 -stdlib=libc++ -fno-rtti -fno-exceptions -fvisibility-inlines-hidden -fno-threadsafe-statics -Xclang -load -Xclang /b/build/slave/mac/build/src/third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.dylib -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang check-templates -Xclang -plugin-arg-find-bad-constructs -Xclang follow-macro-expansion -fcolor-diagnostics -fno-strict-aliasing -Xclang -load -Xclang /b/build/slave/mac/build/src/third_party/llvm-build/Release+Asserts/lib/libBlinkGCPlugin.dylib -Xclang -add-plugin -Xclang blink-gc-plugin -Xclang -plugin-arg-blink-gc-plugin -Xclang enable-oilpan -Xclang -plugin-arg-blink-gc-plugin -Xclang warn-raw-ptr -fstack-protector-all -c ../../third_party/WebKit/Source/core/page/PrintContextTest.cpp -o obj/third_party/WebKit/Source/core/page/webkit_unit_tests.PrintContextTest.o
../../third_party/WebKit/Source/core/page/PrintContextTest.cpp:54:20: error: no member named 'getAnnotation' in 'SkPaint'
if (!paint.getAnnotation())
~~~~~ ^
Original issue's description:
> move annotations to canvas virtual
>
> In an effort to do it all at once, this change assumes that its ok to ignore annotations that were previously stored on paints in old SKP files (since this feature is only interesting to PDF printing).
>
> BUG=skia:
> GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1744103002
>
> Committed: https://skia.googlesource.com/skia/+/
0eda2587cc9233066cb3f3fec08f35c061780f8e
TBR=halcanary@google.com,fmalita@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/
1761793003
msarett [Thu, 3 Mar 2016 16:38:26 +0000 (08:38 -0800)]
Remove unused tools and unused includes of SkImageDecoder
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1760583003
Review URL: https://codereview.chromium.org/
1760583003
reed [Thu, 3 Mar 2016 16:13:54 +0000 (08:13 -0800)]
move annotations to canvas virtual
In an effort to do it all at once, this change assumes that its ok to ignore annotations that were previously stored on paints in old SKP files (since this feature is only interesting to PDF printing).
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1744103002
Review URL: https://codereview.chromium.org/
1744103002
reed [Thu, 3 Mar 2016 16:03:20 +0000 (08:03 -0800)]
respect sRGB when converting from sk to gr configs
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1756913003
Review URL: https://codereview.chromium.org/
1756913003
bungeman [Thu, 3 Mar 2016 15:50:49 +0000 (07:50 -0800)]
Add operator* and operator safe-bool to sk_sp.
This greatly reduces the need to use '.get()' in conditionals.
Review URL: https://codereview.chromium.org/
1760453004
kkinnunen [Thu, 3 Mar 2016 15:39:48 +0000 (07:39 -0800)]
Revert of Implement support for using GL ES 3.0 with command buffer (patchset #6 id:100001 of https://codereview.chromium.org/
1684413003/ )
Reason for revert:
The dependency, ES3 implementation in command_buffer_gles2, got reverted.
Original issue's description:
> Implement support for using GL ES 3.0 with command buffer
>
> Adds a new 'api': --config gpu(api=commandbuffer3) for dm/nanobench.
>
> BUG=skia:4943
> GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1684413003
>
> Committed: https://skia.googlesource.com/skia/+/
45c2c8166bbd84a87e29fdd344b39e36e8a28a3f
TBR=bsalomon@google.com
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=skia:4943
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1744963002
Review URL: https://codereview.chromium.org/
1744963002
yujieqin [Thu, 3 Mar 2016 15:38:27 +0000 (07:38 -0800)]
Verify the full size returned by PIEX
As the full size info is only optional, one needs to verify the values
before using them
BUG=b/
27422694
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1757273002
Review URL: https://codereview.chromium.org/
1757273002
yujieqin [Thu, 3 Mar 2016 14:56:19 +0000 (06:56 -0800)]
Revert of Update DNG SDK version. (patchset #4 id:60001 of https://codereview.chromium.org/
1748363004/ )
Reason for revert:
Sorry for breaking the build again...
Original issue's description:
> Update DNG SDK version.
>
> * Integrate integer overflow changes from security branch
>
> BUG=b/
26535130
> GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1748363004
>
> Committed: https://skia.googlesource.com/skia/+/
be2924ad17d47f4ed49666894d87571a28f89567
>
> Committed: https://skia.googlesource.com/skia/+/
62c0f75159674087079140e09ef1396316577754
TBR=msarett@google.com,scroggo@google.com
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=b/
26535130
Review URL: https://codereview.chromium.org/
1755283004
fmalita [Thu, 3 Mar 2016 14:41:54 +0000 (06:41 -0800)]
[Reland] Fix SkTwoPointConicalGradient zero-radius handling
r == 0 is within valid gradient range, we shouldn't skip it.
BUG=skia:5023
R=caryclark@google.com,reed@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1756573002
Committed: https://skia.googlesource.com/skia/+/
9c0b02a557e9be663a0eb07519e1b6a61a6c3df2
Review URL: https://codereview.chromium.org/
1756573002
yujieqin [Thu, 3 Mar 2016 14:41:48 +0000 (06:41 -0800)]
Update DNG SDK version.
* Integrate integer overflow changes from security branch
BUG=b/
26535130
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1748363004
Committed: https://skia.googlesource.com/skia/+/
be2924ad17d47f4ed49666894d87571a28f89567
Review URL: https://codereview.chromium.org/
1748363004
Eric Boren [Thu, 3 Mar 2016 13:01:33 +0000 (08:01 -0500)]
Revert "Pull and build shaderc rather than use checked in lib/header"
This reverts commit
7d4490ecfa4d974003f675ef004e77f85ecfadd2.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1757253002
Review URL: https://codereview.chromium.org/
1757253002 .
mtklein [Thu, 3 Mar 2016 01:15:15 +0000 (17:15 -0800)]
Disable ignored / moot configs in DM.
- upright-matrix-* are ignored in Gold. Let's stop wasting time.
- twice-8888 is silly. ViaTwice was added to help locally test caching / batching
in the GPU backend. Running it into a software backend is not testing anything
interesting, and doing that on the bots is doubly uninteresting.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1756333002
Review URL: https://codereview.chromium.org/
1756333002
bsalomon [Wed, 2 Mar 2016 23:59:23 +0000 (15:59 -0800)]
Pull and build shaderc rather than use checked in lib/header
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1760493003
Review URL: https://codereview.chromium.org/
1760493003
bsalomon [Wed, 2 Mar 2016 22:44:15 +0000 (14:44 -0800)]
Only modify abort behavior to avoid debugger dialog on windows for bot builds.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1752973003
Review URL: https://codereview.chromium.org/
1752973003
egdaniel [Wed, 2 Mar 2016 22:29:10 +0000 (14:29 -0800)]
Fix array in matrixconvolution shader
TBR=halcanary@google.com
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1756353002
Review URL: https://codereview.chromium.org/
1756353002
jvanverth [Wed, 2 Mar 2016 21:21:16 +0000 (13:21 -0800)]
Pack float array uniforms into vec4 arrays
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1756583002
Review URL: https://codereview.chromium.org/
1756583002
jvanverth [Wed, 2 Mar 2016 21:19:47 +0000 (13:19 -0800)]
Use VkPipelineCaches during VkPipeline creation
BUG=skia:5037
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1756493002
Review URL: https://codereview.chromium.org/
1756493002
reed [Wed, 2 Mar 2016 21:03:46 +0000 (13:03 -0800)]
update SkSmallAllocator to force internal allocations to be 16-byte aligned
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1755293002
Review URL: https://codereview.chromium.org/
1755293002
stephana [Wed, 2 Mar 2016 20:45:04 +0000 (12:45 -0800)]
Temporarily disable ios compile bot
BUG=skia:
TBR=rmistry
NOTRY=true
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1757053002
Review URL: https://codereview.chromium.org/
1757053002
jvanverth [Wed, 2 Mar 2016 20:08:22 +0000 (12:08 -0800)]
Replace some nullptrs with VK_NULL_HANDLE
Also ensures GrVkRenderPass.h ends with a LF.
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1758003002
NOTRY=true
Review URL: https://codereview.chromium.org/
1758003002
robertphillips [Wed, 2 Mar 2016 19:36:59 +0000 (11:36 -0800)]
Retract GrDrawTarget and GrPipelineBuilder a bit more
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1761523002
NOTRY=true
Review URL: https://codereview.chromium.org/
1761523002
bsalomon [Wed, 2 Mar 2016 18:58:23 +0000 (10:58 -0800)]
Get Vk compiling post-MIP map changes
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1761473002
NOTRY=true
Review URL: https://codereview.chromium.org/
1761473002
reed [Wed, 2 Mar 2016 17:49:02 +0000 (09:49 -0800)]
fission bitmapprocstate
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1753903002
CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot
Review URL: https://codereview.chromium.org/
1753903002
robertphillips [Wed, 2 Mar 2016 17:26:36 +0000 (09:26 -0800)]
Begin weaning GrClipMaskManager off of GrDrawTarget (take 2)
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1754563003
Committed: https://skia.googlesource.com/skia/+/
86c60758e9e4f9e203d7462cb22b2a245a0f51bd
Review URL: https://codereview.chromium.org/
1754563003
jcgregorio [Wed, 2 Mar 2016 17:03:01 +0000 (09:03 -0800)]
debugger: Only bind to the localhost address by default.
Also add a flag to set the address.
Additionally print out the final address the user should visit in their browser.
R=joshualitt,ethannicholas
BUG=skia:
Review URL: https://codereview.chromium.org/
1756903002
fmalita [Wed, 2 Mar 2016 16:53:22 +0000 (08:53 -0800)]
4f gradient interval builder cleanup
Untangle the builder, for hopefully improved readability.
R=reed@google.com,mtklein@google.com,herb@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1753853002
Review URL: https://codereview.chromium.org/
1753853002
robertphillips [Wed, 2 Mar 2016 16:53:12 +0000 (08:53 -0800)]
Revert of Begin weaning GrClipMaskManager off of GrDrawTarget (take 2) (patchset #7 id:120001 of https://codereview.chromium.org/
1754563003/ )
Reason for revert:
fAuditTrail
Original issue's description:
> Begin weaning GrClipMaskManager off of GrDrawTarget (take 2)
>
> GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1754563003
>
> Committed: https://skia.googlesource.com/skia/+/
86c60758e9e4f9e203d7462cb22b2a245a0f51bd
TBR=joshualitt@chromium.org,bsalomon@google.com,joshualitt@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/
1754353002
robertphillips [Wed, 2 Mar 2016 16:43:13 +0000 (08:43 -0800)]
Begin weaning GrClipMaskManager off of GrDrawTarget (take 2)
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1754563003
Review URL: https://codereview.chromium.org/
1754563003
joshualitt [Wed, 2 Mar 2016 16:32:37 +0000 (08:32 -0800)]
add /img/n/m endpoint to skiaserve
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1755563003
Review URL: https://codereview.chromium.org/
1755563003
halcanary [Wed, 2 Mar 2016 16:21:39 +0000 (08:21 -0800)]
sk_sp: remove explicit operator bool()
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1757593005
Review URL: https://codereview.chromium.org/
1757593005
robertphillips [Wed, 2 Mar 2016 16:16:32 +0000 (08:16 -0800)]
Partial revert of https://codereview.chromium.org/
1738913002/ (Enable RAW codec for Windows)
This un-breaks the MSVC 2015 build.
Review URL: https://codereview.chromium.org/
1753243003
joshualitt [Wed, 2 Mar 2016 16:11:34 +0000 (08:11 -0800)]
Wire up stack traces again
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1749163002
Review URL: https://codereview.chromium.org/
1749163002
halcanary [Wed, 2 Mar 2016 16:11:26 +0000 (08:11 -0800)]
sk_sp: Covariant Move Constructor and Move Assignment
Also Covariant Copy Constructor, Copy Assignment,
and comparison operators.
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1752093002
Review URL: https://codereview.chromium.org/
1752093002
borenet [Wed, 2 Mar 2016 16:06:27 +0000 (08:06 -0800)]
Swarming bots: Add support for perf steps
NOTRY=true
BUG=skia:4763
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1754843002
Review URL: https://codereview.chromium.org/
1754843002
halcanary [Wed, 2 Mar 2016 16:06:20 +0000 (08:06 -0800)]
sk_make_sp<T>()
because
auto atm = sk_make_sp<SkAdvancedTypefaceMetrics>();
is better than
sk_sp<SkAdvancedTypefaceMetrics> atm(new SkAdvancedTypefaceMetrics);
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1753973002
Review URL: https://codereview.chromium.org/
1753973002
fmalita [Wed, 2 Mar 2016 14:34:24 +0000 (06:34 -0800)]
Revert of Fix SkTwoPointConicalGradient zero-radius handling (patchset #2 id:20001 of https://codereview.chromium.org/
1756573002/ )
Reason for revert:
One layout test shows a regression: https://storage.googleapis.com/chromium-layout-test-archives/linux_blink_rel/83359/layout-test-results/fast/gradients/crash-on-zero-radius-diffs.html
Original issue's description:
> Fix SkTwoPointConicalGradient zero-radius handling
>
> r == 0 is within valid gradient range, we shouldn't skip it.
>
> BUG=skia:5023
> R=caryclark@google.com,reed@google.com
> GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1756573002
>
> Committed: https://skia.googlesource.com/skia/+/
9c0b02a557e9be663a0eb07519e1b6a61a6c3df2
TBR=caryclark@google.com,reed@google.com,fmalita@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:5023
Review URL: https://codereview.chromium.org/
1754113003
robertphillips [Wed, 2 Mar 2016 13:36:30 +0000 (05:36 -0800)]
Revert of Generate Signed Distance Field directly from vector path (patchset #13 id:240001 of https://codereview.chromium.org/
1643143002/ )
Reason for revert:
This patch seems to be generating the assert:
GrDistanceFieldGenFromVector.cpp:748: fatal error: ""0 && \"Winding number should be zero at the end of a scan line.\"""
Original issue's description:
> Generate Signed Distance Field directly from vector path
>
> Add SkGenerateDistanceFieldFromPath API to generate signed distance field directly from SkPath.
> Currently only support even odd fill type.
>
> BUG=skia:
> GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1643143002
>
> Committed: https://skia.googlesource.com/skia/+/
4de97a64e8829323a7070b623411d9f9ddb0cd0f
TBR=bsalomon@google.com,jvanverth@google.com,mtklein@google.com,wasim.abbas@arm.com,joel.liang@arm.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/
1757913002
yujieqin [Wed, 2 Mar 2016 12:57:09 +0000 (04:57 -0800)]
Revert of Update DNG SDK version. (patchset #3 id:40001 of https://codereview.chromium.org/
1748363004/ )
Reason for revert:
This breaks the ChromeOS build. E.g. https://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-x86_64-Release-CrOS_Link/builds/5215/steps/build%20most/logs/stdio
Original issue's description:
> Update DNG SDK version.
>
> * Integrate integer overflow changes from security branch
>
> BUG=b/
26535130
> GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1748363004
>
> Committed: https://skia.googlesource.com/skia/+/
be2924ad17d47f4ed49666894d87571a28f89567
TBR=msarett@google.com,scroggo@google.com
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=b/
26535130
Review URL: https://codereview.chromium.org/
1755743003
yujieqin [Wed, 2 Mar 2016 11:30:38 +0000 (03:30 -0800)]
Update DNG SDK version.
* Integrate integer overflow changes from security branch
BUG=b/
26535130
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1748363004
Review URL: https://codereview.chromium.org/
1748363004
kkinnunen [Wed, 2 Mar 2016 07:41:26 +0000 (23:41 -0800)]
nanobench: Use device independent font flag for GPU configs
Actually use the device independent font flag that the user passes
via "--config 'gpu(dit=true,...)'"
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1747173002
Review URL: https://codereview.chromium.org/
1747173002
joel.liang [Wed, 2 Mar 2016 02:29:32 +0000 (18:29 -0800)]
Generate Signed Distance Field directly from vector path
Add SkGenerateDistanceFieldFromPath API to generate signed distance field directly from SkPath.
Currently only support even odd fill type.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1643143002
Review URL: https://codereview.chromium.org/
1643143002
herb [Tue, 1 Mar 2016 23:18:52 +0000 (15:18 -0800)]
Introduce bilerp spans
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1751943002
Review URL: https://codereview.chromium.org/
1751943002
bungeman [Tue, 1 Mar 2016 23:15:09 +0000 (15:15 -0800)]
SkFontHost_FreeType constructor to correctly release resources.
BUG=chromium:589848
Review URL: https://codereview.chromium.org/
1751883004
robertphillips [Tue, 1 Mar 2016 22:49:44 +0000 (14:49 -0800)]
Force values to 0.0f in QuadUVMatrix::set
BUG=skia:5002
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1749373002
Review URL: https://codereview.chromium.org/
1749373002
fmalita [Tue, 1 Mar 2016 22:28:27 +0000 (14:28 -0800)]
Fix SkTwoPointConicalGradient zero-radius handling
r == 0 is within valid gradient range, we shouldn't skip it.
BUG=skia:5023
R=caryclark@google.com,reed@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1756573002
Review URL: https://codereview.chromium.org/
1756573002
joshualitt [Tue, 1 Mar 2016 22:22:02 +0000 (14:22 -0800)]
Change skiaserve color palette for drawing batch bounds
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1756603002
Review URL: https://codereview.chromium.org/
1756603002
robertphillips [Tue, 1 Mar 2016 22:10:23 +0000 (14:10 -0800)]
Fix MSVC 2015 compiler complaint
This is/was slowly, but surely, driving me insane:
DM.cpp(150): warning C4838: conversion from 'DWORD' to 'int' requires a narrowing conversion
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1749363002
Review URL: https://codereview.chromium.org/
1749363002
cblume [Tue, 1 Mar 2016 22:08:28 +0000 (14:08 -0800)]
Disabling calls to TexParameteri when the values do not exist on ES2.
BUG=590804
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1750833003
Review URL: https://codereview.chromium.org/
1750833003
cblume [Tue, 1 Mar 2016 21:54:30 +0000 (13:54 -0800)]
Adding anisotropic mipmap levels to SkMipMap.
Adding 1x2, 1x3, 2x1, 3x1 filters to SkMipMap and enabling SkMipMap to generate anisotropic mip levels.
BUG=590804
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1750303002
Review URL: https://codereview.chromium.org/
1750303002
herb [Tue, 1 Mar 2016 21:54:08 +0000 (13:54 -0800)]
Handle spans in sampling.
Older version copied over.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1743123004
Review URL: https://codereview.chromium.org/
1743123004
brianosman [Tue, 1 Mar 2016 21:44:28 +0000 (13:44 -0800)]
Revert of Progress on gamma-correctness in the GPU backend. Fixed conversion of color and profile type to pix… (patchset #1 id:1 of https://codereview.chromium.org/
1750383002/ )
Reason for revert:
GM breakage. Changes to SkGr.cpp appear to be altering behavior on a variety of tests. Debugging...
Original issue's description:
> Progress on gamma-correctness in the GPU backend. Fixed conversion of color and profile type to pixel config, which makes many things "just work".
>
> Added (color=8888|f16|srgb) option to gpu configurations, along with gpuf16, gpusrgb, and anglesrgb predefined configs. Runs the gpu backend in gamma-correct mode (with either FP16 linear or sRGB 8888 frambuffers).
>
> BUG=skia:
> GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1750383002
>
> Committed: https://skia.googlesource.com/skia/+/
a6f58194733c1c50e4fe5f98585e42344f29b6f0
TBR=mtklein@google.com,bsalomon@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/
1755553003
benjaminwagner [Tue, 1 Mar 2016 21:44:10 +0000 (13:44 -0800)]
Check bounds before casting float to integer in SamplePatch.cpp and SkBlurMaskFilter::CreateEmboss.
BUG=skia:4632
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1693013002
Review URL: https://codereview.chromium.org/
1693013002
msarett [Tue, 1 Mar 2016 21:29:15 +0000 (13:29 -0800)]
Fix FrontBufferedStreamTest
TBR=scroggo@google.com
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1747423002
Review URL: https://codereview.chromium.org/
1747423002
egdaniel [Tue, 1 Mar 2016 20:56:15 +0000 (12:56 -0800)]
Implement various vulkan stencil clears and fix various stenciling bugs.
BUG=skia:4973
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1755753002
Review URL: https://codereview.chromium.org/
1755753002
brianosman [Tue, 1 Mar 2016 20:53:06 +0000 (12:53 -0800)]
Progress on gamma-correctness in the GPU backend. Fixed conversion of color and profile type to pixel config, which makes many things "just work".
Added (color=8888|f16|srgb) option to gpu configurations, along with gpuf16, gpusrgb, and anglesrgb predefined configs. Runs the gpu backend in gamma-correct mode (with either FP16 linear or sRGB 8888 frambuffers).
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1750383002
Review URL: https://codereview.chromium.org/
1750383002
robertphillips [Tue, 1 Mar 2016 20:22:49 +0000 (12:22 -0800)]
Make GrDrawContext::internalDrawPath cons up its own GrPipelineBuilder
Hopefully, this better defines (and reduces) the lifetime and reuse of GrPipelineBuilder objects in GrDrawContext.
TBR=bsalomon@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1730903007
Committed: https://skia.googlesource.com/skia/+/
00fddebe56fabea67dcc08762805c1294eebf5bf
Review URL: https://codereview.chromium.org/
1730903007
mtklein [Tue, 1 Mar 2016 20:17:33 +0000 (12:17 -0800)]
turn on f16 and sRGB
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1748113002
Review URL: https://codereview.chromium.org/
1748113002
msarett [Tue, 1 Mar 2016 20:12:27 +0000 (12:12 -0800)]
Fix bug in SkGifCodec / Switch SkImageDec tests to use Codec
SkImageDecoder is still used throughout tests, tools, gms etc.
Deleting it from tests is an easy first step.
Bonus is that we add tests of SkCodec.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1733863003
Review URL: https://codereview.chromium.org/
1733863003
cdalton [Tue, 1 Mar 2016 20:12:20 +0000 (12:12 -0800)]
Add cap and builder feature for multisample interpolation
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1722363002
Review URL: https://codereview.chromium.org/
1722363002
mtklein [Tue, 1 Mar 2016 18:31:42 +0000 (10:31 -0800)]
dm: gamma_correct: true/false -> "yes"/"no"
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1755693002
NOTREECHECKS=true
Review URL: https://codereview.chromium.org/
1755693002
caryclark [Tue, 1 Mar 2016 17:42:03 +0000 (09:42 -0800)]
add gm for distance field bug
Added gm to illustrate this bug. If you trace through
the red path, it uses GrAADistanceFieldPathRenderer
when it draws without antialiasing.
R=jvanverth@google.com
BUG=skia:4864
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1755683002
Review URL: https://codereview.chromium.org/
1755683002
robertphillips [Tue, 1 Mar 2016 17:34:38 +0000 (09:34 -0800)]
Unbust the old debugger
AFAICT the recent STL changes have introduced some QT conflicts.
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1753813002
Review URL: https://codereview.chromium.org/
1753813002
caryclark [Tue, 1 Mar 2016 16:37:45 +0000 (08:37 -0800)]
remove untested blit optimization
R=mtklein@google.com
BUG=skia:5016
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1746423003
Review URL: https://codereview.chromium.org/
1746423003
joshualitt [Tue, 1 Mar 2016 15:47:56 +0000 (07:47 -0800)]
Move some GrAuditTrail fuctions to cpp file
TBR=ethannicholas@google.com
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1753753002
Review URL: https://codereview.chromium.org/
1753753002
reed [Tue, 1 Mar 2016 15:28:51 +0000 (07:28 -0800)]
isolate sk_sp from larger cl
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1752683002
Review URL: https://codereview.chromium.org/
1752683002
brianosman [Tue, 1 Mar 2016 15:19:11 +0000 (07:19 -0800)]
SampleApp now displays gamma-correct content in "S32" and "F16" modes. The default framebuffer is always (?) sRGB, but querying it to determine that is difficult or impossible. In addition, when running in "L32" mode, we stil want to exhibit the old behavior, where we pretended that it was not sRGB. Thus, set the pixel config of the render target based on the window's color and profile types. That triggers our code to turn on linear->sRGB conversion-on-write in flushRenderTarget.
NOte: Angle does not display correctly, due to limitations in the set of ES2 extensions it exposes. However, it can still be used to generate gamma-correct images (via DM, etc...).
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1752473002
Review URL: https://codereview.chromium.org/
1752473002
joshualitt [Tue, 1 Mar 2016 15:15:52 +0000 (07:15 -0800)]
SkDebugCanvas ignore batch bounds if they are offscreen
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1754633002
Review URL: https://codereview.chromium.org/
1754633002
herb [Tue, 1 Mar 2016 15:01:23 +0000 (07:01 -0800)]
Add swizzle for rgb8888.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1746153002
CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot
Review URL: https://codereview.chromium.org/
1746153002
mtklein [Tue, 1 Mar 2016 01:02:52 +0000 (17:02 -0800)]
print stack trace on crash, tweak formatting, _Exit hard
Mac example:
1 srcs * 1 sinks + 0 tests == 1 tasks
0ns elapsed, 1 active, 0 queued, 11MB RAM, 11MB peak
f16 gm dstreadshuffle
../../src/core/SkXfermode.cpp:935: fatal error: ""r.fVec[i] >= min && r.fVec[i] <= max""
Caught signal 6 [Abort trap: 6], was running:
f16 gm dstreadshuffle
Stack trace:
0 dm 0x000000010f23fc9d _ZZL19setup_crash_handlervENK3$_5clEi + 397
1 dm 0x000000010f23fb06 _ZZL19setup_crash_handlervEN3$_58__invokeEi + 22
2 libsystem_platform.dylib 0x00007fff9d44e52a _sigtramp + 26
3 ??? 0x00007fff9900b902 0x0 +
140735760349442
4 libsystem_c.dylib 0x00007fff96a836e7 abort + 129
5 dm 0x000000010fcb67c9 _Z17sk_abort_no_printv + 9
6 dm 0x000000010f90fc1f _ZL11assert_unitRK6SkPM4f + 175
7 dm 0x000000010f90e957 _Z7proc_4fIXadL_ZL10lighten_4fRK4SkNxILi4EfES3_EEE6SkPM4fRKS4_S6_ + 103
8 dm 0x000000010f918946 _Z10xfer_u64_nIL7DstType1EEvPK10SkXfermodePyPK6SkPM4fiPKh + 182
9 dm 0x000000010f7a5f3e _ZN22SkState_Shader_BlitterI7State64E9blitAntiHEiiPKhPKs + 398
10 dm 0x000000010f3c730c _ZN9SkBlitter10blitAntiH2Eiijj + 108
11 dm 0x000000010f8d76f4 _ZN25Vertish_SkAntiHairBlitter7drawCapEiiii + 164
12 dm 0x000000010f8d4d92 _ZL16do_anti_hairlineiiiiPK7SkIRectP9SkBlitter + 3058
13 dm 0x000000010f8d40f4 _ZN6SkScan15AntiHairLineRgnEPK7SkPointiPK8SkRegionP9SkBlitter + 900
14 dm 0x000000010f8d8fff _ZL8hairquadPK7SkPointPK8SkRegionP9SkBlitteriPFvS1_iS4_S6_E + 719
15 dm 0x000000010f8da838 _Z9hair_pathILN7SkPaint3CapE0EEvRK6SkPathRK12SkRasterClipP9SkBlitterPFvPK7SkPointiPK8SkRegionS9_E + 1048
16 dm 0x000000010f8d86dc _ZN6SkScan12AntiHairPathERK6SkPathRK12SkRasterClipP9SkBlitter + 44
17 dm 0x000000010f7da8ff _ZNK6SkDraw8drawPathERK6SkPathRK7SkPaintPK8SkMatrixbbP9SkBlitter + 2239
18 dm 0x000000010f774993 _ZNK6SkDraw8drawPathERK6SkPathRK7SkPaintPK8SkMatrixb + 83
19 dm 0x000000010f774031 _ZN14SkBitmapDevice8drawPathERK6SkDrawRK6SkPathRK7SkPaintPK8SkMatrixb + 97
20 dm 0x000000010f773f6b _ZN14SkBitmapDevice8drawOvalERK6SkDrawRK6SkRectRK7SkPaint + 139
21 dm 0x000000010f7b5072 _ZN8SkCanvas10onDrawOvalERK6SkRectRK7SkPaint + 626
22 dm 0x000000010f7b38a5 _ZN8SkCanvas8drawOvalERK6SkRectRK7SkPaint + 69
23 dm 0x000000010f7b9ee6 _ZN8SkCanvas10drawCircleEfffRK7SkPaint + 294
24 dm 0x000000010f614039 _ZN6skiagm14DstReadShuffle9drawShapeEP8SkCanvasP7SkPaintNS0_9ShapeTypeE + 249
25 dm 0x000000010f613b89 _ZN6skiagm14DstReadShuffle6onDrawEP8SkCanvas + 425
26 dm 0x000000010f268b17 _ZN6skiagm2GM11drawContentEP8SkCanvas + 71
27 dm 0x000000010f268a6c _ZN6skiagm2GM4drawEP8SkCanvas + 60
28 dm 0x000000010f25186b _ZNK2DM5GMSrc4drawEP8SkCanvas + 123
29 dm 0x000000010f256de7 _ZNK2DM10RasterSink4drawERKNS_3SrcEP8SkBitmapP9SkWStreamP8SkString + 295
30 dm 0x000000010f246a96 _ZN4Task3RunERKS_ + 358
31 dm 0x000000010f2447e5 _ZZ7dm_mainvENK3$_3clEv + 21
32 dm 0x000000010f2447bd _ZNSt3__128__invoke_void_return_wrapperIvE6__callIJRZ7dm_mainvE3$_3EEEvDpOT_ + 45
33 dm 0x000000010f24475c _ZNSt3__110__function6__funcIZ7dm_mainvE3$_3NS_9allocatorIS2_EEFvvEEclEv + 44
34 dm 0x000000010f406aba _ZNKSt3__18functionIFvvEEclEv + 26
35 dm 0x000000010f8fc168 _ZN12_GLOBAL__N_110ThreadPool4WaitEP8SkAtomicIiL15sk_memory_order5EE + 328
36 dm 0x000000010f8fc00c _ZN11SkTaskGroup4waitEv + 28
37 dm 0x000000010f23e9c4 _Z7dm_mainv + 1940
38 dm 0x000000010f23fa77 main + 39
39 dm 0x000000010f23e1a4 start + 52
40 ??? 0x0000000000000007 0x0 + 7
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1753503002
Review URL: https://codereview.chromium.org/
1753503002
brianosman [Mon, 29 Feb 2016 21:55:40 +0000 (13:55 -0800)]
Revert of Progress on gamma-correctness in the GPU backend. Fixed conversion of color and profile type to pix… (patchset #3 id:40001 of https://codereview.chromium.org/
1746253002/ )
Reason for revert:
Fixing the build.
Original issue's description:
> Progress on gamma-correctness in the GPU backend. Fixed conversion of color and profile type to pixel config, which makes many things "just work".
>
> Added (color=8888|f16|srgb) option to gpu configurations, along with gpuf16, gpusrgb, and anglesrgb predefined configs. Runs the gpu backend in gamma-correct mode (with either FP16 linear or sRGB 8888 frambuffers).
>
>
> BUG=skia:
> GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1746253002
>
> Committed: https://skia.googlesource.com/skia/+/
eef980270d3385fee340eb1633962fe3ba8b7132
TBR=mtklein@google.com,egdaniel@google.com,bsalomon@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/
1748823002
robertphillips [Mon, 29 Feb 2016 21:50:40 +0000 (13:50 -0800)]
Move drawDRRect back to GrDrawContext
This still leaves GrDrawContext fiddling around with specialized fragment processors but it does allow for different handling of the DRRects (e.g., for instanced drawing).
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1750533003
Review URL: https://codereview.chromium.org/
1750533003
brianosman [Mon, 29 Feb 2016 21:39:09 +0000 (13:39 -0800)]
Progress on gamma-correctness in the GPU backend. Fixed conversion of color and profile type to pixel config, which makes many things "just work".
Added (color=8888|f16|srgb) option to gpu configurations, along with gpuf16, gpusrgb, and anglesrgb predefined configs. Runs the gpu backend in gamma-correct mode (with either FP16 linear or sRGB 8888 frambuffers).
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1746253002
Review URL: https://codereview.chromium.org/
1746253002
herb [Mon, 29 Feb 2016 21:21:33 +0000 (13:21 -0800)]
Simplify the poly union.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1752433002
Review URL: https://codereview.chromium.org/
1752433002
herb [Mon, 29 Feb 2016 20:58:35 +0000 (12:58 -0800)]
Fix overlooked bilerp fallback.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1746093002
Review URL: https://codereview.chromium.org/
1746093002
joshualitt [Mon, 29 Feb 2016 20:46:04 +0000 (12:46 -0800)]
fix minor bug drawing batch bounds by default
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1746953002
Review URL: https://codereview.chromium.org/
1746953002
bsalomon [Mon, 29 Feb 2016 19:41:52 +0000 (11:41 -0800)]
Remove internal calls to SkImage::getTexture
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1744243002
Review URL: https://codereview.chromium.org/
1744243002
joshualitt [Mon, 29 Feb 2016 19:38:11 +0000 (11:38 -0800)]
Fixup some of the batch info in skiaserve
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1750653002
Review URL: https://codereview.chromium.org/
1750653002
cblume [Mon, 29 Feb 2016 19:27:31 +0000 (11:27 -0800)]
Disabling mipmap generation until anisotropic mipmap levels are generated.
BUG=590804
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1744413002
Review URL: https://codereview.chromium.org/
1744413002
bungeman [Mon, 29 Feb 2016 19:22:55 +0000 (11:22 -0800)]
Improve horizontal baseline detection.
The goal is to hint the baseline when hinting is possible, which is
to say when the glyphs are be aligned with the pixel grid. The
current code has three shortcomings.
1. correctly snaps when the horizontal baseline is on the x-axis but
not when on the y-axis. Instead it is snapping the horizontal
baseline when there is y-skew.
2. tests against the full device matrix instead of the relaxed
matrix used by the scaler context.
3. has range issues when relaxing the matrix.
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1740163002
Review URL: https://codereview.chromium.org/
1740163002
joshualitt [Mon, 29 Feb 2016 19:15:06 +0000 (11:15 -0800)]
Render batch bounds as stroke rects
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1745063002
Review URL: https://codereview.chromium.org/
1745063002
cblume [Mon, 29 Feb 2016 19:13:29 +0000 (11:13 -0800)]
This CL adds glTexStorage support.
For us to take advantage of immutable texture storage, we would need to
know in advance that the texture will not be changing allocated size.
In some cases we cannot know this in advance: we will sometimes later
need mipmaps to be allocated and generated. However, in the cases where
we know in advance that we are allocating mipmaps we can take advantage
of immutable storage.
BUG=476416
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1570173004
Review URL: https://codereview.chromium.org/
1570173004
borenet [Mon, 29 Feb 2016 18:48:40 +0000 (10:48 -0800)]
Swarming Bots: fix resource path
TBR=rmistry
NOTRY=true
BUG=skia:4763
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1749873002
Review URL: https://codereview.chromium.org/
1749873002
borenet [Mon, 29 Feb 2016 18:17:38 +0000 (10:17 -0800)]
Swarming bots: Fix tester out dir
TBR=rmistry
NOTRY=true
BUG=skia:4763
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1751463002
Review URL: https://codereview.chromium.org/
1751463002
mtklein [Mon, 29 Feb 2016 18:14:38 +0000 (10:14 -0800)]
Modernize SkSpinlock.
- Use std::atomic directly.
- No more need for SkPODSpinlock or SK_DECLARE_STATIC_SPINLOCK.
Now simple code like this works as you'd hope:
static SkSpinlock gLock;
That is, it starts unlocked and there's no static initializer.
std::atomic_flag would make this terser and standard-guaranteed,
but ATOMIC_FLAG_INIT caused not-yet-implemented errors on MSVC 2013.
The generated code for this approach is identical.
It appears the implicit constructor is constexpr when all the member
initializers are. I'm hoping this way of producing constexpr constructors
without typing "constexpr" gives us a way to eliminate more SkFoo / SkBaseFoo
distinctions and SK_DECLARE_STATIC_FOO. This was certainly the easiest.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1734383002
Review URL: https://codereview.chromium.org/
1734383002
borenet [Mon, 29 Feb 2016 18:06:32 +0000 (10:06 -0800)]
Fix Swarming compile out dir
TBR=rmistry
NOTRY=true
BUG=skia:4763
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1743353002
Review URL: https://codereview.chromium.org/
1743353002
mtklein [Mon, 29 Feb 2016 17:51:09 +0000 (09:51 -0800)]
Revert of DM: disable ignored and very niche configs on bots. (patchset #1 id:1 of https://codereview.chromium.org/
1745073002/ )
Reason for revert:
remote-8888 just caught a bug. I am disproved.
Original issue's description:
> DM: disable ignored and very niche configs on bots.
>
> These are all probably just wasting time:
> - upright-matrix-{8888,gpu} and remote[_cache] are ignored in Gold
> - sp and 2ndpic test very niche areas of SkPicture
> that are not under active change
> - twice-8888 was never useful... the twice- via was meant for local
> testing of GPU batching / caching. Drawing into 8888 was moot.
>
> These configs are all useful to keep around for local testing, but probably are
> not worth the extra runtime or especially burden to have to think about them.
>
> If we should happen to stumble into bugs these configs would have caught,
> let's add them back with a note about those bugs to justify their need to run.
> I'm not convinced any exist today.
>
> This cuts ~30s off the CQ.
>
> BUG=skia:
> GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1745073002
>
> Committed: https://skia.googlesource.com/skia/+/
7b6d3a30cf18377935c800603fc00fe0966d15de
TBR=halcanary@google.com,mtklein@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/
1749583003
fmalita [Mon, 29 Feb 2016 17:18:31 +0000 (09:18 -0800)]
Use enclosing int rect for picture shader tiles
To avoid rounding to zero for very small tiles.
BUG=chromium:590447
R=reed@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1749763002
Review URL: https://codereview.chromium.org/
1749763002
herb [Mon, 29 Feb 2016 17:15:11 +0000 (09:15 -0800)]
Fix uninitialized variable warning.
CQ_INCLUDE_TRYBOTS=client.skia.compile:Build-Ubuntu-GCC-Mips64-Release-Android-Trybot
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1743273002
Review URL: https://codereview.chromium.org/
1743273002
caryclark [Mon, 29 Feb 2016 17:13:26 +0000 (09:13 -0800)]
remove xmlparser includes from samples
Remove all #include SkXMLParser.h from SampleApp samples.
R=tomhudson@google.com
BUG=skia:309
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1737383002
Review URL: https://codereview.chromium.org/
1737383002
mtklein [Mon, 29 Feb 2016 17:05:32 +0000 (09:05 -0800)]
hack up get_images_from_skps
I couldn't get the version at head to give me any images,
so I decided to rewrite it. Does something like this work
for you?
BUG=skia:5010,skia:5005
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1737593003
Review URL: https://codereview.chromium.org/
1737593003