From: Chris Sequeira Newsgroups: comp.os.msdos.djgpp Subject: How's the Allegro data?!?!?! Date: Mon, 16 Jun 1997 18:37:41 -0500 Organization: BlackHawk Software Lines: 16 Message-ID: <33A5CE45.1C15@flash.net> Reply-To: nav2 AT flash DOT net NNTP-Posting-Host: tc5-208.flash.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk How is the data stored in Allegro's BITMAP type? I know that it is accessed by bitmap->line[y][x], but I have a problem: I'm using the Plush 3D graphics library, which renders to a raw framebuffer (a chunk of memory). I want to draw using Allegro's graphics modes (SVGE, MODE-X, etc). At the moment, I have to take the data in the framebuffer and copy it to an Allegro bitmap which is, of course, surprisingly slow. Is there anyway, I can copy a pure chunk of data (in this case, the data in the framebuffer) directly to an Allegro bitmap, then blit the bitmap to the screen? -- From Chris Sequeira (nav2 AT flash DOT net) Lead Programmer: BlackHawk Software http://www.flash.net/~nav2/bhawk Web page design for only $30!