On Fri, Aug 13, 2010 at 4:51 PM, Brian Carper <briancar...@gmail.com> wrote:
> But there are some good OpenGL 2D game engines for Java, e.g.
> Slick[1].  There's also Penumbra[2] which nicely wraps LWJGL for
> Clojure.  I ask this mostly because I'm making my own 2D game and
> somewhat torn between Java2D and OpenGL.  Penumbra is pretty solid in
> my experience.

We don't use Penumbra. On Java, we use JOGL, and on
other targets we use pure OpenGL or OpenGL ES API
for both compatibility and performance reasons. We have to ensure
whatever OpenGL stuff we do, will work everywhere.

>
> What do you mean by "battery concerns"?

Laptops, Mobile devices and such. If you use OpenGL on a laptop,
it will use the GPU assuming it's hardware accelerated. GPU is a big
battery drain. On mobile devices such as iPhone and Android, it's
even more so. Using OpenGL unnecessarily causes battery drain
on your hardware.

Plus, if you use OpenGL, and your target is using those Intel Extreme Graphics,
where the only thing it's Extreme at, is Extremely slow. :) You end up gain
nothing but lose lots.

-- 
Omnem crede diem tibi diluxisse supremum.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to