[Mesa-dev] Fwd: Re: [directfb-dev] First results of Mesa/DRM based DirectFB on i915 (GLES2.0 acceleration)
Denis Oliver Kropp
dok at directfb.org
Sat Mar 12 23:02:49 PST 2011
Hi,
thanks to all of you who contributed to Mesa/DRM/KMS.
Following are some benchmark results of the new DirectFB on Mesa port.
The code is checked into git.directfb.org now.
I also think I know how to map the buffers now (see my previous mails),
using intel specific ioctl (as in libkms bo_map) with the handle returned by
eglExportDRMImageMESA.
-------- Original Message --------
Subject: Re: [directfb-dev] First results of Mesa/DRM based DirectFB on i915 (GLES2.0 acceleration)
Date: Sun, 13 Mar 2011 07:19:54 +0100
From: Denis Oliver Kropp <dok at directfb.org>
To: directfb-dev at directfb.org
On 13/03/11 06:22, Denis Oliver Kropp wrote:
> Hi,
>
> here are the first results of Andi's and mine Mesa/DRM system module
> with GLES2.0 based accelerated driver, tested on i915 (Atom NM10 board).
>
Update: added texture support
~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.5.0 |~~~~~~~~~~~~~~~~~~~~~~~~~~
(c) 2001-2010 The world wide DirectFB Open Source Community
(c) 2000-2004 Convergence (integrated media) GmbH
----------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2011-03-13 05:17)
libEGL warning: pci id for 4: 8086:a001, driver i915
Mesa warning: drm_i915_getparam: -22
(*) DirectFB/Mesa: EGL_VERSION = 1.4 (DRI2)
(*) DirectFB/Mesa: EGL_EXTENSIONS = EGL_MESA_drm_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_renderbuffer_image EGL_KHR_surfaceless_gles1
EGL_KHR_surfaceless_gles2 EGL_KHR_surfaceless_opengl
Mesa warning: couldn't open libtxc_dxtn.so, software DXTn compression/decompression unavailable
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: GLES2 Acceleration - Mesa DRI Intel(R) IGD GEM 20100330 DEVELOPMENT 0.1 (Mark J Hood / Denis Oliver Kropp)
(*) DirectFB/Mesa: Got 2 connectors, 2 encoders
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(*) Direct/Interface: Loaded 'PNG' implementation of 'IDirectFBImageProvider'.
(*) Direct/Interface: Loaded 'FT2' implementation of 'IDirectFBFont'.
(*) Direct/Interface: Using 'GIF' implementation of 'IDirectFBImageProvider'.
Benchmarking 256x256 on 1600x1164 ARGB (32bit)...
Anti-aliased Text 3.029 secs (* 47.540 KChars/sec) [100.3%]
Anti-aliased Text (blend) 3.007 secs (* 47.888 KChars/sec) [100.0%]
Fill Rectangle 6.468 secs (* 494.458 MPixel/sec) [ 36.5%]
Fill Rectangle (blend) 7.545 secs (* 373.498 MPixel/sec) [ 29.9%]
Fill Rectangles [10] 7.408 secs (* 495.412 MPixel/sec) [ 27.5%]
Fill Rectangles [10] (blend) 8.722 secs (* 375.693 MPixel/sec) [ 22.5%]
Fill Triangles 5.778 secs (* 500.764 MPixel/sec) [ 52.6%]
Fill Triangles (blend) 7.273 secs (* 382.961 MPixel/sec) [ 41.5%]
Draw Rectangle 3.004 secs (* 31.691 KRects/sec) [ 99.6%]
Draw Rectangle (blend) 3.006 secs (* 31.969 KRects/sec) [100.0%]
Draw Lines [10] 3.018 secs (* 54.671 KLines/sec) [100.6%]
Draw Lines [10] (blend) 3.019 secs (* 54.653 KLines/sec) [100.3%]
Fill Spans 3.068 secs (* 12.816 MPixel/sec) [100.6%]
Fill Spans (blend) 3.066 secs (* 12.825 MPixel/sec) [100.0%]
Fill Trapezoids [10] 8.732 secs ( 495.347 MPixel/sec) [ 34.9%]
Blit 7.504 secs (* 376.412 MPixel/sec) [ 29.6%]
Blit 180 7.558 secs (* 373.723 MPixel/sec) [ 30.4%]
Blit colorkeyed 19.484 secs (* 104.270 MPixel/sec) [ 8.9%]
Blit with colorizing 7.514 secs (* 375.039 MPixel/sec) [ 33.1%]
Blit from 32bit (blend) 9.010 secs (* 282.219 MPixel/sec) [ 22.5%]
Blit from 32bit (blend) with colorizing 8.982 secs (* 283.099 MPixel/sec) [ 24.4%]
Blit SrcOver (premultiplied source) 9.029 secs (* 281.625 MPixel/sec) [ 23.1%]
Blit SrcOver (premultiply source) 9.012 secs (* 282.156 MPixel/sec) [ 23.7%]
Stretch Blit 9.302 secs (* 464.131 MPixel/sec) [ 12.9%]
Stretch Blit colorkeyed 29.960 secs (* 105.715 MPixel/sec) [ 3.2%]
Also, via drmMode APIs the output of df_dok is visible on screen, now :)
There are still a few glitches, but we'll checkin all this today though !
--
Best regards,
Denis Oliver Kropp
.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/ |
"------------------------------------------"
_______________________________________________
directfb-dev mailing list
directfb-dev at directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
More information about the mesa-dev
mailing list