[Lazarus] Fast drawing to canvas

Reimar Grabowski reimgrab at web.de
Fri Feb 10 19:58:59 CET 2012


On Fri, 10 Feb 2012 16:01:04 +0100
Felipe Monteiro de Carvalho <felipemonteiro.carvalho at gmail.com> wrote:

> Nope, it is not faster, at least not for 2D bitmap
> drawing, that seams to be a myth.
Sorry to tell you, but OpenGL is only fast if you know what you are doing (no offense). If you try to use it as you would use your standard software graphics (TPaintBox and friends for example) it will be slower most of the time.

> And to make things worse OpenGL ES 2 removed
> all the good functions to make 2D projections and changed everything.
2D projection functions have never been part of OpenGL AFAIK, mind telling me which functions you talk about?
OpenGL ES 2.0 did not change everything. It just removed the fixed function pipeline (as OpenGL 3 did) in favor of the programmable one, which is a Good Thing(tm).
And nobody forces you to use ES 2 just use 1.x if you like it more.

> But remember the major catch: Android does not have OpenGL, it has
> OpenGL ES, which from what I saw was immensely different from normal
> OpenGL and way harder to use.
It is not, the two are very, very similar.

> This salad of incompatible OpenGL libraries is really a terrible thing.
This is what it may look like for a beginner. The problem is just that you don't learn OpenGL in a day or a week. It is a very powerful graphics library but as with most powerful stuff it is not as easy to use as many people wish.

Your frustration is understandable, I just want to put you "rant" into perspective.

greetings
R.

P.S.: Btw, thanks for your work on Android, so I did not had to do it.




More information about the Lazarus mailing list