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

[Core][Window] Window content cache for inactive windows #273

Open
gdt050579 opened this issue Jan 21, 2022 · 0 comments
Open

[Core][Window] Window content cache for inactive windows #273

gdt050579 opened this issue Jan 21, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@gdt050579
Copy link
Owner

Add e method to cache the content of a window (that is inactive) the first time it is being drawn in a Canvas style object. / CharacterBuffer.
Once the content is cached, request to OnPaint method will not redraw the Window and its childent, but only the cache.
This will significally speed up the performance (especially if multiple window are being opened).
The cache must be invalidated on certain situations like:

  • the window become active
  • the window is moved / resized
  • one control from the window has OnFrame callback activate and might receive notification to redraw itself
@gdt050579 gdt050579 added the enhancement New feature or request label Jan 21, 2022
@gdt050579 gdt050579 self-assigned this Jan 21, 2022
@gheorghitamutu gheorghitamutu changed the title Window content cache for inactive windows [Core][Window] Window content cache for inactive windows Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: To do
Development

No branches or pull requests

1 participant