octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #53186] Without osmesa it is not possible to p


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #53186] Without osmesa it is not possible to print/getframe invisible figures
Date: Mon, 26 Feb 2018 20:58:05 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0

Follow-up Comment #12, bug #53186 (project octave):

I am still not sure what is happening:


octave:1> fh = figure("visible", "off")
fh =  2
octave:2> plot(randn(10))
octave:3> print("t1.png")
error: __osmesa_print__: support for offscreen rendering with OSMesa was
unavailable or disabled when Octave was built
error: called from
    __opengl_print__ at line 172 column 7
    print at line 520 column 14


__octave_config_info__ ("hg_id")
ans = d3a79cb734d2

This all seems in accord with 
scripts/plot/util/private/__opengl_print__.m



    if (strcmp (get (opts.figure, "visible"), "on"))
      ## Use toolkits "print_figure" method
      drawnow (gl2ps_device{n}, ['|' pipeline{n}]);
    else
      ## Use OpenGL offscreen rendering with OSMesa
      __osmesa_print__ (opts.figure, ['|' pipeline{n}], gl2ps_device{n});
    endif
  endfor



Dmitri.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53186>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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