mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 10:37:38 -04:00
Clean up rocklib_img
optimize both size and speed fix invert for color screens Change-Id: I7edecae32dcb3daf5b3ed984a0e5b3d463269e60
This commit is contained in:
parent
e4b843335b
commit
c0682e0944
7 changed files with 520 additions and 609 deletions
|
@ -36,7 +36,7 @@ if not rb.lcd_framebuffer then rb.splash(rb.HZ, "No Support!") return nil end
|
|||
|
||||
local _blit ={} do
|
||||
|
||||
_blit.CUSTOM = 0xFF --user defined blit function func(dst_val, x, y, src_val, x, y)
|
||||
_blit.CUSTOM = nil --user defined blit function func(dst_val, x, y, src_val, x, y)
|
||||
_blit.BCOPY = 0x0 --copy (use :copy() instead it is slightly faster
|
||||
_blit.BOR = 0x1 --OR source and dest pixels
|
||||
_blit.BXOR = 0x2 --XOR source and dest pixels
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue