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.
[EXPERIMENTAL] PlatformGraphics: Faster copyArea and flushGraphics
Those are now using direct dataBuffer manipulation to write to the screen, skipping overheads from temporary images and drawImage calls where applicable. This also simplifies DirectGraphics' getPixels(byte) operation by not needing to create an int array with the canvas pixel data anymore.
- Loading branch information
1 parent
e2e44ef
commit 5e51cfa
Showing
1 changed file
with
35 additions
and
23 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