On Wednesday 28 March 2001 15:43, Paul Davis wrote:
[...]
> Right, and just as a reminder for anyone who's forgotten the
> problem:
>
>   If the plugin uses a toolkit to creates its GUI, then the host
>   has to be using the same toolkit for there to be any hope of it
>   working.

I'm thinking along the lines of something that's more code and less 
XML; a separate GUI plugin that implements a DSP plugin's custom 
widgets on top of a simple canvas style API.

        High level rendering API:
                * Blit images (files specified in the XML)
                * ???

        Mid level:
                * Lines
                * Filled rectangles
                * Filled polygons
                * ???

        Low level:
                * Pixel access via RGBA buffer (auto conversion)

        "Direct" rendering:
                * Fast pixel access using screen format

(The last two methods are essentially the same; you avoid conversion 
by using the screen's pixel format directly. If you don't the API 
implementation will do conversion when refreshing the canvas.)


//David

.- M A I A -------------------------------------------------.
|      Multimedia Application Integration Architecture      |
| A Free/Open Source Plugin API for Professional Multimedia |
`----------------------> http://www.linuxaudiodev.com/maia -'
.- David Olofson -------------------------------------------.
| Audio Hacker - Open Source Advocate - Singer - Songwriter |
`--------------------------------------> [EMAIL PROTECTED] -'

Reply via email to