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

M125 public #244

Merged
merged 29 commits into from
May 20, 2024
Merged

M125 public #244

merged 29 commits into from
May 20, 2024

Conversation

HinTak
Copy link
Collaborator

@HinTak HinTak commented Apr 29, 2024

M125 is out, small adjustments in skpath, changes in MemoryStream looks slightly complicated, and libunicode has split into _core and _icu and it seems we needs both; and it seems to require the internal copy of libicu (and doesn't work with my system-wide one).

The icu part looks to be a bit inconvenient (for my personal build, which uses a lot of more system libraries than the wheels). The tests don't run on my system for that reason (having problem loading the system libicu) but should work on CI.

--- 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`.
@HinTak
Copy link
Collaborator Author

HinTak commented Apr 30, 2024

This is the upstream commit google/skia@2cead39 which breaks system icu usage.

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 HinTak mentioned this pull request May 20, 2024
@HinTak HinTak merged commit d99bd1b into kyamagu:main May 20, 2024
13 checks passed
@HinTak HinTak deleted the m125-public branch May 20, 2024 13:55
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

2 participants