Source

py-sdl2 / sdl2 / test / sdl2ext_sprite_test.py

Author Commit Message Labels Comments Date
Marcus von Appen
- PyPy can't execute the RenderContext.fill() and RenderContext.copy() tests
Marcel Rodrigues
RenderContext.copy() should accept tuples as rects, like the other methods.
Marcel Rodrigues
Add test for RenderContext's copy() and fill().
Marcus von Appen
- added new sdl2.ext.FontManager class for simple font rendering support - added new sdl2.ext.SpriteFactory.from_text() method for creating text sprites
Comments 2
Marcus von Appen
- added SoftwareSprite.__repr__() unit test
Marcus von Appen
- fixed issue #8: allows SDL_TEXTUREACCESS_TARGET to be set by SpriteFactory.create_texture_sprite() by passing an access flag instead of the "static" boolean
Marcus von Appen
- fixed module namespace issues in sdl2.ext.pixelaccess - fixed unit tests after removing the size= default arguments from the sdl2.ext.SpriteFactory methods
Marcus von Appen
- enforce PyPy's GC to be run for certain test cases to avoid excessive memory usage, which could cause RPython to crash with a MemoryError
Marcus von Appen
- minor unit test improvements
Marcus von Appen
- minor unittest improvements - minor documentation improvements
Marcus von Appen
- fixed SDL_WindowGetData() and SDL_WindowSetData() wrappers - minor documentation improvements - minor pep8 improvements - fixed and improved several unittests
Marcus von Appen
- fixed several unittests on Win32 - fixed several unittests for Python 3.x - fixed DLL path handling for SDL_ttf and freetype loading on Win32
Marcus von Appen
- fixed sdl2.mouse.SDL_WarpMouseInWindow() wrapper - added sdl2.ext - advanced modules, classes and functions for applications - added examples