On 20/03/11 01:57, Denis Oliver Kropp wrote: > On 20/03/11 00:11, Denis Oliver Kropp wrote: >> Somehow, the coordinates are upside down again :) >> > > Issues are fixed, but performance seems bad for blended blitting: > > ~~~~~~~~~~~~~~~~~~~~~~~~~~| 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-19 22:53) > (*) Direct/Memcpy: Using libc memcpy() > (*) DirectFB/PVR2D: Display 1280x720, format 1, stride 2560, refresh 0 > (*) DirectFB/Graphics: GLES2 Acceleration - PowerVR SGX 530 0.1 (Mark J Hood > / Denis Oliver Kropp) > (*) DirectFB/Core/WM: Default 0.3 (directfb.org) > (*) Direct/Interface: Loaded 'PNG' implementation of 'IDirectFBImageProvider'. > (*) Direct/Interface: Loaded 'FT2' implementation of 'IDirectFBFont'. > (*) Direct/Interface: Loaded 'GIF' implementation of 'IDirectFBImageProvider'. > > Benchmarking 256x256 on 1280x697 RGB16 (16bit)... > > Anti-aliased Text 3.107 secs (* 48.664 > KChars/sec) [ 36.7%] > Anti-aliased Text (blend) 3.090 secs (* 50.097 > KChars/sec) [ 36.8%] > Fill Rectangle 3.114 secs (* 216.769 > MPixel/sec) [ 13.5%] > Fill Rectangle (blend) 3.119 secs (* 63.035 > MPixel/sec) [ 3.8%] > Fill Rectangles [10] 3.453 secs (* 246.732 > MPixel/sec) [ 4.0%] > Fill Rectangles [10] (blend) 3.661 secs (* 71.604 > MPixel/sec) [ 1.3%] > Fill Triangles 3.090 secs (* 164.370 > MPixel/sec) [ 19.7%] > Fill Triangles (blend) 3.155 secs (* 56.084 > MPixel/sec) [ 6.6%] > Draw Rectangle 3.060 secs (* 4.346 > KRects/sec) [ 16.9%] > Draw Rectangle (blend) 3.061 secs (* 3.985 > KRects/sec) [ 15.3%] > Draw Lines [10] 3.122 secs (* 24.343 > KLines/sec) [ 21.4%] > Draw Lines [10] (blend) 3.089 secs (* 22.013 > KLines/sec) [ 22.0%] > Fill Spans 3.416 secs (* 19.185 > MPixel/sec) [ 34.6%] > Fill Spans (blend) 3.337 secs (* 15.711 > MPixel/sec) [ 35.4%] > Fill Trapezoids [10] 3.440 secs ( 228.613 > MPixel/sec) [ 4.9%] > Blit 3.284 secs (* 233.486 > MPixel/sec) [ 7.9%] > Blit 180 3.228 secs (* 231.446 > MPixel/sec) [ 8.0%] > Blit colorkeyed 3.022 secs ( 121.443 > MPixel/sec) [ 99.6%] > Blit destination colorkeyed 3.817 secs ( 6.867 > MPixel/sec) [ 97.6%] > Blit with format conversion 3.357 secs (* 228.409 > MPixel/sec) [ 7.7%] > Blit with colorizing 3.156 secs (* 199.349 > MPixel/sec) [ 14.6%] > Blit from 32bit (blend) 11.650 secs (* 11.813 > MPixel/sec) [ 0.6%] > Blit from 32bit (blend) with colorizing 4.471 secs (* 11.726 > MPixel/sec) [ 0.8%] > Blit SrcOver (premultiplied source) 11.681 secs (* 11.782 > MPixel/sec) [ 0.5%] > Blit SrcOver (premultiply source) 16.759 secs (* 8.212 > MPixel/sec) [ 0.4%] > Stretch Blit 3.223 secs (* 274.083 > MPixel/sec) [ 4.0%] > Stretch Blit colorkeyed 3.004 secs ( 119.284 > MPixel/sec) [ 99.0%] > >
Here are the details in the commit log: New commits: http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=9d3df5de77d5a97558631484af4007678e19b5dd commit 9d3df5de77d5a97558631484af4007678e19b5dd Author: Denis Oliver Kropp <d...@directfb.org> Date: Sun Mar 20 02:06:53 2011 +0100 GLES2: Enable GLES 2.0 acceleration with PVR2D/EGL PVR2D System - Initialize EGL with Native Pixmap Surface for Framebuffer - Create a Native Pixmap backed EGLImage and Texture Object in PVR2D Surface Pool GLES2 Driver - Add GLES2_CFLAGS/LIBS set to MESA/PVR2D_CFLAGS/LIBS, can only build for either Mesa or PVR2D at the moment - Use FBO in driver only with Mesa - Add precision specifiers in shader code (only for PVR2D) - Turn coordinates upside/down for PVR2D - Color keying disabled for PVR2D at the moment (does not build) At the moment eglMakeCurrent is only called once during PVR2D system init, only rendering to the frontbuffer. TODO: Check possibility of creating Renderbuffer Object from PVR2D EGLImage just as in Mesa. -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev