[Graphics] OpenGL code integration
John W. Eaton
jwe at bevo.che.wisc.edu
Wed Feb 6 04:48:48 CST 2008
On 4-Feb-2008, Michael Goffioul wrote:
| On Mon, Feb 4, 2008 at 8:45 AM, John W. Eaton <jwe at bevo.che.wisc.edu> 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
More information about the Octave-maintainers
mailing list