yoku said:Does pollux GPU supports 2D acceleration's like Copy, Solid fill & alpha blending ?
Is there any library providing 2D API's ?
yoku said:Does pollux GPU supports 2D acceleration's like Copy, Solid fill & alpha blending ?
Is there any library providing 2D API's ?
benjymous said:yoku said:Does pollux GPU supports 2D acceleration's like Copy, Solid fill & alpha blending ?
Is there any library providing 2D API's ?
You can do 2D with OpenGLES easily enough
From what I remember devs moaning about in the past on the GP32 and GP2X was the fact that they had to write tile renderers from scratch and that always slowed things down.Exophase said:yoku said:Does pollux GPU supports 2D acceleration's like Copy, Solid fill & alpha blending ?
Is there any library providing 2D API's ?
Textured quad rendering, flat quad rendering, and alpha blended quad rendering. The GPU lets you bypass transform and even triangle setup stages and access the rasterizer pretty raw. I think there's a fast fill of some sort too.
One interesting thing about the Pollux GPU, that I'm sure won't be exposed in OpenGL ES, is that textures can be tilemapped instead of bitmapped. The same way 2D consoles usually are. So you technically don't have to write a tile renderer to have a tiled 2D game, not that it's so difficult or slow to do one.
DaveC said:From what I remember devs moaning about in the past on the GP32 and GP2X was the fact that they had to write tile renderers from scratch and that always slowed things down.
DaveC said:Do you think it is possible for someone to write some kind of engine to use this hardware for emus like SNES etc (not really useful in Temper as it runs full speed now underclocked)? If so it would seem that this would make a pretty big improvement in speed.
Thanks for the info. I thought there would be a catchExophase said:DaveC said:From what I remember devs moaning about in the past on the GP32 and GP2X was the fact that they had to write tile renderers from scratch and that always slowed things down.
This is different, the difference between using a 3D accelerator to render tiles from a tilemap in software and having it render from the map for you is minimal performance-wise.
DaveC said:Do you think it is possible for someone to write some kind of engine to use this hardware for emus like SNES etc (not really useful in Temper as it runs full speed now underclocked)? If so it would seem that this would make a pretty big improvement in speed.
Not if you want any kind of accuracy. You couldn't get any mid-frame effects working, which games use very regularly. You'd also have to track modifications to the tiles to you can flush the texture cache.
I doubt anyone's even going to use this feature because they'd have to access the 3D chip directly, although it can possibly be hacked on top of OGL.
DaveC said:Well maybe the 3D and tiling hardware can be at least used for a fancy menu or something