[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Graphics] OpenGL code integration
From: |
John W. Eaton |
Subject: |
Re: [Graphics] OpenGL code integration |
Date: |
Wed, 06 Feb 2008 05:48:48 -0500 |
On 4-Feb-2008, Michael Goffioul wrote:
| On Mon, Feb 4, 2008 at 8:45 AM, John W. Eaton <address@hidden> wrote:
| > | And what about the code location? Where do you think the rendering code
| > | belongs to?
| >
| > How many files will it require? If it is just a few, then I think
| > putting them in the src directory is fine.
|
| For the time being, 2: gl-render.h and gl-render.cc. All the rest is
| in graphics.h
| and graphics.cc. And should it be linked in octinterp, or put into a separate
| library?
I suppose they should only be loaded if they will be used, so they
probably belong in a .oct file. Or is it necessary to have
graphics.cc include gl-render.h? If so, how would a user be able to
extend the graphics system with their own graphics backend without
recompiling Octave?
jwe