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

Optimize OnPaint #4

Open
Lecrapouille opened this issue Jan 18, 2022 · 0 comments
Open

Optimize OnPaint #4

Lecrapouille opened this issue Jan 18, 2022 · 0 comments

Comments

@Lecrapouille
Copy link
Contributor

On

void GDCef::RenderHandler::OnPaint(CefRefPtr<CefBrowser> browser, PaintElementType type,
                                   const RectList& dirtyRects, const void* buffer,
                                   int width, int height)

Converting buffer (CEF texture) to m_texture (Godot texture) implies multiple iteration on the whole texture before beeing stored.
Think how to optimize

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

No branches or pull requests

1 participant