forked from hex007/freej2me
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PlatformImage: Fix OOB access in MIRROR_ROT270, do subimage faster
The fun part of low-level optimizations, is that these kinds of bugs get a lot more common, since Java's internal type and format handling aren't here to save the day. Also, we can use a databuffer to create a new subImage, so it is probably a bit faster now as well.
- Loading branch information
1 parent
0f2f8c9
commit d2e2ffb
Showing
1 changed file
with
95 additions
and
98 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