forked from hex007/freej2me
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Libretro: Use a byte image type for the canvas image
This allows us to get the databuffer directly in byte[] form, which means that manipulations can be done directly to it while skipping costly calls to BufferedImage.getRGB(). In general, doesn't make much of a difference, although jBenchmark reports 8% higher performance on average (9061 vs. 8376, i5-8250U) At least it's closer to the standalone jar now, which scores an average of about 9826 points in the same test platform. There's always going to be an overhead due to how the libretro interface works though.
- Loading branch information
1 parent
35bec88
commit 0bb967e
Showing
1 changed file
with
24 additions
and
15 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