Porting glmark2?

Rafał Mielniczuk rafal.mielniczuk2 at gmail.com
Fri Mar 29 15:37:03 PDT 2013


On 29.03.2013 17:49, darxus at chaosreigns.com wrote:
> glmark2 is an open source OpenGL ES 2 bencharmk.  Seems like a good fit for
> wayland.  It was recently ported to mir.  Seems like those changes might be
> a useful reference.  I think mostly this:
> http://bazaar.launchpad.net/~glmark2-dev/glmark2/trunk/revision/265
>
> Upstream repo:  https://code.launchpad.net/~glmark2-dev/glmark2/trunk
>
> Might possibly come in handy:
> https://blueprints.launchpad.net/ubuntu/+spec/client-1303-mir-glmark2
> ("configure glmark2 build with --with-flavor=mir-glesv2")
>
> 12:36PM < alf_> Darxus: it should be relatively straightforward to port
> to wayland, you will need to implement the NativeState interface for
> wayland (e.g. see NativeStateMir, NativeStateX11 etc)
>
> ^ The guy who ported it to mir (Alexandros Frantzis).  Seemed pretty
> helpful.
>
Hey,

I did some basic porting, but benchmark shows contant 60FPS.
It looks quite nice, though ;)

I put the code on github
https://github.com/rafalmiel/glmark2-wl

Rafal


More information about the wayland-devel mailing list