Go to file
John Stiles 44409c070a Distinguish between unscoped blocks and compound statements.
Previously, we used unscoped blocks for two similar functions:
- Rewrite one statement as two simpler statements:
  `int a, b;` -> `int a; int b;`
- Group together multiple statements without braces. e.g. the inliner
  uses unscoped Blocks to rearrange statements.

Conceptually, these are different from the debugger's perspective. The
compound statements should be treated as one unit; the grouped
statements should be treated individually (and the enclosing Block
should be ignored). A Block now contains a BlockKind enum to
distinguish between these cases.

Change-Id: Ie14a570bb46992689fb96b8fd3b67f2ca6e5239f
Bug: skia:13189
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/528655
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2022-04-11 14:34:07 +00:00
bazel Revert "[graphite] Move Graphite into Skia base directories." 2022-04-09 01:02:26 +00:00
bench Plumbing label string through GrSurfaceProxy. 2022-04-11 14:29:33 +00:00
bin Handle 'aarch64' from platform.machine() 2022-03-01 13:10:59 +00:00
build/fuchsia
build_overrides Update Skia to use the new combined Dawn+Tint repo 2022-04-07 20:31:14 +00:00
client_utils/android Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
demos.skia.org [canvaskit] Add in fillText to spreadsheet demo for comparison 2022-02-15 15:35:43 +00:00
dm Revert "[graphite] Move Graphite into Skia base directories." 2022-04-09 01:02:26 +00:00
docker [infra] Avoid timeouts in CreateDockerImage_Skia_WASM_Release 2022-04-08 12:26:54 +00:00
docs/examples Reland "Add kR8_unorm_SkColorType" 2022-02-10 18:00:19 +00:00
example Add basic Vulkan setup and draw example program. 2022-04-08 18:26:21 +00:00
experimental Revert "[graphite] Move Graphite into Skia base directories." 2022-04-09 01:02:26 +00:00
fuzz Move all Ganesh source files into ganesh subdirectory. 2022-04-07 21:06:50 +00:00
gm [graphite] Move all graphite classes under skgpu::graphite. 2022-04-08 00:42:37 +00:00
gn Revert "[graphite] Move Graphite into Skia base directories." 2022-04-09 01:02:26 +00:00
include Revert "[graphite] Move Graphite into Skia base directories." 2022-04-09 01:02:26 +00:00
infra Update SKP version 2022-04-10 08:23:09 +00:00
modules Simplify the most commont paint case 2022-04-08 14:20:38 +00:00
platform_tools [includes] Prepare for moving SkColorSpace to forward declare 2022-03-31 19:50:10 +00:00
resources Optimize away same-value ternaries. 2022-04-07 19:37:00 +00:00
samplecode Move all Ganesh source files into ganesh subdirectory. 2022-04-07 21:06:50 +00:00
site [bazel] Add documentation for Bazel/Bazelisk 2022-03-29 15:23:37 +00:00
specs [infra] Port serve.py from Python2 to 3 2021-08-31 15:28:19 +00:00
src Distinguish between unscoped blocks and compound statements. 2022-04-11 14:34:07 +00:00
tests Distinguish between unscoped blocks and compound statements. 2022-04-11 14:34:07 +00:00
third_party [bazel] Add executable for skslc 2022-04-08 17:25:24 +00:00
toolchain [bazel] Sketch out changes for Mac toolchain 2022-04-08 13:35:44 +00:00
tools Revert "[graphite] Move Graphite into Skia base directories." 2022-04-09 01:02:26 +00:00
.bazelrc [bazel] Add executable for skslc 2022-04-08 17:25:24 +00:00
.bazelversion [canvaskit] Add skottie to Bazel build 2022-02-04 19:18:27 +00:00
.clang-format no more bin packing in .clang-format 2021-03-04 17:22:50 +00:00
.clang-tidy
.gitignore Add .vscode to the default gitignore list. 2021-10-13 15:23:02 +00:00
.gn Reland "Set GN's script_executable to "python3"" 2022-04-07 20:11:27 +00:00
.vpython [python3] Reland recipes -> python3 changes 2021-12-01 13:04:03 +00:00
AUTHORS Remove obsolete sk_cf_obj 2022-03-11 05:59:16 +00:00
BUILD.bazel Move all Ganesh source files into ganesh subdirectory. 2022-04-07 21:06:50 +00:00
BUILD.gn Add basic Vulkan setup and draw example program. 2022-04-08 18:26:21 +00:00
codereview.settings
CONTRIBUTING
CQ_COMMITTERS
DEPS Roll ANGLE from 3cea7fcc01ce to 1b94c585682b (6 revisions) 2022-04-11 05:24:38 +00:00
DIR_METADATA
go_repositories.bzl [infra] Update dep of infra repo 2022-04-08 17:25:24 +00:00
go.mod [infra] Update dep of infra repo 2022-04-08 17:25:24 +00:00
go.sum [infra] Update dep of infra repo 2022-04-08 17:25:24 +00:00
LICENSE
OWNERS [infra] Add wildcard OWNERS 2021-08-30 19:19:34 +00:00
OWNERS.android Update OWNERS.android with more details 2022-03-16 18:13:33 +00:00
package-lock.json [bazel] Make custom karma_test rule 2022-02-23 14:53:01 +00:00
package.json [bazel] Make custom karma_test rule 2022-02-23 14:53:01 +00:00
PRESUBMIT.py [bazel] Add RBE support using hermetic Linux Clang toolchain 2022-03-28 13:56:16 +00:00
public.bzl Fix public.bzl formatting 2022-04-08 12:23:07 +00:00
README
README.chromium
RELEASE_NOTES.txt SkCanvas::kStrict_SrcRectConstraint disables mipmapping. 2022-04-06 17:11:47 +00:00
requirements.txt [bazel] Use hermetic Python with jinja2+MarkupSafe 2022-03-28 13:56:16 +00:00
whitespace.txt Push shaders.skia.org. 2022-01-19 21:46:16 +00:00
WORKSPACE.bazel [bazel] Sketch out changes for Mac toolchain 2022-04-08 13:35:44 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.