kitfox
11-10-2010, 02:09 PM
I've come across a lot of talk about using OpenGL for 2D acceleration (Java 2D engine, ToonBoom Animate), but can't find anything that explains the particulars.
How exactly do you accelerate drawing filled 2D bezier curves using OpenGL? Does this mean that programs are tessellating paths into triangle strips for each drawing operation? Or is the CPU doing the rasterization and just using OpenGL to composite 2D images?
I can't think of any way to use OpenGL in a regular 2D pipeline that doesn't involve swapping huge amounts of data to and from video memory every frame (which I would presume would negate the GPU advantage). Anyone know how this is supposed to work?
How exactly do you accelerate drawing filled 2D bezier curves using OpenGL? Does this mean that programs are tessellating paths into triangle strips for each drawing operation? Or is the CPU doing the rasterization and just using OpenGL to composite 2D images?
I can't think of any way to use OpenGL in a regular 2D pipeline that doesn't involve swapping huge amounts of data to and from video memory every frame (which I would presume would negate the GPU advantage). Anyone know how this is supposed to work?