Skip to content

[skia] Update to Skia m151 - #189

Merged
dacap merged 1 commit into
aseprite:betafrom
dacap:skia-m151
Jul 17, 2026
Merged

[skia] Update to Skia m151#189
dacap merged 1 commit into
aseprite:betafrom
dacap:skia-m151

Conversation

@dacap

@dacap dacap commented Jul 17, 2026

Copy link
Copy Markdown
Member

Update beta branch to Skia m151

@dacap dacap self-assigned this Jul 17, 2026

@aseprite-bot aseprite-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

Comment thread gfx/path_none.h
void offset(float dx, float dy) {}
void transform(const Matrix& matrix, Path* dst) {}
void transform(const Matrix& matrix) {}
Path snapshot(const Matrix& matrix) const { return {}; }

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: method 'snapshot' can be made static [readability-convert-member-functions-to-static]

Suggested change
Path snapshot(const Matrix& matrix) const { return {}; }
static Path snapshot(const Matrix& matrix) { return {}; }

Comment thread gfx/path_none.h
void offset(float dx, float dy) {}
void transform(const Matrix& matrix, Path* dst) {}
void transform(const Matrix& matrix) {}
Path snapshot(const Matrix& matrix) const { return {}; }

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: parameter 'matrix' is unused [misc-unused-parameters]

Suggested change
Path snapshot(const Matrix& matrix) const { return {}; }
Path snapshot(const Matrix& /*matrix*/) const { return {}; }

Comment thread gfx/path_skia.h
@@ -13,108 +13,142 @@
#include "gfx/rect.h"

#include "include/core/SkPath.h"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: 'include/core/SkPath.h' file not found [clang-diagnostic-error]

#include "include/core/SkPath.h"
         ^

Comment thread gfx/path_skia.h
}

void transform(const Matrix& matrix) { m_skPath.transform(matrix.skMatrix()); }
Path snapshot(const Matrix& matrix) const

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: method 'snapshot' can be made static [readability-convert-member-functions-to-static]

Suggested change
Path snapshot(const Matrix& matrix) const
static Path snapshot(const Matrix& matrix)

@dacap
dacap merged commit 187f586 into aseprite:beta Jul 17, 2026
12 checks passed
@dacap
dacap deleted the skia-m151 branch July 17, 2026 15:31
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.

2 participants