|
TODO:
- Fill in missing functions.
- Work correctly when screen size changes.
- only update the texture when blitting.
- An optimization might be to not update the texture until the
screen has been flipped, or updated.
- This could work quite nicely with RenderUpdates :)
|
Methods
|
|
__init__
blit
fill
get_clip
get_flags
get_rect
get_size
set_clip
|
|
|
__init__
|
__init__ ( self, screen )
|
|
|
blit
|
blit ( self, *args )
meant as a replacement for screen.blit
You really should consider making your background a seperate Sprite,
and Group.
useage:
gl_screen_blit
|
|
|
fill
|
fill ( self, *args )
|
|
|
get_clip
|
get_clip ( self, *args )
|
|
|
get_flags
|
get_flags ( self, *args )
|
|
|
get_rect
|
get_rect ( self, *args )
|
|
|
get_size
|
get_size ( self, *args )
|
|
|
set_clip
|
set_clip ( self, *args )
|
|