Skip to content

drm: reduce duplicated code in render creation#247

Merged
vaxerski merged 1 commit into
hyprwm:mainfrom
gulafaran:primary
Feb 19, 2026
Merged

drm: reduce duplicated code in render creation#247
vaxerski merged 1 commit into
hyprwm:mainfrom
gulafaran:primary

Conversation

@gulafaran

Copy link
Copy Markdown
Contributor

initMgpu already does build gl formats so remove the temp creation of allocator and renderer in onReady() that only built glformats, also if guard the creation of renderers and allocators to make it less likely to recreate one that is already existing.

initMgpu already does build gl formats so remove the temp creation of
allocator and renderer in onReady() that only built glformats,
also if guard the creation of renderers and allocators to make it less
likely to recreate one that is already existing.
@gulafaran gulafaran marked this pull request as draft February 16, 2026 09:17
@gulafaran gulafaran marked this pull request as ready for review February 18, 2026 16:12
@vaxerski vaxerski merged commit ed26bdb into hyprwm:main Feb 19, 2026
1 check passed
Moerliy added a commit to Moerliy/aquamarine that referenced this pull request Apr 4, 2026
vaxerski added a commit that referenced this pull request Apr 4, 2026
@umbrageodotus

Copy link
Copy Markdown
Contributor

Any idea why this breaks apple?

@gulafaran

Copy link
Copy Markdown
Contributor Author

Any idea why this breaks apple?

no clue dont have an apple device and all the time it breaks its just been blind attempts with people testing what works or not. and honestly the asahi drivers are simply broken by design. i mean why follow the 3 main gpu drivers/vendors (or well more we have plenty of mesa drivers, even software ones) when we can completly just go out of line and make rendernodes not easily associable with the displaynode.

@vaxerski

vaxerski commented Apr 5, 2026

Copy link
Copy Markdown
Member

idk apparently the asahi devs said that it's a hardware limitation on basically anything but amd/intel/nvidia

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.

3 participants