Skip to content

Roxie/cef accelerated#5597

Draft
roxanneskelly wants to merge 10 commits intodevelopfrom
roxie/CEF-accelerated
Draft

Roxie/cef accelerated#5597
roxanneskelly wants to merge 10 commits intodevelopfrom
roxie/CEF-accelerated

Conversation

@roxanneskelly
Copy link
Copy Markdown
Contributor

Enable accelerated painting from CEF/Dullahan. Dullahan will now hand the CEF media plugin a handle to the painted texture in the GPU, which can be shared with the viewer process. This avoids the previous case where we needed to copy the texture into system RAM and then put it back to VRAM after the bits were transferred to the viewer.

roxanneskelly and others added 4 commits March 31, 2026 23:25
The adapter_luid functionality is Windows-only, matching the existing
guards on the member declaration, initialization, and message passing.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
roxanneskelly and others added 6 commits April 1, 2026 01:18
Pass gGLManager.mHasNVDXInterop from the viewer through the plugin init
message so the CEF plugin can conditionally set shared_texture_enable.
When the extension is not available, Dullahan falls back to the standard
OnPaint software rendering path.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Let CEF texture size match the viewer window size instead of clamping
to 2048. The accelerated path clamps to the GPU max texture size
(GL_MAX_TEXTURE_SIZE) as a safety limit.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant