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

M124 public #236

Merged
merged 50 commits into from
Apr 30, 2024
Merged

M124 public #236

merged 50 commits into from
Apr 30, 2024

Conversation

HinTak
Copy link
Collaborator

@HinTak HinTak commented Mar 28, 2024

@kyamagu nothing too exciting compared to m123 - the vulkan initialization changed - from instance = class() ; instance.initVulkan() to instance = class.MakeVk(). So tests need to change - I chose to mark the old test as skip and add a new test, rather than replace, since the calling is quite different.

This includes the fix to #235 so needs reviewing in the next few weeks when you get around to it (before m125). Includes the other pulls.

I think there was a earlier MakeGL that I missed. ( I just commented out the initGL). M124 release notes mention a similar MakeMetal() change too.

SkTypeface::MakeFromName is gone
SkTypeface::MakeFromFile also gone
SkTypeface::MakeFromData is gone

New lastResortMgr argument to SkTypeface::MakeDeserialize

Milestone 122
-------------
  * `SkFontMgr::RefDefault()` has been deleted. Clients should instantiate and manage their own
    `SkFontMgr`s and use them to explicitly create `SkTypeface`s

Fixes kyamagu#231

Adapted from
chromium/chromium@a6166e8
The FontConfigInterface version somehow segfaults.
See google/skia@64e67c3
"Remove deprecated getBlendMode" for how this emulation is inspired.

Fixes kyamagu#235

drop const in function prototype.
Not really a merge - just to make sure m124-public is marked as a proper
decendent of m122-public.
Conflicts:
	setup.py
…ndSemaphores::MakeVk/GetVkSemaphore`

The change was in 121 but emulation removed in 124.

Milestone 121
-------------
  * `GrBackendSemaphore::initVk` and `GrBackendSemaphore::vkSemaphore` have been replaced with
    `GrBackendSemaphores::MakeVk` and `GrBackendSemaphores::GetVkSemaphore`, defined in
    `include/gpu/ganesh/vk/GrVkBackendSemaphore.h`

See google/skia@e9206d2
Extract Vulkan methods out of GrBackendSemaphore
@HinTak
Copy link
Collaborator Author

HinTak commented Mar 29, 2024

I also don't quite get the reinterprete_cast before/after this 3ca9d20 - the vulkan pointer seems to be quite strange and not template'able.

@HinTak
Copy link
Collaborator Author

HinTak commented Mar 30, 2024

The vulkan header situation is a mess - within skia, there is one under third_party/externals/vulkan-headers/include, another under include/third_party/vulkan, and also, on Linux, under /usr/include.

I started using the third_party/externals one since we started using the freetype ones there too. But it seems that internally skia switches between the other two (system or private under include/third_party).

@HinTak HinTak requested a review from kyamagu April 27, 2024 01:51
@HinTak
Copy link
Collaborator Author

HinTak commented Apr 27, 2024

@kyamagu I added readme m121 to 124, and also updated m116, so those give a summary of changes. SampleOptions() and paint.getblendmode() are new work on issues, in addition to just updating the upstream skia. Ready for review for another public beta.

Upstream m125 was out about a week ago.

@HinTak
Copy link
Collaborator Author

HinTak commented Apr 29, 2024

@kyamagu ping on review? 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). M125 looks a bit troublesome.

@HinTak HinTak mentioned this pull request Apr 29, 2024
@HinTak HinTak mentioned this pull request Apr 29, 2024
pavpanchekha and others added 8 commits April 30, 2024 04:32
The macOS detector macro is called `__APPLE__`, not `__apple__`
Revert "m122 Breakage on Mac OS X: NoneType not subscribable"

This reverts commit 43a5e63.

Revert "Typo - missing one bracket"

This reverts commit a526e34.

Revert "m122 Breakage: On Mac OS X, these two tests no longer give valid paths"

This reverts commit ecba963.
The macOS detector macro is called `__APPLE__`, not `__apple__`
Revert "m122 Breakage on Mac OS X: NoneType not subscribable"

This reverts commit 43a5e63.

Revert "Typo - missing one bracket"

This reverts commit a526e34.

Revert "m122 Breakage: On Mac OS X, these two tests no longer give valid paths"

This reverts commit ecba963.
The macOS detector macro is called `__APPLE__`, not `__apple__`
Revert "m122 Breakage on Mac OS X: NoneType not subscribable"

This reverts commit 43a5e63.

Revert "Typo - missing one bracket"

This reverts commit a526e34.

Revert "m122 Breakage: On Mac OS X, these two tests no longer give valid paths"

This reverts commit ecba963.
Copy link
Owner

@kyamagu kyamagu left a comment

Choose a reason for hiding this comment

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

Thanks!

@HinTak HinTak merged commit 4faf14d into kyamagu:main Apr 30, 2024
14 checks passed
@HinTak HinTak deleted the m124-public branch April 30, 2024 14:58
@HinTak
Copy link
Collaborator Author

HinTak commented Apr 30, 2024

Latest:

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