Re: MPEG in GGI?

2000-04-21 Thread Rodolphe Ortalo
On Tue, 18 Apr 2000, Stefan Seefeld wrote: Well, from a practical point of view, how would I manage multiple input queues ? Given a list of visuals (as you seem to suggest) acting as window, I'd be forced into one thread per visual if I want to listen for events. I had such a problem with

Re: MPEG in GGI?

2000-04-19 Thread teunis
On 19 Apr 2000, Marcus Sundberg wrote: teunis [EMAIL PROTECTED] writes: [clip] Okay. Can someone -please- fold the event sources in fb/... out into GII? Seriously! or something? Huh? The input sources for the fbdev target are in LibGII. No - they're initialized in fb's target.

Re: MPEG in GGI?

2000-04-19 Thread Andrew Apted
Stefan Seefeld writes: Ok, let's assume that windows listen themselfs for events. Then there are cases where you want to draw into some 'output only' medium, a Pixmap in X. Since Pixmaps and Windows in X are the same for the purpose of output (drawing), they are generalized to

Re: MPEG in GGI?

2000-04-19 Thread Rubén
On 2000/Apr/19, Andrew Apted wrote: Like SDL's "surfaces" ? I.e. non-visible places to draw stuff, maybe blitting them to the visible screen/window at some stage, right ? LibGGI has nothing like that yet (I hope it will someday). The closest it comes is either using a large virtual area

Re: MPEG in GGI?

2000-04-19 Thread Andreas Beck
Huh? The input sources for the fbdev target are in LibGII. No - they're initialized in fb's target. Initialized yes ... but you can as well simply use LibGII only if you want to get events without disturbing output. It's pretty much a matter of opening the stuff LibGGI would open for you

Re: MPEG in GGI?

2000-04-18 Thread Stefan Seefeld
Andrew Apted wrote: Personally, the idea of getting input "independently" of the output doesn't feel right. The traditional "window" is a good abstraction, it is a place to draw stuff for the user, and a place to receive the feedback from the user. But you don't listen to a window for

Re: MPEG in GGI?

2000-04-18 Thread Andreas Beck
I have argued in the past for a more formal separation of LibGII from LibGGI. This would decouple the event queues from ggi_visual(s). Actually they are separated. LibGII provides all event functionality. All that LibGGI does is automatically locate and load the approriate "default"

Re: MPEG in GGI?

2000-04-18 Thread Stefan Seefeld
Andreas Beck wrote: On a different note: the Berlin project will present itself on LinuxTag in Stuttgart this year, both, with a booth as well as in a talk. Does anyone from GGI intend to show up in Stuttgart ? May be we could meet and discuss various aspects of the above... When

Re: MPEG in GGI?

2000-04-18 Thread jont
According to me email software Stefan Seefeld wrote: | Andrew Apted wrote: | Personally, the idea of getting input "independently" of the output | doesn't feel right. The traditional "window" is a good abstraction, | it is a place to draw stuff for the user, and a place to receive the |

Re: MPEG in GGI?

2000-04-18 Thread Stefan Seefeld
[EMAIL PROTECTED] wrote: | But you don't listen to a window for events. You listen to the server | connection ('XDisplay') for events which *refer* to windows. A window - | as it is seen by the application - is completely unaware of events. The ability to listen to the display as a whole

Re: MPEG in GGI?

2000-04-18 Thread jont
Once upon a time I wrote: | But you don't listen to a window for events. You listen to the server | connection ('XDisplay') for events which *refer* to windows. A window - | as it is seen by the application - is completely unaware of events. The ability to listen to the display as a whole

Re: MPEG in GGI?

2000-04-18 Thread Jan Kneschke
On Mon, Apr 17, 2000 at 11:39:35AM -0400, Stefan Seefeld wrote: On a different note: the Berlin project will present itself on LinuxTag in Stuttgart this year, both, with a booth as well as in a talk. Does anyone from GGI intend to show up in Stuttgart ? May be we could meet and discuss

Re: MPEG in GGI?

2000-04-18 Thread Marcus Sundberg
teunis [EMAIL PROTECTED] writes: On Tue, 18 Apr 2000, Andreas Beck wrote: I have argued in the past for a more formal separation of LibGII from LibGGI. This would decouple the event queues from ggi_visual(s). Actually they are separated. LibGII provides all event functionality.

Re: MPEG in GGI?

2000-04-18 Thread Andreas Beck
The LinuxTag is from 29.06 to 02.07. in Stuttgart. Looks good. It's on a WE, so it might be well possible. CU, ANdy -- = Andreas Beck| Email : [EMAIL PROTECTED] =

Re: MPEG in GGI?

2000-04-17 Thread Andreas Beck
smpeg runs on top of SDL, which runs on top of GGI, shouldn't be very difficult to make a wrapper that makes user think that is running directly on top of GGI. That's not quite the point. I think one should try to separate the displaying part from the decompression part. I would e.g.

Re: MPEG in GGI?

2000-04-17 Thread teunis
On Sun, 16 Apr 2000, Andreas Beck wrote: I've downloaded libsmpeg, and after seeing the API, I have seen two things that I dislike: * it needs SDL * it is in C++ Is somebody porting the code of this library to a pure C version based only on GGI maybe into an extension or

Re: MPEG in GGI?

2000-04-17 Thread Stefan Seefeld
Speaking about video and animation, may I come back to a suggestion I had a couple of weeks back ? I proposed to separate the 'Visual' structure into a 'Drawable' and a part concerned about event handling. The argument is quite in line with Andreas' request to refactor functionality in

Re: MPEG in GGI?

2000-04-17 Thread teunis
On Mon, 17 Apr 2000, Stefan Seefeld wrote: Speaking about video and animation, may I come back to a suggestion I had a couple of weeks back ? I proposed to separate the 'Visual' structure into a 'Drawable' and a part concerned about event handling. The argument is quite in line with

Re: MPEG in GGI?

2000-04-17 Thread Stefan Seefeld
teunis wrote: The original reason I suspect for the event handling and drawing to be merged was X, where this is necessary. No. Even in X you can allocate an 'XPixmap' which is a 'XDrawable' without any attached event queue. In X you need one 'XDisplay' representing the connection and all

Re: MPEG in GGI?

2000-04-17 Thread Marcus Sundberg
Andreas Beck [EMAIL PROTECTED] writes: But there is a problem with C++, how can you make an extension that uses C++ ? I have no idea. AFAIK if you try to resolve a function name compiled with C++ from libdl, it doesn't run... Maybe one has to manually demangle the function

Re: MPEG in GGI?

2000-04-17 Thread Christoph Egger
On Mon, 17 Apr 2000, Stefan Seefeld wrote: teunis wrote: The original reason I suspect for the event handling and drawing to be merged was X, where this is necessary. No. Even in X you can allocate an 'XPixmap' which is a 'XDrawable' without any attached event queue. In X you need

Re: MPEG in GGI?

2000-04-17 Thread Christian Reiniger
Andreas Beck wrote: Maybe could be done with 'extern "C" {' ? Probably, if the callable functions don't use C++-Features, that should work. *In* these functions you can use C++ features to you heart's content, as long as the function's signature looks C-ish (i.e. you don't pass objects etc).

Re: MPEG in GGI?

2000-04-17 Thread Marcus Sundberg
Stefan Seefeld [EMAIL PROTECTED] writes: Speaking about video and animation, may I come back to a suggestion I had a couple of weeks back ? I proposed to separate the 'Visual' structure into a 'Drawable' and a part concerned about event handling. The argument is quite in line with

Re: MPEG in GGI?

2000-04-17 Thread teunis
On 18 Apr 2000, Marcus Sundberg wrote: Stefan Seefeld [EMAIL PROTECTED] writes: Speaking about video and animation, may I come back to a suggestion I had a couple of weeks back ? I proposed to separate the 'Visual' structure into a 'Drawable' and a part concerned about event

Re: MPEG in GGI?

2000-04-17 Thread Jon M. Taylor
On Mon, 17 Apr 2000, Stefan Seefeld wrote: Speaking about video and animation, may I come back to a suggestion I had a couple of weeks back ? I proposed to separate the 'Visual' structure into a 'Drawable' and a part concerned about event handling. In LibXMI, there is the concept

MPEG in GGI?

2000-04-16 Thread Rubén
I've downloaded libsmpeg, and after seeing the API, I have seen two things that I dislike: * it needs SDL * it is in C++ Is somebody porting the code of this library to a pure C version based only on GGI maybe into an extension or something? -- __ )_) \/ / /

Re: MPEG in GGI?

2000-04-16 Thread Andreas Beck
I've downloaded libsmpeg, and after seeing the API, I have seen two things that I dislike: * it needs SDL * it is in C++ Is somebody porting the code of this library to a pure C version based only on GGI maybe into an extension or something? I think there are many people