On 03/14/2011 03:05 PM, Denis Oliver Kropp wrote:
Hi,
from the commit message a few minutes ago:
The module also creates an X11 window, but instead of using XPutShmImage
or similar it creates a VdpPresentationQueueTarget and VdpPresentationQueue.
There's also a surface pool creating VDPAU Output Surfaces for use by layers
via VdpPresentationQueueDisplay and later for accelerated operations using
the surface rendering functions of VDPAU.
This is the initial working version, successfully tested with df_dok and
df_andi.
The code still needs to be cleaned up a lot, multiple layers need to be
composited using VdpMixer functions and special video layer support for playback
will be added, so that VdpOutputSurfaces from Xine or GStreamer can be pushed
into DirectFB without copying their pixels, compositing them with the other
surfaces from the graphics layers, keeping the video timestamps as master clock.
Now with initial acceleration support:
Supports blitting with the following flags:
- DSBLIT_BLEND_ALPHACHANNEL
- DSBLIT_BLEND_COLORALPHA
- DSBLIT_COLORIZE
- DSBLIT_SRC_PREMULTCOLOR
Rectangle filling is work in progress (probably need to create a static
'white' surface).
~~~~~~~~~~~~~~~~~~~~~~~~~~| 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-14 14:21) [ DEBUG ][
TRACE ]
(*) Direct/Memcpy: Using Generic 64bit memcpy()
(*) DirectFB/X11/VDPAU: API version 1 - 'NVIDIA VDPAU Driver Shared Library
270.29 Wed Feb 23 16:38:50 PST 2011'
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: VDPAU Output Surface Rendering 0.0 (Denis Oliver
Kropp)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(*) X11/Display: Not using XShm.
(*) 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 ARGB (32bit)...
Blit 3.003 secs (* 486.664
MPixel/sec) [100.0%]
Blit with colorizing 3.001 secs (* 486.988
MPixel/sec) [100.0%]
Blit from 32bit (blend) 3.002 secs (* 486.826
MPixel/sec) [100.0%]
Blit from 32bit (blend) with colorizing 3.002 secs (* 486.826
MPixel/sec) [100.0%]
Blit SrcOver (premultiplied source) 3.009 secs (* 496.583
MPixel/sec) [100.3%]
--
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