I'm programming a 2D game with Python and Pygame and now I want to use my internal graphics memory to load images to.
I have an Intel HD graphics card (2GB VRAM) and a Nvidia GeForce (4GB VRAM).
I want to use one of them to load images from the hard drive to it (to use the images from there).
I thought it might be a good idea as I don't (almost) need the VRAM otherwise.
Can you tell me if and how it is possible? I do not need GPU-Acceleration.
You have to create your window with the FULLSCREEN, DOUBLEBUF and HWSURFACE flags.
Then you can create and use a hardware surface by creating it with the HWSURFACE flag.
You'll also have to use pygame.display.flip() instead of pygame.display.update().
But even pygame itself discourages using hardware surfaces, since they have a bunch of disadvantages, like
- no mouse cursor
- only working in fullscreen (at least that's what pygame's documentation says)
- you can't easily manipulate the surfaces
- they may not work on all platforms 
(and I never got transparency to work with them).
And it's not even clear if you really get a notable performance boot.
Maybe they'll work better in a future pygame release when pygame switches to SDL 2 and uses SDL_TEXTURE instead of SDL_HWSURFACE, who knows....
Use VRAM (graphics card memory) in pygame for images