[Lazarus] Threads and Libraries (dll and so)
Reimar Grabowski
reimgrab at web.de
Wed Feb 5 12:05:41 CET 2014
On Tue, 04 Feb 2014 21:17:47 +0000
Mark Morgan Lloyd <markMLl.lazarus at telemetry.co.uk> wrote:
> > IMHO being implemented in the same driver is a hint that they use
> > similar mechanics.
>
> But they aren't implemented in the same driver: video (i.e. mpeg
> playback etc.) uses the standard X drivers while OpenGL uses kernel
> drivers accessed via the DRI interface.
Well, if you say so.
I was under the impression that VDPAU (which I was talking about) is implemented in the video card driver (see http://us.download.nvidia.com/XFree86/Linux-x86_64/331.38/README/vdpausupport.html). Btw it's in Mesa and the open source ATI/AMD driver, too.
The interoperability between VDPAU and OpenGL is implemented as OpenGL extension (http://www.opengl.org/registry/specs/NV/vdpau_interop.txt). I wonder how they achieve this if different drivers are in use.
> Fortunately, this sort of thing doesn't usually have a direct bearing on
> the sort of apps that Lazarus is usually used for. Let's try to keep it
> that way.
Too late. The pascal code to decode video via libav is already written (years ago and with Lazarus) and it uses OpenGL, too. Most likely it will use VDPAU in the future as well, so that decoding on the CPU is just a fallback if your video card and/or driver do not support VDPAU.
Sorry for my unusual apps not fitting in your "Lazarus apps category".
R.
More information about the Lazarus
mailing list