nanogui: Antwort: [nanogui] Arrangement of memory in a PixMap


Previous by date: 24 Apr 2002 08:21:30 -0000 Arrangement of memory in a PixMap, Simon Wood
Next by date: 24 Apr 2002 08:21:30 -0000 Re: Arrangement of memory in a PixMap, Jordan Crouse
Previous in thread:
Next in thread:

Subject: Antwort: [nanogui] Arrangement of memory in a PixMap
From: "Heinz =?iso-8859-1?Q?H=E4berle?=" ####@####.####
Date: 24 Apr 2002 08:21:30 -0000
Message-Id: <OFFEB7AA0E.819BBD07-ONC1256BA5.002D1127@LocalDomain>

Wasn't there anything like a framebuffer as a winow in nano-x?


                                                                                                                          
                       Simon Wood                                                                                         
                       ####@####.####      An:     "Nanogui (E-mail)" ####@####.####                  
                                                    Kopie:                                                                
                       24.04.02 10:02               Thema:  [nanogui] Arrangement of memory in a PixMap                   
                                                                                                                          
                                                                                                                          



I'm in the process of porting a (GPL'ed) GameBoy emulator to nano-x, but
their system uses a framebuffer concept to write directly into buffer.

I thought the best way would be to generate a PixMap with
    image =  GrNewPixmap(x_width, x_height, image_addr);

and then passing the image_addr to their fb routines. At the end of each
'screen creation' I would then do a copy
    GrCopyArea(x_win, gc1, 0, 0, x_width, x_height, image, 0, 0, 0);


questions for the list:

1). what's the memory arrangement of a PixMap (i.e. 8 bits R,G,B,A)?

2). am I approaching this is totally the wrong way?

3). anyone else interested in helping out?

Simon Wood


---------------------------------------------------------------------
To unsubscribe, e-mail: ####@####.####
For additional commands, e-mail: ####@####.####







Previous by date: 24 Apr 2002 08:21:30 -0000 Arrangement of memory in a PixMap, Simon Wood
Next by date: 24 Apr 2002 08:21:30 -0000 Re: Arrangement of memory in a PixMap, Jordan Crouse
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.