| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[rust png] Move Rust PNG implementation to non-"experimental" dir. This CL moves the remaining experimental/rust_png/... files into non-experimental directories. Bug: chromium:444061405 Change-Id: I6a266f6d1823c08bef147c6334c3d735367dec6a Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1055756 Commit-Queue: Łukasz Anforowicz <lukasza@google.com> Auto-Submit: Łukasz Anforowicz <lukasza@google.com> Reviewed-by: Kaylee Lubick <kjlubick@google.com> Commit-Queue: Kaylee Lubick <kjlubick@google.com> Owners-Override: Kaylee Lubick <kjlubick@google.com> | 9 个月前 | |
Make SkImage and SkImageGenerator return const SkData from refEncoded This behavior was implied (a shared pointer to SkData should always be treated as read-only) and is now made explicit. This also updates several places in our decoders where we promise not to modify the SkData that is passed in (since we will likely be caching it) and ask that the client not modify it either. This is partially guarded by SK_DISABLE_LEGACY_NONCONST_ENCODED_IMAGE_DATA so we can update Chromium and potentially other places. Change-Id: Id174dff4afa148745ad32dd7d5cd848931b77f9d Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1084056 Reviewed-by: Florin Malita <fmalita@google.com> | 7 个月前 | |
Some build fixes Stragglers from https://skia-review.googlesource.com/c/skia/+/1084056 Change-Id: I9f911d83ed834426eeba042f0842e10aebbc04e5 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1111276 Reviewed-by: Kaylee Lubick <kjlubick@google.com> Commit-Queue: Florin Malita <fmalita@google.com> | 7 个月前 | |
Make SkImage and SkImageGenerator return const SkData from refEncoded This behavior was implied (a shared pointer to SkData should always be treated as read-only) and is now made explicit. This also updates several places in our decoders where we promise not to modify the SkData that is passed in (since we will likely be caching it) and ask that the client not modify it either. This is partially guarded by SK_DISABLE_LEGACY_NONCONST_ENCODED_IMAGE_DATA so we can update Chromium and potentially other places. Change-Id: Id174dff4afa148745ad32dd7d5cd848931b77f9d Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1084056 Reviewed-by: Florin Malita <fmalita@google.com> | 7 个月前 | |
SkCodec: Remove source format setter and getter This functionality isn't used (and the related member will be moved into the transform structure). Bug: skia:456675139 Change-Id: I378acfc8fbc90f34ec03a2d9aa8a96f1b3ae9463 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1112940 Reviewed-by: Kaylee Lubick <kjlubick@google.com> Commit-Queue: Kaylee Lubick <kjlubick@google.com> Reviewed-by: Christopher Cameron <ccameron@google.com> Owners-Override: Kaylee Lubick <kjlubick@google.com> | 7 个月前 | |
Expose more info in SkCodec::FrameInfo Bug: b/160984428 Add more fields to SkCodec::FrameInfo, which describes the properties of an individual frame in an animated image. This allows a client that wishes to seek to determine frame dependencies so that they can decode an arbitrary frame, which in turn will allow SkCodec to remove SkCodec::FrameInfo::fRequiredFrame. Currently, SkCodec seeks through the stream to determine frame dependencies, but this is unnecessary work (and storage) for a client that does not want to seek. These fields also support the proposed APIs in go/animated-ndk. Move SkCodecAnimation::Blend from SkCodecAnimationPriv (and delete that file) into SkCodecAnimation.h. Rename its values to be more clear. Merge common code for populating SkCodec::FrameInfo. Add a test for a GIF with offsets outside the range of the image. Note that libwebp rejects such an image. Update libgifcodec. Change-Id: Ie27e0531e7d62eaae153eccb3105bf2121b5aac4 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339857 Commit-Queue: Leon Scroggins <scroggo@google.com> Reviewed-by: Derek Sollenberger <djsollen@google.com> Reviewed-by: Nigel Tao <nigeltao@google.com> | 5 年前 | |
Remove SkEncodedImageFormat::kUnknown Client CL: http://cl/543739773 Change-Id: I3956951c7b65b9e58d89fce9731603c8582cf549 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/717079 Commit-Queue: Kevin Lubick <kjlubick@google.com> Reviewed-by: Herb Derby <herb@google.com> | 2 年前 | |
Add predefined encoded origin inverse function Updates GMs and tests to use the inverse. Adds a unit test to ensure it matches the actual computed inverse from SkEncodedOriginToMatrix. Updates Ganesh/Graphite's YUV image shaders to use the direct inverse instead of recomputing the inverse from the original origin matrix. Change-Id: I803f77be44e0985ddfb7d7df004d861dad0fc206 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1091176 Reviewed-by: Florin Malita <fmalita@google.com> Commit-Queue: Michael Ludwig <michaelludwig@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com> | 8 个月前 | |
Make SkImage and SkImageGenerator return const SkData from refEncoded This behavior was implied (a shared pointer to SkData should always be treated as read-only) and is now made explicit. This also updates several places in our decoders where we promise not to modify the SkData that is passed in (since we will likely be caching it) and ask that the client not modify it either. This is partially guarded by SK_DISABLE_LEGACY_NONCONST_ENCODED_IMAGE_DATA so we can update Chromium and potentially other places. Change-Id: Id174dff4afa148745ad32dd7d5cd848931b77f9d Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1084056 Reviewed-by: Florin Malita <fmalita@google.com> | 7 个月前 | |
Make SkImage and SkImageGenerator return const SkData from refEncoded This behavior was implied (a shared pointer to SkData should always be treated as read-only) and is now made explicit. This also updates several places in our decoders where we promise not to modify the SkData that is passed in (since we will likely be caching it) and ask that the client not modify it either. This is partially guarded by SK_DISABLE_LEGACY_NONCONST_ENCODED_IMAGE_DATA so we can update Chromium and potentially other places. Change-Id: Id174dff4afa148745ad32dd7d5cd848931b77f9d Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1084056 Reviewed-by: Florin Malita <fmalita@google.com> | 7 个月前 | |
Const Decode() workaround Add a temporary non-const Decode() for certain codecs, to facilitate client migration. Change-Id: I9e81b9cfca3be6ea1fe915e31e6961e6fe465c2e Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1111316 Commit-Queue: Florin Malita <fmalita@google.com> Reviewed-by: Kaylee Lubick <kjlubick@google.com> | 7 个月前 | |
Some build fixes Stragglers from https://skia-review.googlesource.com/c/skia/+/1084056 Change-Id: I9f911d83ed834426eeba042f0842e10aebbc04e5 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1111276 Reviewed-by: Kaylee Lubick <kjlubick@google.com> Commit-Queue: Florin Malita <fmalita@google.com> | 7 个月前 | |
Expose SkPixmapUtils SkPixmapUtils::Orient is a useful utility when dealing with exif data. See also https://github.com/flutter/engine/pull/41368 Bug: skia:13983 Change-Id: I69aeaa45f2b1fc44c2e9bad6afbb5d6361fa84ef Reviewed-on: https://skia-review.googlesource.com/c/skia/+/676116 Reviewed-by: Brian Osman <brianosman@google.com> Reviewed-by: Leon Scroggins <scroggo@google.com> Commit-Queue: Kevin Lubick <kjlubick@google.com> | 3 年前 | |
Move some codec-related headers out of core - SkEncodedImageFormat.h -> include/codec - SkPngChunkReader.h -> include/codec - SkICC.h -> include/encode - SkICC.cpp -> src/encode - SkICCPriv.h -> src/encode Bug: skia:13983 Change-Id: I92d09820587804dc7e3abd3a88a7679e0b56b809 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/660381 Reviewed-by: Ben Wagner <bungeman@google.com> Owners-Override: Kevin Lubick <kjlubick@google.com> | 3 年前 | |
Const Decode() workaround Add a temporary non-const Decode() for certain codecs, to facilitate client migration. Change-Id: I9e81b9cfca3be6ea1fe915e31e6961e6fe465c2e Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1111316 Commit-Queue: Florin Malita <fmalita@google.com> Reviewed-by: Kaylee Lubick <kjlubick@google.com> | 7 个月前 | |
[rust png] Move Rust PNG public headers to non-"experimental" dirs (1/3) This CL is part of a sequence of 3 CLs that moves Rust PNG public headers ( SkPngRustDecoder.h and SkPngRustEncoder.h) from //experimental/rust_png to just //include: * CL1 (Skia): Move the headers + provide "forwarding" headers at the old location (this CL) * CL2 (Chromium): Use the headers from the new location (https://crrev.com/c/6941322) * CL3 (Skia): Delete the headers at the old location (to-be-done-later) Bug: chromium:444061405 Change-Id: I04262d5e2dd501e5fd0536b4a8b5c07e9a6fd0fd Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1053229 Owners-Override: Kaylee Lubick <kjlubick@google.com> Reviewed-by: Kaylee Lubick <kjlubick@google.com> Commit-Queue: Łukasz Anforowicz <lukasza@google.com> | 9 个月前 | |
Make SkImage and SkImageGenerator return const SkData from refEncoded This behavior was implied (a shared pointer to SkData should always be treated as read-only) and is now made explicit. This also updates several places in our decoders where we promise not to modify the SkData that is passed in (since we will likely be caching it) and ask that the client not modify it either. This is partially guarded by SK_DISABLE_LEGACY_NONCONST_ENCODED_IMAGE_DATA so we can update Chromium and potentially other places. Change-Id: Id174dff4afa148745ad32dd7d5cd848931b77f9d Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1084056 Reviewed-by: Florin Malita <fmalita@google.com> | 7 个月前 | |
Make SkImage and SkImageGenerator return const SkData from refEncoded This behavior was implied (a shared pointer to SkData should always be treated as read-only) and is now made explicit. This also updates several places in our decoders where we promise not to modify the SkData that is passed in (since we will likely be caching it) and ask that the client not modify it either. This is partially guarded by SK_DISABLE_LEGACY_NONCONST_ENCODED_IMAGE_DATA so we can update Chromium and potentially other places. Change-Id: Id174dff4afa148745ad32dd7d5cd848931b77f9d Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1084056 Reviewed-by: Florin Malita <fmalita@google.com> | 7 个月前 | |
Const Decode() workaround Add a temporary non-const Decode() for certain codecs, to facilitate client migration. Change-Id: I9e81b9cfca3be6ea1fe915e31e6961e6fe465c2e Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1111316 Commit-Queue: Florin Malita <fmalita@google.com> Reviewed-by: Kaylee Lubick <kjlubick@google.com> | 7 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 9 个月前 | ||
| 7 个月前 | ||
| 7 个月前 | ||
| 7 个月前 | ||
| 7 个月前 | ||
| 5 年前 | ||
| 2 年前 | ||
| 8 个月前 | ||
| 7 个月前 | ||
| 7 个月前 | ||
| 7 个月前 | ||
| 7 个月前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 7 个月前 | ||
| 9 个月前 | ||
| 7 个月前 | ||
| 7 个月前 | ||
| 7 个月前 |