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

[fix] SDL2: resolve rotation issues #665

Merged
merged 1 commit into from May 5, 2018
Merged

Conversation

Frenzie
Copy link
Member

@Frenzie Frenzie commented May 5, 2018

Embarrassingly, I recently introduced two (!) regressions in rotation handling.

  1. The new blitbuffer created when resizing didn't take rotation into account. Cf. [feat] SDL2: resize framebuffer implementation #614
  2. The feature to emulate E Ink refresh didn't properly distinguish between BB rectangles and "physical" SDL rectangles. Cf. [feat] SDL2: update parts of window like a real device #626

Reported by @poire-z in koreader/koreader#3812 (comment)

Embarrassingly, I recently introduced two (!) regressions in rotation handling.

1. The new blitbuffer created when resizing didn't take rotation into account. Cf. koreader#614
2. The feature to emulate E Ink refresh didn't properly distinguish between BB rectangles and "physical" SDL rectangles. Cf. koreader#626

Reported by @poire-z in koreader/koreader#3812 (comment)
@Frenzie Frenzie added the bug label May 5, 2018
@Frenzie
Copy link
Member Author

Frenzie commented May 5, 2018

@poire-z Any comments before I merge?

@poire-z
Copy link
Contributor

poire-z commented May 5, 2018

Code-wise, I'm too far from being familiar or remembering that part to say a word.
But it solves the problem I reported, thanks :)

@Frenzie Frenzie merged commit bf83695 into koreader:master May 5, 2018
@Frenzie Frenzie deleted the sdl-rotation branch May 5, 2018 16:00
@Frenzie
Copy link
Member Author

Frenzie commented May 5, 2018

It just occurred to me that the first issue technically isn't a regression at all. The window never resized before, after all. ;-)

Frenzie added a commit to Frenzie/koreader that referenced this pull request May 5, 2018
Includes:

* [feat] Add dropbear as an SSH server koreader/koreader-base#640
* [fix] SDL2: resolve rotation issues koreader/koreader-base#665
* [fix, build] Makefile target should be dropbearmulti, not dropbear koreader/koreader-base#666
* bump crengine for: Fix a few CSS selector issues koreader/koreader-base#668
Frenzie added a commit to Frenzie/koreader that referenced this pull request May 5, 2018
Includes:

* [feat] Add dropbear as an SSH server koreader/koreader-base#640
* [fix] SDL2: resolve rotation issues koreader/koreader-base#665
* [fix, build] Makefile target should be dropbearmulti, not dropbear koreader/koreader-base#666
Frenzie added a commit to koreader/koreader that referenced this pull request May 5, 2018
Includes:

* [feat] Add dropbear as an SSH server koreader/koreader-base#640
* [fix] SDL2: resolve rotation issues koreader/koreader-base#665
* [fix, build] Makefile target should be dropbearmulti, not dropbear koreader/koreader-base#666
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants