-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feat] SDL2: update parts of window like a real device (#626)
This commit uses a viewport to draw only a subset of the blitbuffer onto the rectangle to be updated in the SDL texture. Without this, there are cases where a full screen (or at least bigger) refresh is required that will not be obvious without first testing on a real device. See koreader/koreader#3804 Also fixes `EMULATE_READER_FLASH`, which was accidentally broken in 981bd40
- Loading branch information
Showing
3 changed files
with
29 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters