[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Re: Accessing opengl surface as a numpy array



Nicolas wrote:

I understood what you explain to me about GPU and CPU sides, but I do
not have the choice about the input type and it is not possible to
move my processes onto the GPU side.

Have you considered just moving the downsampling step onto
the GPU? You could do it by loading the image as a texture
and then rendering a small quad from it using GL_NEAREST
sampling.

--
Greg