paragui-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [paragui-users] design flaw in opengl branch -- suggestions?


From: Teunis Peters
Subject: Re: [paragui-users] design flaw in opengl branch -- suggestions?
Date: Tue, 22 Oct 2002 09:41:01 -0700 (PDT)

On Tue, 22 Oct 2002, Dinand Vanvelzen wrote:

> With all this image loading giong on i do hope there's the ability to assign
> one that's in memory cuz i went trough a lot of trouble making a VFS in
> order to make sure i didn't have to mess with path name's and could simply
> obtain a file in memory by vfs->Get_File( <filename> ).

If you want to -render- an image, as long as it has an SDL image
associated with it you can.  The image loader inside of the theme manager
has been (mostly) untouched....

note that the graphics manager's likely to make it's own copy of the image
for any number of different reasons....  mostly to do with special
formats required and support for things like storing picture in
videomemory in such a way that the renderer can understand it - ie OpenGL
is guaranteed (pretty much) to make it's own copy.

Also the application initialization is needed as PG_Application's physfs
support is also used for locating and initializing the graphics driver :)

G'day, eh? :)
        - Teunis





reply via email to

[Prev in Thread] Current Thread [Next in Thread]