libcg / gLib2D

A simple, fast, light-weight 2D graphics library for PSP.
GNU Lesser General Public License v3.0
46 stars 12 forks source link

Add a way to create a blittable surface out of a rgba buffer #1

Closed LemonBoy closed 13 years ago

LemonBoy commented 13 years ago

As title says the ability to create blittable surfaces from rgb(a) buffers would make the library very useful for emulators for example.

libcg commented 13 years ago

Yeah, it's already planned. I need to get a way to move texture from/to vram, but it would be really slow in certain cases. Maybe a single target texture (480*272) placed permanently in vram would be sufficient ?

LemonBoy commented 13 years ago

Do textures have to be forcefully in vram ?

libcg commented 13 years ago

I heard that, yes.