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

Define buffer slot dimensions to largest graphic for each windows #11

Merged
merged 2 commits into from
Nov 17, 2023

Conversation

cubicibo
Copy link
Owner

@cubicibo cubicibo commented Nov 17, 2023

  • During an epoch, analyze the shape of all graphics displayed in a window and take the maximum width and height to define the buffer slot.
  • Perform acquisitions whenever new graphics is displayed outside of the slot.

This MR has pro and cons:

  • Con: Graphics that display and undisplay synchronously within a very large windows will require an acquisition while before these could be done via a palette update.
  • Pros: The smaller object area reduces decoding time, fewer events may be dropped in situations with large windows or high framerates. Also, this enables moves in larger areas of the screen without dropouts.

@cubicibo cubicibo changed the title Define buffer slot dimensions to largest object Define buffer slot dimensions to largest graphic for each windows Nov 17, 2023
@cubicibo cubicibo merged commit 42124c2 into main Nov 17, 2023
@cubicibo cubicibo deleted the MR/boxmove2 branch November 17, 2023 23:44
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.

None yet

1 participant