fad98562d8
This makes inspecting things in SkDebugger far more useful - any filter or other complex object on the paint is ultimately visible. You still have to do some guess work to figure out what the fields actually mean, but you can at least cross-reference with the code in flatten(). Screenshots: Before: https://screenshot.googleplex.com/a6JM5HBBe6G.png After : https://screenshot.googleplex.com/XQfr4YJ6mnH.png Changes to public API are just removals and changes to make some functions virtual. TBR=reed@google.com BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1920423002 Review-Url: https://codereview.chromium.org/1920423002
59 lines
1.4 KiB
Python
59 lines
1.4 KiB
Python
# Copyright 2015 Google Inc.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
# GYP for "dm" (Diamond Master, a.k.a Dungeon master, a.k.a GM 2).
|
|
{
|
|
'include_dirs': [
|
|
'../dm',
|
|
'../gm',
|
|
'../include/private',
|
|
'../src/core',
|
|
'../src/effects',
|
|
'../src/images',
|
|
'../src/lazy',
|
|
'../src/utils',
|
|
'../tools/debugger',
|
|
'../tests',
|
|
],
|
|
'dependencies': [
|
|
'etc1.gyp:libetc1',
|
|
'flags.gyp:flags',
|
|
'jsoncpp.gyp:jsoncpp',
|
|
'libpng.gyp:libpng',
|
|
'skia_lib.gyp:skia_lib',
|
|
'svg.gyp:svg',
|
|
'tools.gyp:crash_handler',
|
|
'tools.gyp:picture_utils',
|
|
'tools.gyp:proc_stats',
|
|
'tools.gyp:sk_tool_utils',
|
|
'tools.gyp:url_data_manager',
|
|
'tools.gyp:timer',
|
|
'xml.gyp:xml',
|
|
'xps.gyp:xps',
|
|
],
|
|
'includes': [
|
|
'gmslides.gypi',
|
|
'pathops_unittest.gypi',
|
|
'tests.gypi',
|
|
],
|
|
'sources': [
|
|
'../dm/DM.cpp',
|
|
'../dm/DMSrcSink.cpp',
|
|
'../dm/DMJsonWriter.cpp',
|
|
'../gm/gm.cpp',
|
|
|
|
'../tools/debugger/SkDebugCanvas.cpp',
|
|
'../tools/debugger/SkDrawCommand.cpp',
|
|
'../tools/debugger/SkJsonWriteBuffer.cpp',
|
|
'../tools/debugger/SkObjectParser.cpp',
|
|
'../tools/debugger/SkOverdrawMode.h',
|
|
'../tools/debugger/SkOverdrawMode.cpp',
|
|
],
|
|
'conditions': [
|
|
[ 'skia_gpu == 1', {
|
|
'dependencies': [ 'gputest.gyp:skgputest' ],
|
|
}],
|
|
],
|
|
}
|