Skip to content

Conversation

@HinTak
Copy link
Collaborator

@HinTak HinTak commented Nov 17, 2025

@kyamagu nothing too exciting, a few new overloads and additional default arguments. This is going to fail CI due to #350 , I think. Still need fo look into that.

I intend to roll python 3.14 into this also, if I can fix #350 .

HinTak added 30 commits June 25, 2025 17:58
…, and removed.

It was deprecated in m139, and gone in m140.

Milestone 139
-------------
  * `SkFontMgr_New_FontConfig` with 1 parameter has been deprecated and will be removed in a future
    release. Clients will need to call the other version providing an SkFontScanner (e.g.
    `SkFontScanner_Make_FreeType()`)

Conflicts:
	src/skia/Font.cpp
…favor of the `SkRecorder*` version.

Milestone 140
-------------
  * `SkImage::isValid(GrRecordingContext*)` has been deprecated in favor of the `SkRecorder*` version.
    To migrate do something like `image->isValid(ctx->asRecorder())`.

    `SkImage::makeSubset(GrDirectContext*, ...)` has been deprecated in favor of the `SkRecorder*`
    version. To migrate, do something like `image->makeSubset(ctx->asRecorder, ..., {})`

    `SkImage::makeColorSpace(GrDirectContext*, ...)` has been deprecated in favor of the `SkRecorder*`
    version. To migrate, do something like `image->makeColorSpace(ctx->asRecorder, ..., {})`

    `SkImage::makeColorTypeAndColorSpace(GrDirectContext*, ...)` has been deprecated in favor of the
    `SkRecorder*` version. To migrate, do something like
    `image->makeColorTypeAndColorSpace(ctx->asRecorder, ..., {})`

    In the case you are working with CPU-backed images, `skcpu::Recorder::TODO()` should work until
    a `skcpu::Context` and `skcpu::Recorder` can be used properly.
…atrix.inverse()

m139:
    bool setPolyToPoly(const SkPoint src[], const SkPoint dst[], int count);
m140:
    bool setPolyToPoly(SkSpan<const SkPoint> src, SkSpan<const SkPoint> dst);

Before m140, only (deprecated):
    [[nodiscard]] bool invert(SkMatrix* inverse) const;
Added in m140:
    std::optional<SkMatrix> invert() const;
Old:
    bool getSegment(SkScalar startD, SkScalar stopD, SkPath* dst, bool startWithMoveTo);
Newly added:
    bool getSegment(SkScalar startD, SkScalar stopD, SkPathBuilder* dst, bool startWithMoveTo);
Old:
    bool transform(const SkMatrix& matrix, SkRRect* dst) const;
Newly added:
    std::optional<SkRRect> transform(const SkMatrix& matrix) const;
Old:
    bool getBoundaryPath(SkPath* path) const;
Newly added:
    SkPath getBoundaryPath() const;
was:
    bool applyToPath(SkPath* dst, const SkPath& src) const;
m140:
    bool applyToPath(SkPathBuilder* dst, const SkPath& src) const;
This reverts commit cd8af0c.

Should not be needed in m140.
HinTak added 24 commits August 11, 2025 21:25
…ck to 2.x

Cannot reproduce segfault locally. To investigate.

Revert "pybind11 3.0.1 is out; remove limitation not to use 3.0.0"

This reverts commit ac7b85a.
There is a new one:
    std::optional<SkPoint> getLastPt() const;

The old one:
    // DEPRECATED
    bool getLastPt(SkPoint* lastPt) const;
… and SkPathBuilder::detach

commit 8d12d8dc89e647ab1b7e51cd3538e75d1a97be5c
Author: Michael Reed <mike@reedtribe.org>
Date:   Tue Sep 16 15:15:53 2025 -0400

    Use pathbuilder in path::transform + perspective

    - closing the gap on making all paths immutable
    - also allows us to transform as we detach
...
    Change-Id: I4b6c78909452fffecd3a570399e52a9cccc79419
    Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1056516
    Commit-Queue: Mike Reed <mike@reedtribe.org>
    Reviewed-by: Florin Malita <fmalita@google.com>
    Reviewed-by: Robert Phillips <robertphillips@google.com>
commit cbb0388767d2b8a5a5c1f5484a68fb0ff201561b
Author: Brian Salomon <briansalomon@gmail.com>
Date:   Wed Sep 10 12:34:02 2025 -0400

    Move Ganesh-only tool code into tools/ganesh

    Graphite-only tooling is separated already into tools/graphite.

    Many tools can be built with Ganesh but not Graphite (dm, viewer, ...)

    The intermixing of Ganesh and common gpu support code is a significant
    contributor to making Graphite but not Ganesh builds difficult.

    The files left in the shared code still use macros to selectively
    compile Graphite/Ganesh code. Cleaning that up is left as future work.

    Change-Id: I33d2fe29368ef3f7ba42b54f62a8d1e0063f5ae3
    Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1051317
    Reviewed-by: Thomas Smith <thomsmit@google.com>
    Commit-Queue: Brian Salomon <briansalomon@gmail.com>
    Reviewed-by: Robert Phillips <robertphillips@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Segfault on pytest exit in CI against pybind11 3.0.1

1 participant