Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

M126 public #248

Merged
merged 36 commits into from
May 20, 2024
Merged

M126 public #248

merged 36 commits into from
May 20, 2024

Conversation

HinTak
Copy link
Collaborator

@HinTak HinTak commented May 20, 2024

There is no change other than moving skia forward. (Overloading SkCanvas::drawArc was included in the m125 pull since it is harmless).

HinTak and others added 30 commits April 29, 2024 19:38
--- skia-m124/include/core/SkStream.h	2024-03-26 00:09:01.000000000 +0000
+++ skia-m125/include/core/SkStream.h	2024-04-29 01:34:47.000000000 +0100
@@ -392,13 +392,9 @@
     */
     void setMemoryOwned(const void* data, size_t length);

-#if !defined(SK_REMOVE_LEGACY_STREAM_AS_DATA)
-    sk_sp<SkData> asData() const { return fData; }
-#endif
     sk_sp<SkData> getData() const override { return fData; }
     void setData(sk_sp<SkData> data);

-    void skipToAlign4();
     const void* getAtPos();

     size_t read(void* buffer, size_t size) override;
See:

google/skia@3844fc4
"Remove SkMemoryStream::skipToAlign4"

This has been replaced with SkRBuffer::skipToAlign4 and doesn't appear
to be used. It also violates the invariant that `fOffset` is always an
offset into `fData`.
The macOS detector macro is called `__APPLE__`, not `__apple__`
Fix fonts on macOS by using the right macro
Use python 3 for Windows and Linux, and requires c++17.
Skipping 1: GrBackendSurfaceMutableState (support removed in m118)

Fix previous mistakes in vulkan argument names

Fix Linux/Windows build
…mpressedBackendFormat

Between m87 and m116, the header for these two has moved from
    include/private/GrContext_Base.h
to
    include/private/gpu/ganesh/GrContext_Base.h
but otherwise more or less identical, so it should have just worked
(baring missing header at some point in the past).
@HinTak
Copy link
Collaborator Author

HinTak commented May 20, 2024

No user-visible change between m125 and m126
(SkCanvas::drawArc overloaded; Not adding SkArc class yet)

New to m125:

  • Metal-enabled on Mac OS, and added Metal APIs equivalents to Vulkan's.

Changes since m124:

  • Dropping Python 3.7 support

  • GrContext_Base.defaultBackendFormat and GrContext_Base.compressedBackendFormat
    re-enabled (disabled between m87 and m116)

  • Corrected two typos in Vulkan code

  • MemoryStream.asData and MemoryStream.skipToAlign4 now emulated
    (changed/removed upstream)

@kyamagu there is no user-visible change between m125 and m126, so I thought a 126 beta might as well go out, instead of a 125 beta.

@HinTak HinTak requested a review from kyamagu May 20, 2024 01:40
@HinTak
Copy link
Collaborator Author

HinTak commented May 20, 2024

This differs from #244 by only the additions of release notes and a comment. (Plus change in skia and versioning)

@kyamagu
Copy link
Owner

kyamagu commented May 20, 2024

Thanks, LGTM

@HinTak HinTak merged commit e0b030c into kyamagu:main May 20, 2024
13 checks passed
@HinTak HinTak deleted the m126-public branch May 20, 2024 13:54
@HinTak
Copy link
Collaborator Author

HinTak commented May 20, 2024

2091 passed, 98 skipped, 11 xfailed, 27 warnings

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.

None yet

3 participants