暂无描述
| Files | Last commit | Last update |
|---|---|---|
first cut at a checkbox git-svn-id: http://skia.googlecode.com/svn/trunk@402 2bbb7eff-a529-9590-31e7-b0007b416f81 | 16 years ago | |
[infra] Add Bazel rules for codecs. This ports the third_party BUILD.gn files related to codecs (with a best-effort on arm/SIMD stuff). This includes: - libpng - libjpeg-turbo - libwebp - wuffs (gif) - libgifcodec - dng_sdk and piex (raw codec) This expands the string_flag_with_values macro to allow multiple values to be set at once. This was added in Bazel 5.0.0, however the latest pre-release version of that has a bug [1] which slows down compilation dramatically. This was fixed at ToT, but not released. As a result, I started using the Bazel 6 pre-release (via bazelisk). The macro select_multi makes writing select() where multiple elements could be on possible/easier. One can try compiling certain codecs by running: bazel build :skia-core --config clang --include_codec=raw_codec --include_codec=png_codec Suggested Review Order: - bazel/macros.bzl - bazel/common_config_settings/defs.bzl and its BUILD.bazel to see how the codec options are defined. - BUILD.bazel to see how the codec settings are used. - src/codec/BUILD.bazel to see the inclusion of Skia files to deal with specific codecs. - third_party/BUILD.bazel (while referencing the corresponding BUILD.gn files, such as third_party/libwebp/BUILD.gn) - Everything else. Change-Id: I797375a35fa345d9835e7b2a2ab23371c45953c3 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/469456 Reviewed-by: Leandro Lovisolo <lovisolo@google.com> Reviewed-by: Ben Wagner <bungeman@google.com> Reviewed-by: Leon Scroggins <scroggo@google.com> | 4 years ago | |
Yank GrStrokeTessellationShader out of StrokeTessellators Bug: skia:12524 Change-Id: I208f257bca46c8fcb15cf58baea4c3e058310327 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/471216 Commit-Queue: Chris Dalton <csmartdalton@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com> | 4 years ago | |
add libs Signed-off-by: muppets <yangguangyu6@huawei.com> | 4 years ago | |
repair gn-path Signed-off-by: muppets <yangguangyu6@huawei.com> | 4 years ago | |
still adapt ohos Signed-off-by: muppets <yangguangyu6@huawei.com> | 4 years ago | |
repair gn-path Signed-off-by: muppets <yangguangyu6@huawei.com> | 4 years ago | |
Make class members that are static constexpr also be inline. This is in prep for compiling with -std=c++14 and -Wno-c++17-extensions when building with clang. Chrome has encountered problems with third_party headers that are included both in Skia and other Chrome sources that produce different code based on whether preprocessor macros indicate a C++14 or C++17 compilation. In C++17 they are already inline implicitly. When compiling with C++14 we can get linker errors unless they're explicitly inlined or defined outside the class. With -Wno-c++17-extensions we can explicitly inline them in the C++14 build because the warning that would be generated about using a C++17 language extension is suppressed. We cannot do this in public headers because we support compiling with C++14 without suppressing the C++17 language extension warnings. Bug: chromium:1257145 Change-Id: Iaf5f4c62a398f98dd4ca9b7dfb86f2d5cab21d66 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/457498 Reviewed-by: Ben Wagner <bungeman@google.com> Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com> | 4 years ago | |
[demos] Add WebGPU demo using origin trial Before we get too excited, this does not use CanvasKit. What this does add is an origin-trial token so we can more easily demo our progress on *.skia.org and test locally using localhost:8123 (which is the default if you run make local in //demos.skia.org) To view this locally, I started chrome (stable 94) with --enable-features=Vulkan --enable-unsafe-webgpu Enabling the Vulkan was the advice of https://web.dev/gpu/#browser-support The second flag make sure the whole stack also uses Vulkan. Change-Id: Ia1838352a46387b0b79e353601a32c859f6911c1 Bug: skia:12512 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/457316 Reviewed-by: Brian Salomon <bsalomon@google.com> | 5 years ago | |
still adapt ohos Signed-off-by: muppets <yangguangyu6@huawei.com> | 4 years ago | |
[infra] Update cmake docker image to be Debian 10 Bug: skia:12256 Change-Id: Ic5cad6d6e5e7155f0adc26fca9f1172f33ce3b3a Reviewed-on: https://skia-review.googlesource.com/c/skia/+/431260 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Ben Wagner <bungeman@google.com> | 5 years ago | |
Reland "Add sRGB 8888 colortype" This is a reland of 0f7c10ef5681d5c739bcd8862c58d856fd663a0c Original change's description: > Add sRGB 8888 colortype > > A color type that linearizes just after loading, and re-encodes to sRGB > just before storing, mimicking the GPU formats that work the same way. > > Notes: > - No mipmap support > - No SkPngEncoder support (HashAndEncode's .pngs are ok, though?) > - Needs better testing > > This is a re-creation of reviews.skia.org/392990 > > Change-Id: I4739c2280211e7176aae98ba0a8476a7fe5efa72 > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/438219 > Commit-Queue: Brian Osman <brianosman@google.com> > Reviewed-by: Brian Salomon <bsalomon@google.com> Change-Id: I5b6bb28c4c1faa6c97fcad7552d12c331535714d Reviewed-on: https://skia-review.googlesource.com/c/skia/+/441402 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com> | 5 years ago | |
Remove SDL from DEPS (and SDL example that used it) Change-Id: Ia18badfdd174015b67ce09ae3ec3180df0481710 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/413378 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Jim Van Verth <jvanverth@google.com> | 5 years ago | |
[graphite] Remove use of GraphiteTypesPriv and move to *Types in src. We should only be using include/private for types that actually are needed in include/ files. I moved everything that was just in src to new src/*Types.h files. This actually left nothing in GraphiteTypesPriv for now, so I deleted it. If we actually need private types that are part of include/ we can add it back later. Bug: skia:12466 Change-Id: I180fc2032afd47bc6c5e8b9ccd4954b5d2451fc7 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/471758 Reviewed-by: Chris Dalton <csmartdalton@google.com> Reviewed-by: Michael Ludwig <michaelludwig@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com> | 4 years ago | |
Make all shader caps uniquely-owned Bug: skia:12559 Change-Id: I5775120a826e582e73aab83273e59bc48c057a5b Reviewed-on: https://skia-review.googlesource.com/c/skia/+/462077 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: John Stiles <johnstiles@google.com> | 4 years ago | |
Reland "Implement batching for convex tessellated paths" This is a reland of 9613060bdff02d6afca4baed1d2d8841cdae2e76 Original change's description: > Implement batching for convex tessellated paths > > Moves the view matrix transformation onto the CPU (when local coords > are not used), and plumbs a color attrib through the tessellation > patches. > > Bug: skia:12524 > Change-Id: Ic4740048b4fc85cb18e7235a7754d57762db3daf > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/468997 > Reviewed-by: Michael Ludwig <michaelludwig@google.com> > Commit-Queue: Chris Dalton <csmartdalton@google.com> Bug: skia:12524 Change-Id: I77cd079d8921b224925bd2f7364c564822886d61 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/470436 Commit-Queue: Robert Phillips <robertphillips@google.com> Auto-Submit: Chris Dalton <csmartdalton@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com> | 4 years ago | |
fix bugs Signed-off-by: w00620982 <wanghe58@huawei.com> Change-Id: I138725cdb05dc7f63494f3af22f996279db3fbfc | 4 years ago | |
fix bugs Signed-off-by: w00620982 <wanghe58@huawei.com> Change-Id: I138725cdb05dc7f63494f3af22f996279db3fbfc | 4 years ago | |
Update SKP version Automatic commit by the RecreateSKPs bot. Change-Id: I2deca16102fa1b3c8f808d28e45491b06be4cd25 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/471303 Commit-Queue: skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com <skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com> Bot-Commit: skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com <skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com> | 4 years ago | |
fix bugs Signed-off-by: w00620982 <wanghe58@huawei.com> Change-Id: I138725cdb05dc7f63494f3af22f996279db3fbfc | 4 years ago | |
change method signature for FontChain Change-Id: I1adf796be5ae1c6c7b70022cbe8e42ce9089f74d Reviewed-on: https://skia-review.googlesource.com/c/skia/+/463258 Auto-Submit: Jorge Betancourt <jmbetancourt@google.com> Reviewed-by: Florin Malita <fmalita@google.com> Commit-Queue: Florin Malita <fmalita@google.com> | 4 years ago | |
Replace getConstantSubexpression with getConstantValue. The only type of expressions that getConstantSubexpression could ever return are Literal and nullptr. getConstantValue now returns an optional<double>; nullopt indicates a non-constant value in the slot. This simplifies most use cases, and allows us to get rid of some extra "zero" and "one" Literal objects in some of our Constructor classes. This change fixes a recent fuzzer issue. The fuzzer had discovered that calling getConstantSubexpression on a ConstructorCompoundCast that contained a compile-time-constant value would return literals of the wrong type (the cast was not applied). By nesting repeated matrix casts, this type confusion could be turned into an assertion. Change-Id: Icee69219e6db2822ffdfab4e5ccdaff54584a4b6 Bug: oss-fuzz:41000 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/471376 Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: John Stiles <johnstiles@google.com> | 4 years ago | |
Move breadcrumb and inner-fan triangles out of PathCurveTessellator The callsites output these triangles now. This removes the final direct Ganesh dependency from the tessellator code. Bug: skia:12524 Change-Id: Id0d16839ed35a2bd9a812b8747ca8669fac5bed8 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/470196 Commit-Queue: Chris Dalton <csmartdalton@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com> | 4 years ago | |
Fix SkSL doc examples that used reserved identifiers Change-Id: I36e3742c5f0b744da0342648951ddb7fdce82aba Reviewed-on: https://skia-review.googlesource.com/c/skia/+/468377 Auto-Submit: Brian Osman <brianosman@google.com> Commit-Queue: Derek Sollenberger <djsollen@google.com> Reviewed-by: Derek Sollenberger <djsollen@google.com> | 4 years ago | |
[infra] Port serve.py from Python2 to 3 These scripts are useful when testing WebAssembly locally because the mimetype impacts how the binaries are loaded. The porting was achieved by doing the following: python -m lib2to3 -w -n serve.py Change-Id: I09673fa881339a9b157c5fc993e190766efcd85e Reviewed-on: https://skia-review.googlesource.com/c/skia/+/443884 Reviewed-by: Erik Rose <erikrose@google.com> | 5 years ago | |
adapt ohos Signed-off-by: muppets <yangguangyu6@huawei.com> | 4 years ago | |
adapt ohos Signed-off-by: muppets <yangguangyu6@huawei.com> | 4 years ago | |
fix bugs Signed-off-by: w00620982 <wanghe58@huawei.com> Change-Id: I138725cdb05dc7f63494f3af22f996279db3fbfc | 4 years ago | |
[infra] Add initial Bazel rules and files These rules can be used to build our GMs on WASM+WebGL and libskia.a with just the CPU backend (and most other features turned off). This can be done with the following commands: - bazel build //modules/canvaskit:gm-bindings-wasm --gpu_backend=gl_backend --with_gl_standard=webgl_standard - bazel build :skia-core --config clang This pivots slightly from http://review.skia.org/463517 by using config_settings [1] instead of platforms for the optional features that we control. This pivot was suggested in [2] We have BUILD.bazel files in many of the subdirectories that specify filegroups for the appropriate files. In an effort to make //BUILD.bazel more readable, it is the responsibility of these subfolders to deal with conditionally including certain .h or .cpp files. This is done using select statements and config_settings or platform constraints as necessary. For example, src/gpu/BUILD.bazel will different private filegroups for each of the supported gpu backends [3] and a more-visible filegroup called "srcs" that has the right selection of the private files to be used for compilation. An effort has been made to avoid using glob() in our BUILD.bazel files. These file lists were made by using ls -1 and some regex to add in quotes. We might want to make a helper script to assist with that, if necessary. To specify which options we have, the settings in //bazel/common_config_settings/BUILD.bazel have been redesigned. They make use of a macro string_flag_with_values that removes the boilerplate. Patchset 36 shows what the file looks like w/o the macro. The top level BUILD.bazel file will still need to use some logic to handle defines, because local_defines is a list of strings, not a list of labels [4]. Suggested Review Order: - WORKSPACE.bazel to see the new dependencies on the emsdk toolchain and bazel_skylib - bazel/common_config_settings/* to see the few settings defined (we have more to define, see BUILD.gn and //gn/skia.gni for ideas) - BUILD.bazel to see the "skia-core" cc_library rule. See also "gms" and "tests" - modules/canvaskit/BUILD.bazel to see the use of the emscripten "wasm_cc_binary" rule, which depends on the "skia-core", "gms", and "tests" rule. Note that it only builds some of the gms as a proof of concept. - The other BUILD.bazel files. Some of these are not platform or feature dependent (e.g. pathops). Others are (e.g. gpu). - All other files. [1] https://docs.bazel.build/versions/4.2.1/skylark/config.html#user-defined-build-settings [2] https://github.com/emscripten-core/emsdk/pull/920 [3] In this CL, that's just the webgl one. [4] https://docs.bazel.build/versions/main/be/c-cpp.html#cc_library.local_defines Change-Id: Ieecf9c106d5e3a6ae97d13d66be06b4b3c207089 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/458637 Reviewed-by: Ben Wagner <bungeman@google.com> Reviewed-by: Leandro Lovisolo <lovisolo@google.com> Owners-Override: Kevin Lubick <kjlubick@google.com> | 4 years ago | |
adapt ohos Signed-off-by: muppets <yangguangyu6@huawei.com> | 4 years ago | |
[infra] Add Bazel rules for codecs. This ports the third_party BUILD.gn files related to codecs (with a best-effort on arm/SIMD stuff). This includes: - libpng - libjpeg-turbo - libwebp - wuffs (gif) - libgifcodec - dng_sdk and piex (raw codec) This expands the string_flag_with_values macro to allow multiple values to be set at once. This was added in Bazel 5.0.0, however the latest pre-release version of that has a bug [1] which slows down compilation dramatically. This was fixed at ToT, but not released. As a result, I started using the Bazel 6 pre-release (via bazelisk). The macro select_multi makes writing select() where multiple elements could be on possible/easier. One can try compiling certain codecs by running: bazel build :skia-core --config clang --include_codec=raw_codec --include_codec=png_codec Suggested Review Order: - bazel/macros.bzl - bazel/common_config_settings/defs.bzl and its BUILD.bazel to see how the codec options are defined. - BUILD.bazel to see how the codec settings are used. - src/codec/BUILD.bazel to see the inclusion of Skia files to deal with specific codecs. - third_party/BUILD.bazel (while referencing the corresponding BUILD.gn files, such as third_party/libwebp/BUILD.gn) - Everything else. Change-Id: I797375a35fa345d9835e7b2a2ab23371c45953c3 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/469456 Reviewed-by: Leandro Lovisolo <lovisolo@google.com> Reviewed-by: Ben Wagner <bungeman@google.com> Reviewed-by: Leon Scroggins <scroggo@google.com> | 4 years ago | |
[infra] Add Bazel rules for codecs. This ports the third_party BUILD.gn files related to codecs (with a best-effort on arm/SIMD stuff). This includes: - libpng - libjpeg-turbo - libwebp - wuffs (gif) - libgifcodec - dng_sdk and piex (raw codec) This expands the string_flag_with_values macro to allow multiple values to be set at once. This was added in Bazel 5.0.0, however the latest pre-release version of that has a bug [1] which slows down compilation dramatically. This was fixed at ToT, but not released. As a result, I started using the Bazel 6 pre-release (via bazelisk). The macro select_multi makes writing select() where multiple elements could be on possible/easier. One can try compiling certain codecs by running: bazel build :skia-core --config clang --include_codec=raw_codec --include_codec=png_codec Suggested Review Order: - bazel/macros.bzl - bazel/common_config_settings/defs.bzl and its BUILD.bazel to see how the codec options are defined. - BUILD.bazel to see how the codec settings are used. - src/codec/BUILD.bazel to see the inclusion of Skia files to deal with specific codecs. - third_party/BUILD.bazel (while referencing the corresponding BUILD.gn files, such as third_party/libwebp/BUILD.gn) - Everything else. Change-Id: I797375a35fa345d9835e7b2a2ab23371c45953c3 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/469456 Reviewed-by: Leandro Lovisolo <lovisolo@google.com> Reviewed-by: Ben Wagner <bungeman@google.com> Reviewed-by: Leon Scroggins <scroggo@google.com> | 4 years ago | |
no more bin packing in .clang-format Change-Id: I24324d4478c10c868b27e7375520c7cb3b06d21d Reviewed-on: https://skia-review.googlesource.com/c/skia/+/379656 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com> | 5 years ago | |
Disable ClangTidy namespace comments for short blocks. Namespace comments don't assist readability for blocks that can easily fit on a single screen. Change-Id: I93cbebe8e51400dead794c9eb41cb1eaa86bf756 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/312639 Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: John Stiles <johnstiles@google.com> | 6 years ago | |
add libs Signed-off-by: muppets <yangguangyu6@huawei.com> | 4 years ago | |
modify for mac Signed-off-by: l00589674 <liuxiaoyang11@huawei.com> Change-Id: Icc6b4bfe91afb30ac49084ec34663feef7abf98e | 4 years ago | |
Reland "Enable non-standalone builds with dawn" This reverts commit 122f1b936fece081c14f07b2b1dc750ad551665c. Reason for revert: unrelated to G3 failure? Original change's description: > Revert "Enable non-standalone builds with dawn" > > This reverts commit 25deba3516bc3dbce9c1a1c7db6f66e95e9d0de4. > > Reason for revert: Possible Google3 roll break > > Original change's description: > > Enable non-standalone builds with dawn > > > > Bug: skia:12276 > > Change-Id: Iaf7311fef43bd9c37bfc7b7a6221f6bea25f196d > > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/433696 > > Auto-Submit: Safa Sofuoglu <safasofuoglu@gmail.com> > > Reviewed-by: Brian Salomon <bsalomon@google.com> > > Reviewed-by: Stephen White <senorblanco@google.com> > > Commit-Queue: Brian Salomon <bsalomon@google.com> > > TBR=bsalomon@google.com,senorblanco@google.com,skcq-be@skia-corp.google.com.iam.gserviceaccount.com,safasofuoglu@gmail.com > > Change-Id: I05dc7e1107ae08d4c9d4a7663704eb14f711208d > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Bug: skia:12276 > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/471757 > Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> > Commit-Queue: Julia Lavrova <jlavrova@google.com> # Not skipping CQ checks because this is a reland. Bug: skia:12276 Change-Id: Ifca6eaba59083afef4bb7a1ee73de1b8538b383b Reviewed-on: https://skia-review.googlesource.com/c/skia/+/471761 Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Commit-Queue: Brian Salomon <bsalomon@google.com> | 4 years ago | |
[infra] Add POC Bazel rules for CanvasKit Many things are not enabled currently (e.g. Skottie, Paragraph), but we can render many APIs using WebGL. To turn on Paragraph, etc, we'll need to tackle fonts, which is a separate effort. This also changes where the build artifacts go. ./build/ is easier to deal with than the old way of sticking them in ./npm_build/bin Change-Id: Ia377360af580a887d03630670438fea2e3157e90 Bug: skia:12541 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/470682 Reviewed-by: Leandro Lovisolo <lovisolo@google.com> Reviewed-by: Ben Wagner <bungeman@google.com> | 4 years ago | |
fix bugs Signed-off-by: w00620982 <wanghe58@huawei.com> Change-Id: I138725cdb05dc7f63494f3af22f996279db3fbfc | 4 years ago | |
Fix references to https://sites.google.com/site/skiadocs/. Point them to their equivalent in https://skia.org. BUG=None R=hcm@google.com, jcgregorio@google.com NOTRY=true Review URL: https://codereview.chromium.org/856353004 | 11 years ago | |
Moved committer list to chrome-infra-auth and deleted it from the repo R=rmistry@chromium.org BUG=chromium:511311 Review URL: https://codereview.chromium.org/1314153006 | 10 years ago | |
Roll ANGLE from ae3f67ab4a3a to d27552f21f4e (10 revisions) https://chromium.googlesource.com/angle/angle.git/+log/ae3f67ab4a3a..d27552f21f4e 2021-11-16 jmadill@chromium.org Re-land: "Vulkan: Allow SystemInfo to pick ICD." 2021-11-16 syoussefi@chromium.org Vulkan: SPIR-V Gen: Don't generate names for constants 2021-11-15 jmadill@chromium.org infra: Fix UBSAN build. 2021-11-15 vadimsh@google.com Declare "role/configs.validator" binding. 2021-11-15 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 06cb60827cd5 to 426f5c560740 (142 revisions) 2021-11-15 jmadill@chromium.org infra: Add Linux UBSAN/TSAN configs. 2021-11-15 jmadill@chromium.org infra: Add ASAN tests to CQ. 2021-11-15 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 82d932bdfc41 to 6885768e737f (14 revisions) 2021-11-15 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 22e40c170f29 to 712bb5b10bcf (52 revisions) 2021-11-15 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 6d25c1889eb7 to 06cb60827cd5 (1371 revisions) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/angle-skia-autoroll Please CC jlavrova@google.com on the revert to ensure that a human is aware of the problem. To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md Cq-Include-Trybots: skia/skia.primary:Build-Debian10-Clang-x86_64-Release-ANGLE;skia/skia.primary:Test-Win10-Clang-AlphaR2-GPU-RadeonR9M470X-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-Golo-GPU-QuadroP400-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC5i7RYH-GPU-IntelIris6100-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC6i5SYK-GPU-IntelIris540-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC8i5BEK-GPU-IntelIris655-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUCD34010WYKH-GPU-IntelHD4400-x86_64-Debug-All-ANGLE Tbr: jlavrova@google.com Change-Id: I55a4fa31ebcd8dba4219bd7be8159d29078899b0 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/471978 Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com> Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com> | 4 years ago | |
Move metadata in OWNERS files to DIR_METADATA files Bug: 1113033 Change-Id: I8af15a165e85c149696dd87c448811324c36601b Reviewed-on: https://skia-review.googlesource.com/c/skia/+/364736 Commit-Queue: Edward Lemur <ehmaldonado@google.com> Commit-Queue: Ravi Mistry <rmistry@google.com> Reviewed-by: Ravi Mistry <rmistry@google.com> | 5 years ago | |
LICENSE file: clean up Motivation: improve readability. Change-Id: I07e1c40e75ffbe496f9f3b2f0e260bba6f141d90 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/255305 Commit-Queue: Heather Miller <hcm@google.com> Reviewed-by: Heather Miller <hcm@google.com> | 6 years ago | |
[infra] Add wildcard OWNERS This is a requirement to enforce code review. Bug: skia:12124 Change-Id: Ia35c5fec148329625daaffecec60116c291633ed Reviewed-on: https://skia-review.googlesource.com/c/skia/+/443636 Reviewed-by: Ravi Mistry <rmistry@google.com> | 5 years ago | |
Remove AUTHORS check from PRESUBMIT.py This is now done in SkCQ Bug: skia:12487 Change-Id: I5a1414b7594ef371727c3391b18dbe6948b6c25a Reviewed-on: https://skia-review.googlesource.com/c/skia/+/454457 Reviewed-by: Eric Boren <borenet@google.com> Commit-Queue: Ravi Mistry <rmistry@google.com> | 5 years ago | |
Fix references to https://sites.google.com/site/skiadocs/. Point them to their equivalent in https://skia.org. BUG=None R=hcm@google.com, jcgregorio@google.com NOTRY=true Review URL: https://codereview.chromium.org/856353004 | 11 years ago | |
README Signed-off-by: muppets <yangguangyu6@huawei.com> | 4 years ago | |
Update README.chromium. Capitalize Skia and use new site url. Review URL: https://codereview.chromium.org/1183503002 | 11 years ago | |
add README.md Signed-off-by: muppets <yangguangyu6@huawei.com> | 4 years ago | |
Limit surfaces/images to 2GB in size The CPU blitters use signed 32-bit offsets when gathering source pixels, so any image larger than that can't be fully indexed. Instead, we'd wrap around and sample from invalid memory. This does put a new (smaller) limit on valid image sizes, but it seems unlikely to impact any client. Bug: chromium:1264705 Change-Id: I21b088c11b49e6410b1f237cbfb6b1639cb22ca0 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/471764 Reviewed-by: Herb Derby <herb@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com> | 4 years ago | |
[infra] Add initial Bazel rules and files These rules can be used to build our GMs on WASM+WebGL and libskia.a with just the CPU backend (and most other features turned off). This can be done with the following commands: - bazel build //modules/canvaskit:gm-bindings-wasm --gpu_backend=gl_backend --with_gl_standard=webgl_standard - bazel build :skia-core --config clang This pivots slightly from http://review.skia.org/463517 by using config_settings [1] instead of platforms for the optional features that we control. This pivot was suggested in [2] We have BUILD.bazel files in many of the subdirectories that specify filegroups for the appropriate files. In an effort to make //BUILD.bazel more readable, it is the responsibility of these subfolders to deal with conditionally including certain .h or .cpp files. This is done using select statements and config_settings or platform constraints as necessary. For example, src/gpu/BUILD.bazel will different private filegroups for each of the supported gpu backends [3] and a more-visible filegroup called "srcs" that has the right selection of the private files to be used for compilation. An effort has been made to avoid using glob() in our BUILD.bazel files. These file lists were made by using ls -1 and some regex to add in quotes. We might want to make a helper script to assist with that, if necessary. To specify which options we have, the settings in //bazel/common_config_settings/BUILD.bazel have been redesigned. They make use of a macro string_flag_with_values that removes the boilerplate. Patchset 36 shows what the file looks like w/o the macro. The top level BUILD.bazel file will still need to use some logic to handle defines, because local_defines is a list of strings, not a list of labels [4]. Suggested Review Order: - WORKSPACE.bazel to see the new dependencies on the emsdk toolchain and bazel_skylib - bazel/common_config_settings/* to see the few settings defined (we have more to define, see BUILD.gn and //gn/skia.gni for ideas) - BUILD.bazel to see the "skia-core" cc_library rule. See also "gms" and "tests" - modules/canvaskit/BUILD.bazel to see the use of the emscripten "wasm_cc_binary" rule, which depends on the "skia-core", "gms", and "tests" rule. Note that it only builds some of the gms as a proof of concept. - The other BUILD.bazel files. Some of these are not platform or feature dependent (e.g. pathops). Others are (e.g. gpu). - All other files. [1] https://docs.bazel.build/versions/4.2.1/skylark/config.html#user-defined-build-settings [2] https://github.com/emscripten-core/emsdk/pull/920 [3] In this CL, that's just the webgl one. [4] https://docs.bazel.build/versions/main/be/c-cpp.html#cc_library.local_defines Change-Id: Ieecf9c106d5e3a6ae97d13d66be06b4b3c207089 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/458637 Reviewed-by: Ben Wagner <bungeman@google.com> Reviewed-by: Leandro Lovisolo <lovisolo@google.com> Owners-Override: Kevin Lubick <kjlubick@google.com> | 4 years ago | |
Make uploading to Gerrit the default for Skia BUG=skia:5612 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4621 # Does not get tested with CQ. NOTRY=true Change-Id: I8d3fbfc6e557948cff7722f0b42ea09dc9be68e1 Reviewed-on: https://skia-review.googlesource.com/4621 Commit-Queue: Ravi Mistry <rmistry@google.com> Reviewed-by: Eric Boren <borenet@google.com> | 9 years ago | |
Update go/skia.org/infra in go.mod/go.sum To pick up canary commit msg change in buildbot repo Updated with: $ go get go.skia.org/infra@553519b41e710a5372406d571d9d25e09bcca47e $ go mod download $ make -C infra/bots train Bug: skia:12630 Change-Id: Iba6dc47dd014d690b54b017a2f9d4d597ecf0d97 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/469857 Reviewed-by: Eric Boren <borenet@google.com> Commit-Queue: Ravi Mistry <rmistry@google.com> | 4 years ago | |
Update go/skia.org/infra in go.mod/go.sum To pick up canary commit msg change in buildbot repo Updated with: $ go get go.skia.org/infra@553519b41e710a5372406d571d9d25e09bcca47e $ go mod download $ make -C infra/bots train Bug: skia:12630 Change-Id: Iba6dc47dd014d690b54b017a2f9d4d597ecf0d97 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/469857 Reviewed-by: Eric Boren <borenet@google.com> Commit-Queue: Ravi Mistry <rmistry@google.com> | 4 years ago | |
Move ToolUtils::make_big_path() to bench/ The ToolUtils file is getting a bit bloated, IMO. I noticed this when working on Bazel includes. Including non-header files is a small nuisance in Bazel, so it is probably better to just make it its own compilation unit. Change-Id: I06ca3808a37ebef6478f5afa3f14086429899590 Bug: skia:12541 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/459197 Reviewed-by: Ben Wagner <bungeman@google.com> | 4 years ago | |
Test SkCQ Bug: skia:12242 Change-Id: Ia023bddf4fd52a879dac4d3f6dbd5034f0f2237e Reviewed-on: https://skia-review.googlesource.com/c/skia/+/432476 Reviewed-by: Ravi Mistry <rmistry@google.com> Commit-Queue: Ravi Mistry <rmistry@google.com> | 5 years ago |
Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.
See full details, and build instructions, at https://skia.org.