Skip to content

Support method bindings that return GDExtensionPtr<T> - #2075

Merged
dsnopek merged 1 commit into
godotengine:masterfrom
BenLubar:text-server-gdextension-nocopy-get-glyphs
Oct 30, 2026
Merged

dsnopek merged 1 commit into
godotengine:masterfrom
BenLubar:text-server-gdextension-nocopy-get-glyphs

Conversation

@BenLubar

@BenLubar BenLubar commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

godot-cpp side of godotengine/godot#124561

Previous title:

Add no-copy versions of TextServer::shaped_text_{get_glyphs,sort_logical,get_ellipsis_glyphs} for gdextensions to use.

This should be safe to merge first as (thanks to @bruvzg's patch) it doesn't do anything related to TextServer directly anymore.

@dsnopek dsnopek added enhancement This is an enhancement on the current functionality waiting for Godot PRs that can't be merged until an engine PR is merged first labels Oct 17, 2026
@dsnopek dsnopek added this to the 10.x milestone Oct 17, 2026
…ical,get_ellipsis_glyphs}` for gdextensions to use.

Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
@BenLubar
BenLubar force-pushed the text-server-gdextension-nocopy-get-glyphs branch from 4916e59 to 238c810 Compare October 25, 2026 22:42
@BenLubar BenLubar changed the title Add no-copy versions of TextServer::shaped_text_{get_glyphs,sort_logical,get_ellipsis_glyphs} for gdextensions to use. Support method bindings that return GDExtensionPtr<T> Oct 26, 2026
@BenLubar
BenLubar marked this pull request as ready for review October 26, 2026 14:16
@BenLubar
BenLubar requested a review from a team as a code owner October 26, 2026 14:16
@BenLubar

Copy link
Copy Markdown
Contributor Author

@dsnopek I believe the new version of the patch no longer needs the "waiting for Godot" label

@dsnopek dsnopek removed the waiting for Godot PRs that can't be merged until an engine PR is merged first label Oct 30, 2026

@dsnopek dsnopek 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.

Thanks! I haven't tested, but these changes look good to me :-)

@dsnopek
dsnopek merged commit e103d34 into godotengine:master Oct 30, 2026
21 checks passed
@BenLubar
BenLubar deleted the text-server-gdextension-nocopy-get-glyphs branch October 30, 2026 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement This is an enhancement on the current functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants