Index: [thread] [date] [subject] [author]
  From: Alexander Larsson <alla@lysator.liu.se>
  To  : ggi-develop@eskimo.com
  Date: Tue, 14 Jul 1998 11:17:51 +0200

Re: Frames...

> What's missing at the moment is a "tag" in the directbuffer structure
> that says (for example) "I am a FRAME BUFFER, frame #2".  This is needed
> differentiate the normal frame-buffers from the other buffers.  Maybe we
> could add the following field to the ggi_directbuffer struct :
> 
>     int frame_tag;
> 
> which would be 1..N for the framebuffers (frame #1 .. frame #N), and 0
> for other buffers. 
 I don't like this, the first one is supposed to be 0. This will just be 
confusing.
> Another possibility is adding :
> 
>     ggi_buffer_tag tag_type;
>     int tag_id;
> 
> along with the following definition :
> 
>     typedef enum ggi_buffer_tag {
>         LIBGGI_TAG_FRAMEBUFFER,     /* tag_id is frame #0 .. N-1 */
> 	LIBGGI_TAG_ZBUFFER,
> 	LIBGGI_TAG_CURSORBUFFER,
> 	...  
> 	LIBGGI_TAG_UNCOMMON         /* all others get this */
>     } ggi_buffer_tag;
> 
 Looks *much* better. Anyway I'm going away now for some time (a week maybe), 
but if frames are not done when i come back I'll give it a shot.

/ Alex

Index: [thread] [date] [subject] [author]