Re: [pygame] Pygame for SDL 2, and how it may look.

2017-04-17 Thread B W
Hi, Leonard, If you're talking HW textures (which require a hardware display context), one can have multiple renderers; and it can be beneficial to do so. The renderer determines blend mode and other aspects. It could be more manageable and preferable to have a renderer for every occasion, so to

Re: [pygame] Pygame for SDL 2, and how it may look.

2017-04-17 Thread Ian Mallett
On Mon, Apr 17, 2017 at 4:28 PM, Lenard Lindstrom wrote: > I agree that a window and its renderer or a window and its display surface > belong together as a single object. And I am looking at doing that now. It > is just I am now running into the limitations of Python and

Re: [pygame] Pygame for SDL 2, and how it may look.

2017-04-17 Thread Lenard Lindstrom
Hi again, On 17-04-17 07:59 AM, Ian Mallett wrote: On Mon, Apr 17, 2017 at 12:01 AM, Lenard Lindstrom > wrote: ​Is it possible to combine the renderer with the window? I don't see why the renderer needs to be pulled out of the

Re: [pygame] Pygame for SDL 2, and how it may look.

2017-04-17 Thread Ian Mallett
On Mon, Apr 17, 2017 at 12:01 AM, Lenard Lindstrom wrote: > ​Is it possible to combine the renderer with the window? I don't see why >> the renderer needs to be pulled out of the pygame.draw module, and indeed, >> this could be confusing for existing code. >> >> I don't quite

Re: [pygame] https://pygame.org/

2017-04-17 Thread René Dudfield
Thanks Diliup!

Re: [pygame] Pygame for SDL 2, and how it may look.

2017-04-17 Thread Lenard Lindstrom
Hi Ian, Thanks for replying. On 17-04-16 01:43 AM, Ian Mallett wrote: On Thu, Apr 13, 2017 at 3:25 PM, Lenard Lindstrom > wrote: """Render an image to a window This is adapted from the SDL 2 example at