46
General / Re: How to play video from image-sequences (fast) onto the screen?
« on: March 27, 2013, 01:46:41 am »Quote
You make changes in the CPU RAM, then upload (tex.update()) it to the GPU RAM. That's why it's a heavy operation. But it's also not possible to get access to the texture on the GPU, unless you use shaders.
Wouldn't it be more efficient though to unlock access to the video memory and just write whatever pixels changed then return access back to the GFX card, than writing it to CPU memory, and then transferring everything (including pixels that didn't change and alpha pixels) to the GFX?